WordPress.org

Forums

Virtue
[resolved] Color of links on widgets (7 posts)

  1. madferit82
    Member
    Posted 11 months ago #

    Hi, is there a way to get the links on the widgets (sidebar and footer) of the same color of the other links on the website?
    Thank you

  2. Design Locker
    Member
    Posted 11 months ago #

    A link to your site please and we can try and help?

  3. madferit82
    Member
    Posted 11 months ago #

    Here it is http://spadazze.altervista.org/ (still work in progress..) Please look at the links on the footer on home page for exmple, I would like to highlight them.
    Thank you

  4. Design Locker
    Member
    Posted 11 months ago #

    In your child themes stylesheet;

    .footerclass a, .footernav ul li a {
    color: #fff;
    }

    Change the color to whatever hex code you would like.

  5. madferit82
    Member
    Posted 11 months ago #

    Cool thanks!
    Last questions, can I also get a custom color when I pass over the link with the mouse? And can I get the same effect on the sidebar?
    Sorry perhaps these are stupid questions, I am new on WP and am trying to learn...

  6. Design Locker
    Member
    Posted 11 months ago #

    No problem, I get lots of help here so glad to help when I can.

    For the footer hover try this;

    .footerclass a:hover, .footernav ul li a:hover {
    color: #fff;
    }

    Again, changing the color to whatever hex code you would like.

    For the sidebar try;

    .sidebar a {
    color: #555;
    }
    
    .sidebar a:hover {
    color: #555;
    }

    Again, changing the color to whatever hex code you would like for both the link state and the hover state above.

  7. madferit82
    Member
    Posted 11 months ago #

    This is great, thanks a lot for your help!!

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.