Is there a way to left align the logo and keep the menu bar in the middle for all the pages?
The following picture depicts the scenario I want to do
Earlier on I used a code block and it changed only the home page, but what I want is to make the change on all pages.
The code block I used earlier is (used it on base.css) :
.header.header--top-center.page-width.header--has-menu {
position: relative;
}
.header__heading {
position: absolute;
left: -232px;
top: 5px;
}
URL: Abbasi (theabbasiandsons.myshopify.com)
Password: testingpage
1 Like
@noQueNoAe
Hi,
To resolve the top navigation issue, please follow the steps below.
- Go to Online Store > Customize > Header > Select Desktop logo position “Middle left” as below.
-
Save and Exit
-
Go to Actions > Edit code > Assets > open base.css file
-
Add the code below to base.css file
@media screen and (min-width: 740px) {
.header {
display: flex !important;
justify-content: space-between;
width: 100% !important;
margin-left: auto;
margin-right: auto;
}
}
- Save & Exit
It will be as below.
If you resolve the issues, please click “Like” and “Accept solution”.
If you have any questions or have not resolved the issue, please let me know.
Hope it helps.
Thanks.
5 Likes
PeakyCC
3
It did something but now my logo it a the same place and the header content moved to the right
Thank you so much! This was exactly what I was looking for and it works perfectly well in Dawn Theme!
1 Like