Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

7.1 Mobile Nav Custom Alignment


Question

Posted (edited)

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

Edited by lgwebdesign
Link to comment

2 answers to this question

Recommended Posts

  • 0
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
  • 0
Posted (edited)
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; 
}

Edited by lgwebdesign
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...