[Resolved] Would like to disable post titles on desktop only

Home Forums Support [Resolved] Would like to disable post titles on desktop only

Home Forums Support Would like to disable post titles on desktop only

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1571093
    Megan

    Hi there, I’m trying to disable post titles from showing on posts, and on desktop only (still want it to show on mobile). We put our title in the featured image, and having the title appear means it looks like it’s there twice. But notably, we have the header switched off from showing when viewed on a mobile (it’s too thin to read properly), so do want the normal title to show up when viewed on a mobile device.

    Here is a URL where you can see what I’m talking about:

    https://www.onlinegroupsuccess.com/anonymous-posts-in-facebook-groups-how-to-make-them/

    Is there an easy way to do this with CSS?

    Thankyou in advance!

    Kind regards

    #1571096
    Elvin
    Staff
    Customer Support

    Hi,

    You can try adding this CSS:

    @media (min-width:769px){
    body.single .inside-article h1.entry-title {
        display: none;
    }
    }

    Here’s how to add CSS: https://docs.generatepress.com/article/adding-css/

    A wise man once said:
    "Have you cleared your cache?"

    #1571122
    Megan

    Worked like a charm! Thankyou for your lightning fast response ๐Ÿ™‚

    #1571123
    Megan
    #1571124
    Megan

    I have marked this topic as resolved. Thanks again!

    #1571144
    Elvin
    Staff
    Customer Support

    I have marked this topic as resolved. Thanks again!

    Nice one. No problem. Glad to be of any help. ๐Ÿ˜€

    A wise man once said:
    "Have you cleared your cache?"

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.