Remove page title over featured image on specified page – Goran theme

  • Unknown's avatar

    Hi

    I’d like to remove the page title that sits by default over the featured image – but on one page only. I have the following code that had removed the page titles on all pages :

    .hero .page-title {
    visibility: hidden;
    }
    but cant find where to add the page id in the code so that it only applies to one page (page-id- 490)

    Many thanks

    Jo

    The blog I need help with is: (visible only to logged in users)

  • Here is how to add page id:

    .page-id-490 .hero .page-title {
        display: none;
    }

    Please note that I changed the rule from visibility: hidden; to display:none;

    display:none will completely remove the element from the page and hence does not occupy any space. visibility:hidden hides an element, but it will still take up the same space as before. So it is better to use display:none.

  • Unknown's avatar

    Wow – it’s so easy when you know how! – thank you so much for replying so quickly. Thats sorted it now.

  • The topic ‘Remove page title over featured image on specified page – Goran theme’ is closed to new replies.