Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #482919

    In another theme I’ve used you can add
    .is_home
    before a child theme CSS statement and the command only works on the home page.
    e.g. .is_home .container {display:none;} turns off .container on the home page only.

    This doesn’t work with Enfold.

    Is there a way to target the home page (or any other specific page for that matter) to alter/amend a CSS class or ID on that page only?

    • This topic was modified 9 years, 4 months ago by zimbo.
    #482983

    Hi zimbo!

    What element you need to target? we can help you code a is_home class for the homepage into your header.php with some php.
    Do let us know and we will help you with the rest.

    Cheers!
    Basilis

    #483346

    Hi,

    What I wanted to do is turn off the default H1 page title on the home page, and maybe others e.g. <h1 class=”.main-title .entry-title”>

    However… this is my first time using Enfold and I’m still finding my way around the setup – but I have now found how to turn on/off the page title, so I’m OK.

    I’ve searched for some documentation but can’t find much – is there a doc that lists out all the theme’s functions/options/features? For instance, I can’t work out how to use the Custom Fields on Edit Page.

    #483701

    Hi,

    You can use the .home class to only target the front page, or use the page id which you can find in the body tag if you inspect the page in question.

    Best regards,
    Rikard

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