Change every hiperlink color

  • Author
    Posts
  • #58244

    historiasdecasa
    Member
    Original poster

    Hi, is there a way to automatically change every hiperlink color?
    I figured out how to do it by hand in each post, but if there were an easiest way, I’d like to know.

    Thanks,

    The blog I need help with is: historiasdecasa.com

    #58358

    thejohnparris
    Theme Author

    Generally speaking, hyperlink colors are handled by something like this:

    a {
        color: your-color-here;
    }

    But in some places where we choose to use a different color, they may require additional CSS class targeting. For example, you learned that the menu hyperlinks are defined like this:

    .main-navigation a {
        color: whatever;
    }

    Because of the different background colors on links, like white in the post content area or dark in the menu area, it’s generally not practical to try to set them all to the same color. But, you can do something like this to force them all:

    a {
        color: #000 !important;
    }

    We don’t offer support for customizing every aspect of your theme. Here’s a good link for learning more about CSS. There’s also a community support forum called CSS Customization, where people help each other as time allows.

    #58359

    historiasdecasa
    Member
    Original poster

    I got it. It makes sense.
    Thanks!

The topic ‘Change every hiperlink color’ is closed to new replies.