WordPress.org

Support

Support » Themes and Templates » How to Remove The Light Blue Color from a Sticky Post?

How to Remove The Light Blue Color from a Sticky Post?

  • Hi

    I have a website http://freeiphone4x.info

    and I would like one post to be sticky

    The problem is that wordpress makes it light blue – which i dont like

    How can I remove it?

    P.S

    I found a simmilar question here but no answer worked for me so im reasking.

Viewing 10 replies - 1 through 10 (of 10 total)
  • esmi
    Forum Moderator

    @esmi

    As you are using the default WordPress theme, you need to start by creating a child theme for your changes. Once your child theme is active, we should be able to help with the customisation.

    ^^

    Thanks for reply

    I just installed a child theme (I used a wordpress plugin as I’m pretty new to wordpress editing)

    Can you explain the next step?

    Thank again

    esmi
    Forum Moderator

    @esmi

    Try adding:

    .home .sticky {
        background:#fff;
    }

    to your child theme’s style.css file.

    ^^ Thanks worked 100%

    Now i have another small problem

    The letters arre in a funny font – not the regular font

    (if you dont know what I mean take a look at the site for a second and youll understand..)

    Is there any way to fix this?

    esmi
    Forum Moderator

    @esmi

    Add:

    .sticky {
        font-style: normal;
    }

    to your child theme’s style.css file.

    Just tried adding

    .sticky {
    font-style: normal;
    }

    but I dont see any changes

    Is there a certain place in styel.css I should put them in?

    esmi
    Forum Moderator

    @esmi

    Yes – always add the new CSS at the end of the child’s style.css file.

    still not working for me

    Michael
    Forum Moderator

    @alchymyth

    a plugin’s style
    /wp-content/plugins/simple-sitemap/css/ss_style.css

    is influencing the style of .sticky:

    .sticky {
    	font-style: italic;
    	color: #999;
    	font-size: 0.7em;
    }

    you can either edit that stylesheet; or add corrective styles to style.css of the child theme.

    also, style.css of your child theme is a bit messed; there were styles in the commented area near the top; correction:

    http://pastebin.com/Rm9G1Vde

    I believe the last method worked

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘How to Remove The Light Blue Color from a Sticky Post?’ is closed to new replies.