Guest Posted June 23, 2022 Share Posted June 23, 2022 Site URL: http://dustin.land Hello everyone, I'd love your help being able to use CSS to reduce the div / padding arounf the main logo in the header. When the browser is resized, the nav links will drop a line to make room for the huge amount of side space surrounding the logo. See attached. Any help would be appreciated! Dustin Link to comment
tuanphan Posted June 25, 2022 Share Posted June 25, 2022 Try this CSS .header-title.header-title--use-mobile-logo { width: 20% !important; flex: 1 1 20% !important; } 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
Guest Posted August 13, 2022 Share Posted August 13, 2022 Thanks for the reply! This shifts the logo off-centre. The padding on the right end of the nav links is too large still and breaks the line with still lots of space to go towards the logo. this one is very hard to target code to make it function right. Link to comment
Solution Guest Posted August 13, 2022 Solution Share Posted August 13, 2022 I think i've got it: .header-nav-list { display: flex; flex-wrap: nowrap; } seems to produce the deired result! 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