Sign in

Is there a way to add CSS to specific heading?

  • This topic has 2 replies, 2 voices, and was last updated 1 month, 1 week ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #10843
    Avatar photolazywriterabhi

    I am trying to create a post as a custom landing page. It will be the home page of my blog. But I want a different title/heading from what appears in the posts. Anything added to CSS code is changing the appearance sitewide. Is there a way to apply custom CSS to just this one post? Maybe I’ll hide the heading altogether. But how to do that for just this page?

    Avatar photoprivii

    I can’t find a specific CSS class for a post selected as home page either.

    My first thought is to create an override for your `frontpage-post.hbs` and then you can edit it however you like.

    Avatar photolazywriterabhi

    Thanks. I guess it’s time to get myself dirty with code. I haven’t tried to mess with the Publii files yet.

    Still, let me know if you come across an easier way. Will tinker in the meantime and see what I can do.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.