What's your biggest current challenge? Have your say in Community Polls along the right column.

Re: Header, main menu

Solved

Header, main menu

Sohan2198
Pathfinder
124 9 18

Hello, 
How can I fix the & make the main menu,
cover with same row with same background color,  remove extra space around logo.

Sohan2198_0-1725563876733.png

Url:https://www.zisthi.com/
pass:Zisthi0206



Shopify_
Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
9158 2183 2699

This is an accepted solution.

As I said also the icons will be in full width, like this. 

Made4uoRibe_0-1725567625705.png

 

Here is code I use.

 

@media screen and (min-width: 990px) {
.header--top-center .header__inline-menu {
        width: 100%;
}
.header:not(.drawer-menu).page-width {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}
details-modal.header__search {
    padding-left: 5rem;
}
.header__icons {
    padding-right: 5rem;
}
}

 

And Save. 

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

View solution in original post

Replies 3 (3)

Made4uo-Ribe
Shopify Partner
9158 2183 2699

Hi @Sohan2198 

Do you mean like this?

Made4uoRibe_0-1725565240608.png

If you like it full with the icons will also be full. 

This is the code. 

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

 

@media screen and (min-width: 990px) {
    .header--top-center .header__inline-menu {
        width: 100%;
    }
}

 

And save. 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
Sohan2198
Pathfinder
124 9 18

@Made4uo-Ribe 
Still showing white space left and right,

Shopify_
Made4uo-Ribe
Shopify Partner
9158 2183 2699

This is an accepted solution.

As I said also the icons will be in full width, like this. 

Made4uoRibe_0-1725567625705.png

 

Here is code I use.

 

@media screen and (min-width: 990px) {
.header--top-center .header__inline-menu {
        width: 100%;
}
.header:not(.drawer-menu).page-width {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}
details-modal.header__search {
    padding-left: 5rem;
}
.header__icons {
    padding-right: 5rem;
}
}

 

And Save. 

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.