Skip to content
  • Border-Bottom Offset

    General Discussion offset bottom link move border
    2
    0 Votes
    2 Posts
    2k Views
    arminunruhA
    Hmm yeah you can try this CSS .lay-textformat-parent a, a.projectlink .lay-textformat-parent>*{ border-bottom-style: none; } .lay-textformat-parent a:after, a.projectlink:after{ content:''; position:absolute; width: 100%; height: 0; left:0; bottom: 2px; /* <- distance */ border-bottom: 2px solid #000; } Change the "bottom" value to have a different space. I got it from here: http://stackoverflow.com/questions/14733011/css-decrease-space-between-text-and-border This might work better for you if all you want is less space between the underline and the text: .lay-textformat-parent a, a.projectlink .lay-textformat-parent>*{ border-bottom-style: none; } .lay-textformat-parent a, a.projectlink .lay-textformat-parent>*{ text-decoration: underline; }

For paid 1-on-1 Lay Theme Coaching, contact Audrey (audrey@cyberslayers.work) or me (info@laytheme.com).

We also code custom websites or bespoke Lay features. Drop me a line at info@laytheme.com or check out my work at arminunruh.com.

Want to support my work? paypal.me/arminunruh

Before you post:
  1. When using a WordPress Cache plugin, disable it or clear your cache.
  2. Update Lay Theme and all Lay Theme Addons
  3. Disable all Plugins
  4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

This often solves issues you might run into

When you post:
  1. Post a link to where the problem is
  2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
  3. If the problem is difficult to explain, post screenshots / link to a video to explain it
Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com