I would like the logo name, menu and shopping bag --- the whole header move a bit lower to fit in blank.
May i know if anyone can help ><
Thank you so much !
Solved! Go to the solution
Can you please paste the url to your store?
So you have 2 options:
Change this:
.site-header__logo-wrapper {
display: inline-block;
margin-bottom: 0;
padding: ($gutter / 2) 0;
text-align: center;
line-height: 1.2;
}
To this:
.site-header__logo-wrapper {
display: inline-block;
margin-bottom: 0;
padding: ($gutter / 2) 0;
text-align: center;
line-height: 1.2;
margin-top: 3px;
}
Oh, adjust the 3 in margin-top: 3px to the number which positions your logo correctly
Hi @elinaccm I see to solutions here:
1. The most simple is to edit the logo in an image processing app (like photoshop) and add the whitespace (or transparent space if it is a PNG) directly to the logo. With this solution you will not need editing code which can be overwritten if you update the theme
second solution coming in a sec
Second solution:
.site-header__logo-wrapper {
display: inline-block;
margin-bottom: 0;
padding: ($gutter / 2) 0;
text-align: center;
line-height: 1.2;
}
Add a line after the line-height property to add a margin-top like this:
.site-header__logo-wrapper {
display: inline-block;
margin-bottom: 0;
padding: ($gutter / 2) 0;
text-align: center;
line-height: 1.2;
margin-top: 3px;
}
Adjust the 3px to whatever value positions your logo how you desire
Please like and accept one of my answers if it solves your issue
This is an accepted solution.
Sorry! I didn't read correctly your question, I thought you wanted to move only the logo.
To move also menu and shopping cart, you can use this:
.site-header__wrapper .site-header-sections {
padding-top: 6px;
}
Add it at the end of Assets/theme.css.liquid
User | Count |
---|---|
437 | |
193 | |
139 | |
57 | |
44 |