Shopify themes, liquid, logos, and UX
Hi there! For some reason, the Dawn theme does not allow customization of header menu placement. I would like it to be on the right side of the header, not the left. I would like to keep the logo on the left. Thanks!
https://werise.co/?fts=0&key=9e4a665f68b2e32aba270b44acc2a8b1aeca3da267aa69b72db776da3a31951a
Solved! Go to the solution
This is an accepted solution.
sorry for any issue 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 .header__inline-menu {text-align: right;}
This is an accepted solution.
sorry for any issue 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 .header__inline-menu {text-align: right;}
Thank you!
its my pleasure to help us
Hi There - I am trying to use the same code but am having trouble getting into to work with my Dawn theme. I have pasted at the very bottom of base.css but when I refresh, the menu items still are left aligned next to the logo.
sorry for that issue can you please share store url so i will check and let you know
Hi - Thanks so much for the reply. The URL is https://volleyllamapickle.com.
Please let me know if you need anything further!
Thanks,
Connor
thanks but your store is password protected
@KetanKumar sorry about that - store is now live and un password protected. Thanks for taking a look.
Connor
yes please try this code
1. Go to Online Store->Theme->Edit code
2. Asset->/base.css->paste below code at the bottom of the file.
@media screen and (min-width: 990px) {
.header--middle-left {grid-template-columns: auto auto 0fr;}
}
hi @KetanKumar thanks so much for this code - This brought my two menu items more centered on the page - Any suggestions to make the menu completely right-aligned (logo on the left still) on the header so they are right next to the search and checkout buttons?
Thanks again
yes please add this code
.site-header .wrapper {
max-width: 100%;
}
I tried adding all these things and the menu still won't right align.
@media screen and (min-width: 990px) {
.header--middle-left {grid-template-columns: auto auto 0fr;}
}.site-header .wrapper {
max-width: 100%;
}
I'm trying to do the same thing, and the code doesn't work on my site. Why Shopify doesn't do this officially is beyond me imo. The default style is terrible UI/UX.
sorry for terrible that issue 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.
@media screen and (min-width: 990px) {
.header--middle-left .header__inline-menu {text-align: right;}
}
IT WORKED THANK YOU!
wow that would be great
Hey @KetanKumar your help on this thread is amazing!
Quick question - on the Dawn theme I am trying to move my logo a little to the left (it is currently left aligned, need to move it more to the left on larger screens). This is the code I tried adding to base.css and it didnt do anything, any suggestions? Much appreciated!
@media screen and (min-width: 750px) {
.logo-align--left {
position: relative;
left: 100px; /* change value as you like */
}
}
Hi! I have the dawn theme but unfortunately none of the codes above are working. My URL is nudehaven.myshopify.com I want my header menu on the far right side with logo still on the far left. I have a wishlist heart option on header so I don't know if this is why the codes aren't working for me
is there any way just move the logo center and keep the rest as default
yes, please share store url
i have manage to do that, but thank you so much for your reply.
Hey @KetanKumar , using dawn theme 4.0, the code seems to be different. Pasted your code, nothing happened. Maybe you could help again, would be awesome!
Hi, Im having an issue with the mobile layout. I would like to have the drop down menu on the far left next to the basket icon but there isn't an option I would also like to have the logo on the left can you help? website is : www.nomad-explorer.com
Hi Katen i think that code don´t work on dawn 2.0, i put that code and nothing happens, any idea? Txs for your help
can you please send store url
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.
@media screen and (min-width: 990px) {
.header--middle-left {grid-template-columns: 1fr !important;}
}
Layout Preview After Code..
Txs Ketan it works perfectly
no rush its my pleasure to help us
Hi Ketan,
Is there a way to move ONLY the mobile version of the menu to the right side? I'm happy with the default PC setup, but the menu being on the left in mobile makes no sense.
Sorry you are facing this issue, it would be my pleasure to help you.
Welcome to the Shopify community!😊
Thanks for your good question.
Please share your site URL,
I will check out the issue and provide you a solution here.
Thank you so much!
My URL is https://on-targit.com/
in the mobile version of my site I'd like to have the three lines menu in the top right instead of left. It's more intuitive to tap on the screen there especially if you have a large phone.
Again, thanks for looking into this for me!
thanks for details
can you please confirm
Yeah, how did you manage that? I see you editing the code using developer tools, but is this possible to pinpoint the mobile only code within the dawn theme?
User | RANK |
---|---|
155 | |
137 | |
75 | |
71 | |
62 |
Explore the 30-30-30 rule, a dynamic social media strategy for new businesses. Learn how t...
By Trevor Sep 20, 2023Discover how to leverage the often overlooked footer of your ecommerce site to gain custom...
By Skye Sep 15, 2023In this blog, we’ll be shining a light on Shopify Partners, Experts, and Affiliates. Who a...
By Imogen Sep 13, 2023