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

    Hi
    How can I implement CSS border-bottom only for text links, not for images and the like?
    I would like to use a 1px bottom border for the links and 2px on hover.
    Thanks you for your help
    Michael

    #702226

    Hey mleonhard,

    You can activate the custom CSS class for builder element: http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/, and assign a class to the elements you want to underlined. Then add this to Quick CSS:

    a.your-custom-class {
    border-bottom:1px solid red;
    }
    
    a.your-custom-class:hover {
    border-bottom:2px solid red;
    }

    You can assign the class to your html markup as well:

    <a href="#" class="your-custom-class">Link</a>
    

    Thanks,
    Rikard

    #702269

    Excellent, just what the doctor ordered
    thank you for your quick help

    #702618

    Hi,

    Glad we were of help :)

    Feel free to reach out to us again if there is anything you need assistance with.

    Best regards,
    Jordan

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘CSS only for text links’ is closed to new replies.