Jump to content

Adjusting spacing in 7.1 drop down nav

Recommended Posts

Site URL: https://wolf-cube-3k56.squarespace.com

Can anyone recommend CSS to add so I can spread out the items in my drop-down nav?  I've already added CSS for line height, but I don't know the tag for the space between the line items. I have links that are two lines long, and I need additional space so there's more separation. 

Also, is there a way to add padding to the bottom of the container box?

Thanks 

nav.jpg

Link to comment
  • 6 months later...
  • 1 month later...
  • 1 year later...
On 12/3/2020 at 10:55 AM, tuanphan said:

remove above & use this

a.header-nav-folder-title[href="/locations"] + .header-nav-folder-content {width: 400% !important; 
  white-space: nowrap !important; 
}

 

Hi tuanphan do you know how to centre the buttons on image blocks on my homepage 

and also how to make a summary block able to swipe on mobile view 

url https://www.myrecoveryuk.co.uk 

766E911A-B986-4D05-83F8-245394C2256A.png

Link to comment
9 hours ago, jakelyd said:

Hi tuanphan do you know how to centre the buttons on image blocks on my homepage 

and also how to make a summary block able to swipe on mobile view 

url https://www.myrecoveryuk.co.uk 

766E911A-B986-4D05-83F8-245394C2256A.png

#1. Add to Design > Custom CSS

/* center image button on mobile */
@media screen and (max-width:767px) {
.image-button-inner {
    text-align: center;
}
}

#2. No idea, you try creating a new topic

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
2 hours ago, tuanphan said:

#1. Add to Design > Custom CSS

/* center image button on mobile */
@media screen and (max-width:767px) {
.image-button-inner {
    text-align: center;
}
}

#2. No idea, you try creating a new topic

genius !! worked perfectly again, also if I want to try learn coding / custom CSS where would you recommend I start.

Link to comment
On 1/8/2022 at 5:43 PM, jakelyd said:

genius !! worked perfectly again, also if I want to try learn coding / custom CSS where would you recommend I start.

Try teamtreehouse (learn HTML then CSS)

or this CSS course for Squarespace by WillMyers

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.