BuddyDev

Search

How to hide element of all post

  • Participant
    Level: Enlightened
    Posts: 146
    Dandy Jefferson on #9422

    Hi, there

    Thanks for previous helps and hope everything is going well.

    I do know the way to hide an element of particular page which using page ID and display:none; CSS code. It works.

    However, when it comes to post, is there any way to hide an element in all posts? For example, I want to hide an element across all posts.

    Thank you very much.

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #9437

    Hi Dandy,
    If your theme is using proper class, all the entries should have ‘hentry’ class

    Keeping that in mind, if we have to disable say all blockquotes, we can use something like this

    
    
    .entry blockquote { display:none;}
    
    

    Hope that helps.

You must be logged in to reply to this topic.

This topic is: not resolved