WordPress.org

Ready to get started?Download WordPress

Forums

Need help with changing font colour in side column! (14 posts)

  1. jorja11
    Member
    Posted 3 years ago #

    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]

  2. peredur
    Member
    Posted 3 years ago #

    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

  3. jorja11
    Member
    Posted 3 years ago #

  4. jorja11
    Member
    Posted 3 years ago #

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

  5. peredur
    Member
    Posted 3 years ago #

    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

  6. peredur
    Member
    Posted 3 years ago #

    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

  7. jorja11
    Member
    Posted 3 years ago #

    Thank you very much for your help!!

  8. peredur
    Member
    Posted 3 years ago #

    My pleasure.

    PAE

  9. jorja11
    Member
    Posted 2 years ago #

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

  10. peredur
    Member
    Posted 2 years ago #

    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

  11. jorja11
    Member
    Posted 2 years ago #

    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

  12. peredur
    Member
    Posted 2 years ago #

    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

  13. jorja11
    Member
    Posted 2 years ago #

    Thank you! Really appreciate the help!

  14. peredur
    Member
    Posted 2 years ago #

    Dim problem/De nada/De rien/No problem

    :)

    PAE

Topic Closed

This topic has been closed to new replies.

About this Topic