How can I remove the grey background in sticky posts?

  • Author
    Posts
  • #3331
    Harmen Mesker

    When I make a post ‘sticky’ it gets a grey background. Is there an option in the Mantra settings that can change this? Thanks.

    #3357
    Zed
    Cryout Creations mastermind

    That’s the default look for sticky posts so they stand out from normal posts. There’s no built-in option do remove that.

    But you can remove it using custom CSS:

    article.sticky { background: none !important; border-radius: 0 !important; }


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #3360
    Harmen Mesker

    Thanks, that does the trick! Odd that there isn’t a built-in option to change that though.

    #3391
    Zed
    Cryout Creations mastermind

    Why should there be a built-in option to disable a built-in feature? The background of the sticky posts is a built-in feature, to make them… “stick” out 🙂


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘How can I remove the grey background in sticky posts?’ is closed to new replies.