WordPress.org

Ready to get started?Download WordPress

Forums

How to Remove The Light Blue Color from a Sticky Post? (11 posts)

  1. agag2
    Member
    Posted 2 years ago #

    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.

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    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.

  3. agag2
    Member
    Posted 2 years ago #

    ^^

    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

  4. esmi
    Forum Moderator
    Posted 2 years ago #

    Try adding:

    .home .sticky {
        background:#fff;
    }

    to your child theme's style.css file.

  5. agag2
    Member
    Posted 2 years ago #

    ^^ 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?

  6. esmi
    Forum Moderator
    Posted 2 years ago #

    Add:

    .sticky {
        font-style: normal;
    }

    to your child theme's style.css file.

  7. agag2
    Member
    Posted 2 years ago #

    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?

  8. esmi
    Forum Moderator
    Posted 2 years ago #

    Yes - always add the new CSS at the end of the child's style.css file.

  9. agag2
    Member
    Posted 2 years ago #

    still not working for me

  10. alchymyth
    Forum Moderator
    Posted 2 years ago #

    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

  11. agag2
    Member
    Posted 2 years ago #

    I believe the last method worked

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.