• Resolved lmask

    (@lmask)


    Hello!

    I am using the Travelify theme and have been working on a website for a while and I have one question. I want to hide the page titles but not the blog post titles. When I use the code:

    .page .entry-title {
    display: none;
    }

    it removes both the page titles and the blog post titles and I only want to remove the titles from the pages. Can anyone please help me with this? I have tried everything and I am going nuts!

    Best Regards
    Lisa

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi @Imask

    can you give a link to your site please…

    Thread Starter lmask

    (@lmask)

    @salsaturation: Absolutely! Here is my website: http://www.toscana-amore.com and as you can see I want to get rid of the page titles – for example “About”. But not the blog post title that says “Go Away Find Home” but for some reason it disappears anyway.

    If you don’t already have a Child_Themes or the theme offers nowhere to put a custom css, then you should install a plugin like Jetpack then add the following to the custom css area…

    body :not(.page-template-template-blog-full-content) .page .entry-title, .page-template-template-blog-full-content .page-title {
    display: none;
    }

    I assumed you also want to remove the title blog but if not then just use this code instead

    body :not(.page-template-template-blog-full-content) .page .entry-title {
    display: none;
    }
    Thread Starter lmask

    (@lmask)

    @salsaturation: It worked! I used the first code so I could remove the blog post title as well and its exactly how I wanted it to be. You saved my life, thank you so much for this!

    @salsaturation I hope you are well today and thanks for helping out here in this forum.

    Your help here is really appreciated.

    Just to add the Travelify theme provides an option on the following path to use custom CSS code so no need to use any other plugin.

    Admin Area -> Appearance -> Customize -> Travelify Other Options

    @vinod-dalvi

    No worries and hope you are well too! It’s just a standard text I use as I don’t have any of the themes installed but might give an example of where it might be in my text

    Thank you for this. I had the same question. I love the WordPress community.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How can I hide page title but keep blog post title?’ is closed to new replies.