page title display

  • Txiqui7


    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?



    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.