hi
anyone could help me to decrease the size of my navigation section with css code:
A user seeks help reducing the height of their navigation section on a Dawn theme Shopify store.
Initial Problem:
Solutions Provided:
Code Issue Identified:
<h1> tag is incorrectly placed within the navigation area<h1> tag outside navigation (below or inside banner)CSS Adjustments:
padding: 2rem)2.5rem) increases height; decreasing it reduces heighttheme.liquid file under the <head> elementResolution:
The issue was successfully resolved using the provided guidance.
Hi Mathieulenoir,
What theme are you using? or can you share a link to your site so we can look at the code and tell you.
Regards
Danny
Hi Mathieulenoir,
First: Fix your code, this
Secondly: to increase / decrease the height, in the screen shot you can see where the arrow is, just above it you have padding:2rem, if you increase the padding example 2.5rem it’ll increase the height and vice-versa.
Regards
Danny
Go to your Online store > Themes > Edit code > open theme.liquid file, add this code below under element
thank you so much for your help! fixed!
Excellent, try and also move the