• Resolved rnmartinez

    (@rnmartinez)


    Hi,

    How can I hide the title on just the homepage usign css on the 2022 theme?

    I can use this

    .page-id-315 h1.alignwide.wp-block-post-title {
    display:none;
    }
    
    hr.wp-block-separator.alignwide.is-style-wide {
    	display:none;
    }

    to hide the title and HR on a specific page, but I still get a small white section at the top.

    Any ideas? Thanks everyone ??

    • This topic was modified 2 years, 8 months ago by rnmartinez.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    You could have a look at creating a Front Page template which is valid only for the homepage (provided you have a static homepage set up and not defaulting to the posts page).

    Any changes you make to this template will not affect other pages as it is for the homepage only.

    Hope that helps.

    Regards,
    Rupak

    Thread Starter rnmartinez

    (@rnmartinez)

    Thanks for the suggestion!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘hide title & section on homepage only’ is closed to new replies.