I’m trying to make my header span the full width on my desktop. When i check inspect element, it shows that the div ‘header-wrapper color-background-1 gradient’ is taking up the rest of the space which is why i can’t make the menu go all the way across the screen. I’ve tried to search for it when changing the css to see if it can be changed but i can’t locate it. So far this is the css i’ve added:
From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
Find the theme that you want to edit and click on “Actions” and then “Edit code”.
In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
I went back to remove the custom css width i added onto the header because i want to add just your code in the base.css but it doesn’t change to full width :
Im sorry, but I didnt add the width. I just take out the spaces on you last comment. The whole header is already full width with moeeds code. Now the inline menu is also full width with the remaining space on the left and right are the paddings. That is what my code provide. Just let me know what design you like to achieve. Thanks!
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
If I may resurrect this thread.. I’m having a very similar issue with my store’s header. I think the code in the message I’m replying to is mostly right for my store (also on Dawn theme) because it fixes the right-side Cart & Search icons… but it does not change my logo and navigation menu on the left-side at all. I am using the navigation menu style “Dropdown” if that has anything to do with it..?