WordPress.org

Ready to get started?Download WordPress

Forums

Gridiculous
[resolved] How to remove the page title from each page (4 posts)

  1. Joshaw
    Member
    Posted 1 year ago #

    Hi,
    I'm putting together a website and would like to remove the page title from the pages on my site as I want different h1 tagged text on each page.

    I tried adding the css code below in to my stylesheet which removes the text but it still appears in the source code and I don't want to have too much h1 tagged text on the page as I've been told it can effect SEO.

    'hgroup
    {
    display:none;
    }'

    This is my site- http://premierscaffoldtowersliverpool.co.uk.gridhosted.co.uk

    Any advice would be greatly appreciated.

    Thanks

    Jo

  2. wp-21
    Member
    Posted 1 year ago #

    Hi,
    This is the class you can use to hide all the page titles:

    h1.post-title{display:none}

    Cheers..:)..

  3. Joshaw
    Member
    Posted 1 year ago #

    Thanks for your help =)
    I'd also like to remove the space above the banner image. I've tried adding

    .header-widget {
        float: right;
        margin: 30px 0 20px;
    }

    and making the margins 0 in my child theme but it's not worked.

    Thanks

  4. Joshaw
    Member
    Posted 1 year ago #

    Whoops, marked it as resolved by accident! I'll start a new thread...

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.