WordPress.org

Ready to get started?Download WordPress

Forums

Change link color in Brunelleschi (7 posts)

  1. sbbn
    Member
    Posted 2 years ago #

    Please help me change the link colors on the Brunelleschi theme. I have looked for days on the forums, for hours I've tried every suggestion I have seen here in the forums and nothing is working. I even went through and changed every single link color option in my style.css (child theme) to the color I want (#580000) and there was no change at all.

    I'm not sure this theme can be changed with a child theme style.css sheet. None of the changes I have ever made have stuck, they always revert back on their own and I have no idea why.

    My site is marieprevostonline.com

  2. Phil
    Member
    Posted 2 years ago #

    I changed these two bits in your style.css through my browser and it changed the colours:

    line 1014:

    .entry-title a:link, .entry-title a:visited {
        color: #580000;
        text-decoration: none;
    }

    and...
    line 729:

    a:link {
        color: #580000;
    }
  3. sbbn
    Member
    Posted 2 years ago #

    It didn't work. I made the changes but the links are still the blue color.

    Thanks for your suggestion, though. This is so frustrating -- there is no reason these changes shouldn't work, yet they're not. I even deleted the previous style.css child theme and created a brand new one a few minutes ago, then put in the code changes you suggested, and that didn't work either.

    Any thoughts?

  4. Phil
    Member
    Posted 2 years ago #

    Try clearing your browser cache. Your style.css shows it unchanged. Maybe your save function isn't working on the stylesheet?

    The links in style.css are still the old colours, so either your style.css isn't updating, or something is overwriting it - do you have theme options to set the link colours?

  5. sbbn
    Member
    Posted 2 years ago #

    Unfortunately there are no theme options for the link colors.

    After replacing style.css earlier tonight I couldn't activate the child theme. Did some finagling and got the child theme activated and now the link colors are changed. Thanks!

    Followup question: Is there a way to change the link colors of the sidebars only? I've been looking and can't find anything that looks like code for a separate link color in the sidebar. Do you think making that kind of change is possible?

    Thanks again!

  6. sbbn
    Member
    Posted 2 years ago #

    Hi Phil - I got it to work by changing only the second example you gave, the one on line 729. Then I went through and found all the blue links in the code and changed them to the same color #580000 and it changed the sidebars only. Thanks!

  7. Phil
    Member
    Posted 2 years ago #

    No Problem :)

Topic Closed

This topic has been closed to new replies.

About this Topic