I’ve been researching the community for different solutions to build the website design I want.
Now I’ve reached an impasse and I’m not able to change it, that is, in the header, I want the mega menu to be centered, the logo and icons at the ends.
The mega menu, when I hover, the main menus are underlined, and the submenus too. I don’t want them underlined. And the background color I also want to change as well as the color when hovering.
I’ve been looking point by point in the base.css file to change it but I’m not succeeding.
Go to your online store and select Themes from left panel
Press 3 dots menu in center (on the left of Customize button) and then Edit Code
Open the file base.css (you can search for it)
Now let’s solve the issues one by one:
Centering the mega menu
In base.css, search for the following: “@media screen and (min-width: 990px) .header–middle-left” (without quotes, might be in different lines, so try different search variations)
In the properties for this selector you will see ‘grid-template-columns: auto auto 1fr’, either remove this line or replace ‘1fr’ with auto
Save the changes, and refresh your store to see them in effect
@yashgarg it works! As for the background color I was referring to, it was the submenu background. At the moment it is white but I want it to be exactly the same color as the header.
And if you can help me with something else, I want to remove the arrows when hovering in the menu.