Change sticky post title background color

  • Author
    Posts
  • #85251
    lvholmes
    Power User

    How do I change the background color of a sticky post title as it appears on the posts page?

    Can’t find a setting in “Nirvana settings”. Have I just missed it? Once I click through to the individual post page the background color is gone, which is fine. Don’t need to change that.

    Thanks

    Website: wiltondems.org

    #85366
    Zed
    Cryout Creations mastermind

    Sticky posts use styling to make them stand out and be different from regular posts. They use generally configured colors for the titles appearance.
    Also, sticky posts are only relevant for the homepage, elsewhere their “sticky” status is not used.

    There’s no distinct setting to control the styling but that can be customized with some CSS:

    body .sticky h2.entry-title a {
        background-color: inherit;
        color: inherit;
        padding: 0;
    }

    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 2 posts - 1 through 2 (of 2 total)

The topic ‘Change sticky post title background color’ is closed to new replies.