Viewing 4 replies - 1 through 4 (of 4 total)
  • Try adding:

    #post-47 h1 {
    position:absolute;
    top:-5000px;
    left:-5000px;
    }

    to the bottom of your stylesheet. Bear in mind that this will hide all H1 headers on that particular post, so you’ll only be able to use H2 headers if you want them to be visible.

    If that’s not an option, you’ll need to either customise your single.php template to add a class to the post title using if(is_single('47') so that you can then target the title specifically using CSS.

    Thread Starter omegaiori

    (@omegaiori)

    perfect, it’s working but i need this to work on every page. what should i add to the css to make it work on every single page?

    thank you a lot you have been soooo helpful!

    Thread Starter omegaiori

    (@omegaiori)

    the h1 should disappear on every PAGE but not in the articles (which are in the news sections)

    i realised it because i just tried this

    h1 {
    position:absolute;
    top:-5000px;
    left:-5000px;
    }

    but in the news section all the titles disappeared

    Thread Starter omegaiori

    (@omegaiori)

    oh no ok i solved it. i just kept

    h1 {
    position:absolute;
    top:-5000px;
    left:-5000px;
    }

    and on the articles i just write the title again in h2 inside

    thank you so much!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Heading 1 and 2’ is closed to new replies.