Re: Align menu navigation to right (Studio theme)

Solved

Align menu navigation to right (Studio theme)

thrilly
Tourist
4 0 16

Hi. I'm using the Studio theme, and I would like to align the menu navigation in the header to the right (on desktop). There'll be more menu items soon, and I've taken out the shopping cart and search functions as I currently don't need them. This is the URL: https://sjappavaar.myshopify.com/

 

Thanks for any help!

Accepted Solution (1)

AvadaCommerce
Shopify Partner
3879 840 997

This is an accepted solution.

Hi @thrilly ,

 

You can follow the instruction below:

1. Go to Online Store->Theme->Edit code
2. Asset->/base.css->paste below code at the bottom of the file:

@media (min-width: 990px) {
.header--middle-left {
     grid-template-columns: auto 1fr !important;
}
.header__icons {
     display: none !important;
}
.header--middle-left .header__inline-menu {
    text-align: right !important;
}
}

If you feel like my answer is helpful, please mark it as a SOLUTION. Let me know if you have any further questions.

banned

View solution in original post

Replies 4 (4)

AvadaCommerce
Shopify Partner
3879 840 997

This is an accepted solution.

Hi @thrilly ,

 

You can follow the instruction below:

1. Go to Online Store->Theme->Edit code
2. Asset->/base.css->paste below code at the bottom of the file:

@media (min-width: 990px) {
.header--middle-left {
     grid-template-columns: auto 1fr !important;
}
.header__icons {
     display: none !important;
}
.header--middle-left .header__inline-menu {
    text-align: right !important;
}
}

If you feel like my answer is helpful, please mark it as a SOLUTION. Let me know if you have any further questions.

banned
thrilly
Tourist
4 0 16

Thank you! This worked perfectly. @AvadaCommerce 

KetanKumar
Shopify Partner
37488 3664 12134

@thrilly 

can you try this code

1. Go to Online Store->Theme->Edit code
2. Asset->/base.css->paste below code at the bottom of the file:

.header--middle-left {grid-template-columns: auto 1fr !important;}
.header__icons {display: none !important;}
.header--middle-left .header__inline-menu {text-align: right !important;}

 

If helpful then please Like and Accept Solution. Partnership of your ️ Coffee Tips and my code can bring miracles.
Want to modify or custom changes on store Hire Me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing

PaulNewton
Shopify Partner
7536 666 1595

Also note since it's grid you can rearrange the template areas.

.header--middle-left {
    grid-template-columns: auto 1fr 3fr;
    grid-template-areas: "heading icons navigation";
}

 

or with the icons area omitted when they are not displayed by css or not rendered

 

.header--middle-left {
    grid-template-columns: auto 1fr;
    grid-template-areas: "heading navigation";
}

 

Contact paull.newton+shopifyforum@gmail.com for the solutions you need


Save time & money ,Ask Questions The Smart Way


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Thank Paul with a Coffee for more answers or donate to eff.org