Shopify themes, liquid, logos, and UX
I am currently using the Dawn theme. My nav is center and I want to move my logo fully to the left.
I would also like to color the background of my navigation menu, with no spaces on either side of it (full color).
Solved! Go to the solution
This is an accepted solution.
Do you mean like this?
If it's not would you mind provide some sample designs. I used this code.
@media screen and (min-width: 990px) {
.header--top-left, .header--middle-left:not(.header--has-menu) {
grid-template-columns: 1fr auto 1fr;
}
nav.header__inline-menu {
grid-area: 2/ span 3;
text-align: center;
background: green;
}
.header__icons.header__icons--localization.header-localization {
grid-area: 1/3;
}
.header__active-menu-item, .header__menu-item {
color: white;;
}
.header:not(.drawer-menu).page-width {
padding-left: 0px;
padding-right: 0px;
}
h1.header__heading {
padding-left: 5rem;
}
.header__icons.header__icons--localization.header-localization {
padding-right: 5rem;
}
.list-menu--inline {
justify-content: center;
}
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hi Back2natureheal, Please open the header section and after opening your header, there will be an option of the desktop logo position name through which you can change the position of the logo and navigation. also, I have attached the reference image.
If you want to change your Navigation background color, you will get a option in header section (Color or Color Schema ) you can change the Navigation background color to whatever you want. I have attached the reference image for your help. If you need any other help, please let us know.
So for the logo - the option that works for me right now is the 'Top left' option - however the navigation menu is also aligned left, and I want it centered. When I use the 'middle center' option - my nav is aligned left and my logo is aligned center which isnt what I want!
And for the nav color - I want only my menu to be colored green, and the rest of my nav to be white - this cannot be achieved with the settings as it changes it all to the one color.
Through CSS you can change the menu color . I have share the code below please paste this code in you base.css file your nav menu color will be green.
I would like the background of the nav to be green, instead of the text. And make the full width of the nav green if that makes sense.
Hi Please share your store URL so I can help you change your nav background color.
Thanks!
This is an accepted solution.
Do you mean like this?
If it's not would you mind provide some sample designs. I used this code.
@media screen and (min-width: 990px) {
.header--top-left, .header--middle-left:not(.header--has-menu) {
grid-template-columns: 1fr auto 1fr;
}
nav.header__inline-menu {
grid-area: 2/ span 3;
text-align: center;
background: green;
}
.header__icons.header__icons--localization.header-localization {
grid-area: 1/3;
}
.header__active-menu-item, .header__menu-item {
color: white;;
}
.header:not(.drawer-menu).page-width {
padding-left: 0px;
padding-right: 0px;
}
h1.header__heading {
padding-left: 5rem;
}
.header__icons.header__icons--localization.header-localization {
padding-right: 5rem;
}
.list-menu--inline {
justify-content: center;
}
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
This worked PERFECTLY! Thank you!!
Would you midn to share your store URL? Thanks!
Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024Note: Customizing your CSS requires some familiarity with CSS and HTML. Before you cust...
By JasonH Aug 12, 2024