Jump to content

Change spacing of underline below links?

Recommended Posts

I'm using the Pulaski template to make a CV/portfolio thing, and on the main page I have three links, each underlined, but for some reason the underlines are way below the text, and even overlap with the line below. I've tried fiddling around with the text sizing and line spacing but nothing seems to help and I cant find anyone else with this problem. Any ideas?

https://lavender-robin-a5ec.squarespace.com/config/design/fonts

(I'm on the free trial so I'm not sure if you'll be able to access the site.)

Link to comment
  • Replies 9
  • Views 3.6k
  • Created
  • Last Reply

Add to Home > Design > Custom CSS

div#block-99b8b41d2eb28012fc49 a {
    background-image: none;
    position: relative;
}
div#block-99b8b41d2eb28012fc49 a:after {
    content: "";
    border-bottom: 1px solid #fff;
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
}

image.thumb.png.cf29504cb25976f6ff9d872780f77a58.png

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Thanks for the help but it doesn't seem to have changed anything. I also noticed that when my trial ends I'd have to buy a business plan to use the code which I can't really afford. I'll have to change the design or just use another website building platform.

Cheers.

Link to comment
6 hours ago, DomGrant said:

Thanks for the help but it doesn't seem to have changed anything. I also noticed that when my trial ends I'd have to buy a business plan to use the code which I can't really afford. I'll have to change the design or just use another website building platform.

Cheers.

Code will remove current underline, and set new underline. And you can adjust underline spacing with bottom:10px;

Code can work with Personal Plan, no need to upgrade to Business Plan

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
11 hours ago, ralaningalls said:

Dom's underlines do look a little low to me, by mine are half-way into the next line of text. Is this a platform wide bug, specific to certain fonts? My underlines were just fine a week ago, but now they're way under the text they're supposed to be underlining. https://www.theattnco.com/home

Answered in your post

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.