lgwebdesign Posted June 8, 2021 Share Posted June 8, 2021 (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). 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 June 8, 2021 by lgwebdesign Link to comment
Agha_Waqas Posted June 8, 2021 Share Posted June 8, 2021 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). 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; } lgwebdesign 1 Link to comment
lgwebdesign Posted June 8, 2021 Author Share Posted June 8, 2021 (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 June 8, 2021 by lgwebdesign Agha_Waqas 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment