WordPress.org

Forums

my twentyten child theme won't change some css (5 posts)

  1. pgb
    Member
    Posted 4 years ago #

    I've made a child theme for 2010 but some css won't change. In the footer I want to change the color of the top border of the div colophon and reduce it to 2px. In my style sheet I've put #colophon {border-top: 2px solid #a5bach;} and I update the file but still the black 4px top border appears. This should be simple! Any ideas?

  2. alchymyth
    Forum Moderator
    Posted 4 years ago #

    did you also reload the page in the browser and/or pressed 'ctrl f5' to clear the browser cache?

    a link to your site might get you more suggestions.

  3. DigitalSquid
    Member
    Posted 4 years ago #

    Did you add that in as a new line or change the existing #colophon style?

    If you've just added it in then it might be an issue with CSS specificity.

  4. mrdocout
    Member
    Posted 4 years ago #

    Are you sure that is a correct color. As a test, try it with black.

  5. pgb
    Member
    Posted 4 years ago #

    Thanks everybody. I took a good look at the twentyten style.css and noticed that the code was quite high up the list and on my style.css it was at the bottom (as it is in the header). I moved it much higher and it worked - I don't know why but I'm glad it worked.

Topic Closed

This topic has been closed to new replies.

About this Topic