Amy_Faire_ Posted June 9 Share Posted June 9 Hi friendly people. I forced the desktop nav on mobile for my site but there is a hairline difference in padding between the site title text and the navigation link text on mobile view. I was hoping someone could tell me what is causing it before I pull my hair out. Thank you for any help. https://anisette.co password is 5678 And here is the code I'm using to force the desktop header: /*DESKTOP HEADER ON MOBILE */ @media (max-width:648px) { .header-display-desktop {display: flex!important;} .header-display-mobile {display:none;} .header-burger {display:none;} .header-nav { display:flex!important; flex:40%!important; justify-content:flex-end;} .header-title {flex:50%!important;} .header-layout-nav-right .header-nav-item:not(:first-child):not(.header-actions- action--cart) {margin-left: 5vw!important;} } ✌️ Link to comment
Lesum Posted June 9 Share Posted June 9 @Amy_Faire_ Hi! Just to make sure I understood the issue correctly, are you trying to create an even space between the header title and the navigation link items? If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee? Link to comment
Amy_Faire_ Posted June 9 Author Share Posted June 9 I apologize, I should have attached an image sooner... 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