Shopify themes, liquid, logos, and UX
Hi there,
I managed the separate the logo from the nav menu, but I want to:
1. continue to move logo to the far left
2. add a different background color to the nav below the logo
3. Expand the search bar and give it its own color
Here's my site: stickersmania.store
Attached photo of what I'd like to accomplish. Please help.
Solved! Go to the solution
This is an accepted solution.
Hi @ralo
TRy this one.
@media screen and (min-width: 989px) {
header.header.header--top-left.header--mobile-center.page-width {
max-width: 100%;
}
.desktop-search .search-modal__form {
width: 60rem;
}
.desktop-search {
position: absolute;
left: 50%;
transform: translate(-50%);
}
.header-wrapper header:not(.drawer-menu).page-width {
padding-left: 0;
padding-right: 0;
padding-bottom: 0
}
h1.header__heading {
padding-left: 5rem;
}
.header__icons {
padding-right: 5rem;
}
nav.header__inline-menu {
background: lightpink;
padding-left: 5rem;
}
.search-modal__form .field__input {
background: lightgrey;
}
}
@media screen and (max-width: 1300px) {
.desktop-search .search-modal__form {
width: 40rem;
}
}
@media screen and (max-width: 990px) {
.desktop-search .search-modal__form {
width: auto;
}
}
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
This is an accepted solution.
Hi @ralo
TRy this one.
@media screen and (min-width: 989px) {
header.header.header--top-left.header--mobile-center.page-width {
max-width: 100%;
}
.desktop-search .search-modal__form {
width: 60rem;
}
.desktop-search {
position: absolute;
left: 50%;
transform: translate(-50%);
}
.header-wrapper header:not(.drawer-menu).page-width {
padding-left: 0;
padding-right: 0;
padding-bottom: 0
}
h1.header__heading {
padding-left: 5rem;
}
.header__icons {
padding-right: 5rem;
}
nav.header__inline-menu {
background: lightpink;
padding-left: 5rem;
}
.search-modal__form .field__input {
background: lightgrey;
}
}
@media screen and (max-width: 1300px) {
.desktop-search .search-modal__form {
width: 40rem;
}
}
@media screen and (max-width: 990px) {
.desktop-search .search-modal__form {
width: auto;
}
}
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
@Made4uo-Ribe wow thanks so much! I managed to do it and edit the colors a bit. Will send coffee rn!
Do you know how I can get rid of the black border around the search bar? I tried adding border none and outline none but that didn't do it,
Hi @ralo
.field__input:focus {
box-shadow: unset !important;
}
Thank you for the tips, add this one. Same instruction.
.field__input:focus-visible, .field__input:focus {
box-shadow: none !important;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
@Made4uo-Ribe
1. I was able to make the border less black, but it's not gone completely. Is there a way to remove it completely like the photo attached?
2. Kindly go to one of my stickers product pages here, can you see the logo all the way to the left without padding? How can I add padding so it only affects the product template and not the homepage where the logo looks good already. Please and thank you, will stay tuned!
As 2024 wraps up, the dropshipping landscape is already shifting towards 2025's trends....
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024