WordPress.org

Support

Support » How-To and Troubleshooting » Need help with changing font colour in side column!

Need help with changing font colour in side column!

  • Hey, I have looked through my whole code trying to change my sidebar font colour to white but i cant figure it out!
    This is the part of the code i think it should be in but please let me know if its not and what i can do. Thanks in advance

    [CSS code moderated – please post a link to your site]

Viewing 13 replies - 1 through 13 (of 13 total)
  • Link to your site?

    We don’t need your style sheet code if you just provide a link to your site. And we can also test possible answers.

    Cheers

    PAE

    Also how would i put a border around the main blog entries?
    Thanks in advance!

    This is the rule that’s setting the font colour:

    .art-blockcontent-body a:link {
      color: #595959;
    }

    Create a child theme (to protect you from future updates to the heliade theme) and in the style.css file, which should be empty except for the child theme comment block and the @import statement to import the parent’s styles, add this rule:

    .art-blockcontent-body a:link {
      color: #FFFFFF;
    }

    You **can** do this in the theme itself, without creating a child, but you’d be storing up trouble for the future and since you sound as though you want to make other changes as well, it’s much cleaner to do it in a child theme.

    And creating a child is so easy, there’s no excuse for not doing it unless your theme specifically says not to.

    I’ll answer the border question in another post.

    Cheers

    PAE

    Border…

    I take it you want the border around the whole post, title and all…

    If so, this is the rule you’re interested in:

    .art-post {
      margin: 7px;
    }

    You need to add a border property. So in your child theme’s style.css file, add this rule:

    .art-post {
      border: 1px solid white;
    }

    Of course, you can style the border however you want. I’ve just used “1px solid white” for example purposes. If you wanted “2px dotted #333”, that’d be just as valid.

    Cheers

    PAE

    Thank you very much for your help!!

    My pleasure.

    PAE

    I was wondering if you could help me,
    It still has not changed the colour and cannot figure it out?
    Thanks.

    Which colour? You have two sidebars and all sorts of different text in both. So could you point us to a particular piece of text that you want to change?

    Cheers

    PAE

    Both side bar columns, You pointed out about a month ago what i should change, and have changed it but the titles still not not show up. The titles which should say categories, meta, archives, Flickr, scoop it etc
    Thanks

    OK. What you mean is that the headings are black-on-black, is it? I didn’t even realise they were there (for obvious reasons). To change those, you need to look at this rule:

    .art-blockheader .t {
    color: #000000;

    }

    Change the ‘color’ rule to color:#FFFFFF; or whatever suites you by overriding it in your child theme stylesheet—assuming you’re using one.

    HTH

    PAE

    Thank you! Really appreciate the help!

    Dim problem/De nada/De rien/No problem

    🙂

    PAE

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Need help with changing font colour in side column!’ is closed to new replies.
Skip to toolbar