Jump to content

7.1 Mobile Nav Custom Alignment

Recommended Posts

Site URL: https://www.kingswoodfencing.co.uk/

Hi all.

I'm hoping someone can help with my little OCD issue.

Anyone know how to reposition folder links in 7.1 mobile nav? I know with the chevron it's technically center aligned, but it doesn't look right and it's driving me nuts (see screenshot).

680918827_Screenshot2021-06-08at19_20_31.thumb.png.12efdb73b28528b8f6d2f75a62859c7b.png

What I would like is the text 'SERVICES' to be perfectly centered like the other links, and the chevron to be added on to the end without affecting the text alignment.

Thanks for any help.

Luke

Link to comment
  • Replies 2
  • Views 710
  • Created
  • Last Reply
1 hour ago, lgwebdesign said:

Site URL: https://www.kingswoodfencing.co.uk/

Hi all.

I'm hoping someone can help with my little OCD issue.

Anyone know how to reposition folder links in 7.1 mobile nav? I know with the chevron it's technically center aligned, but it doesn't look right and it's driving me nuts (see screenshot).

680918827_Screenshot2021-06-08at19_20_31.thumb.png.12efdb73b28528b8f6d2f75a62859c7b.png

What I would like is the text 'SERVICES' to be perfectly centered like the other links, and the chevron to be added on to the end without affecting the text alignment.

Thanks for any help.

Luke

Hi Luke, Try below code into css. Adjust margin left according to your need.
.header-menu-nav-folder-content .header-menu-nav-folder-content span:nth-child(2){ margin-left: 30px; }

Link to comment
1 hour ago, Agha_Waqas said:

Hi Luke, Try below code into css. Adjust margin left according to your need.
.header-menu-nav-folder-content .header-menu-nav-folder-content span:nth-child(2){ margin-left: 30px; }

Thanks so much for your help, I really appreciate it. Now I know why my code never worked, I forgot about the nth-child part.

Here's the full code with the Back button alignment fix for anyone else who needs it...

.header-menu-nav-folder-content span:nth-child(2) { 
  margin-left: 25px; 
}
.header--menu-open .header-menu-controls-control--active {
  margin-right: 55px; 
}

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.