page title display

  • Txiqui7

    #4211

    I´ve wrotte this code to not display the post tittle in a specific page

    .page-id-312 .post-title,.post-title a {display: none;}

    But now it´s not show at blog page as well.

    What´s wrong?

    Prasanna SP

    #27607

    Try this,

    .post-312 .post-title, .post-title a {
    display: none;
    }

    1: Even pages have post class. So, use post instead of page

    2. there should be no id. Just replace id with the id of your page.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Do NOT follow this link or you will be banned from the site!