• Resolved Mgee

    (@mgee)


    Thanks for a lovely little plugin ??
    I am trying to change the color of the font of links in one of the lists.
    I have created a new style definition in my theme stylesheet

    .link-font {
     font-size: 16px;
        color: #000000;
    }

    and in the Custom Style Class box added ‘link-font’
    The font size change works however the color doesn’t change?
    I tried added an !important to the end and had no luck with that either.
    Anything else i can try?
    Thanks

    https://www.ads-software.com/plugins/simple-link-list-widget/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Mgee

    (@mgee)

    just to add, the color change does work when the list item does not have a link attached, however I was wanting the links to be a different color.
    Thanks

    Plugin Author jimmywb

    (@jimmywb)

    Hi There! So the Custom Style Class box adds a class to the list item (li). In order to modify the link you will need to reference the anchor tag. Change the style definition to this:

    .link-font a  {
        font-size: 16px;
        color: #000000;
    }

    Let me know if you need any more help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom Style Class color change not working?’ is closed to new replies.