• Resolved genslay

    (@genslay)


    Hello! I’ve searched and searched for an answer for this, so hopefully it’s not a duplicate question.

    When I create hyperlinks on my site, the text changes to the color I’ve set. However, a link within a list does not. It does change colors when I hover over the links in the list, however .

    Example: https://lifeschoolpeak.com/vam_pt1/ — scroll to the bottom of the post — there’s both an example of a link not in a list (turquoise color) and there’s a “ul” in which bullet is an active link but are not colored.

    Any ideas? Happy to provide more info.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • In your stylesheet you first have your normal link definition listed and then you have another definition especially for lists. Go to line 1812 in your stylesheet and change the color to #2b9b9b

    Thread Starter genslay

    (@genslay)

    @martincds — thank you. Unfortunately, this didn’t fix the issue. I appreciate the help.

    Just to clarify, you’re referring to the list at the bottom of the page that contains the texts “What Is A Statistical Model?”, “A Practioner’s Guide to Growth Models”, and “Measuring student growth: A guide to informed decision making”, correct? Try this:

    .entry-content a {
    	color: #2b9b9b;
    }

    That will change all links within your blog post’s content while leaving other links unaffected. Also, it’s not recommended to directly edit your theme’s stylesheet, as you’ll lose those changes if the theme is ever updated in the future, to fix bugs or security issues or to add new features. Instead, it’s best to use a custom CSS plugin or your theme’s built-in custom CSS option.

    Thread Starter genslay

    (@genslay)

    @stephencottontail — this worked. Thanks so much!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Link color style not working within lists’ is closed to new replies.