Site logo

[Resolved] Link with Shadow

Home Forums Support [Resolved] Link with Shadow

Home Forums Support Link with Shadow

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2435505
    Denise

    Hi,

    I followed the instructions given on this topic: https://generatepress.com/forums/topic/link-underline-and-color-change/page/2/#post-2435492

    But it affected how another link CCS related class is working.

    This additional CCS class is (.mylinks a) to give a different color of the text underlined.
    However, now that I have added this new box-shadow, it seems that it does not matter that I’ve added the class to the link, is not working.

    I tried to be more specific using .mylinks li a, .mylinks p a, and works.

    Do I have to specify every single place where the link could be placed?
    Is there a way to make it work like before, just indicating the selector a?
    Please take a look on this article where I have that class on paragraphs, lists and under a block.

    Thanks a lot for your help!
    Denise

    #2435518
    David
    Staff
    Customer Support

    Hi there,

    to cover all the bases try:

    #page .entry-content .mylinks a

    This should make it more specific than the other CSS.

    #2435615
    Denise

    Worked perfectly! ❤
    Thanks for your prompt response David!
    Denise

    #2436871
    David
    Staff
    Customer Support

    Glad to be of help!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.