Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello there and thank you for reading!
What bothers me the whole time about my online shop is that the logo on mobile devices is too big and not placed in the middle.
Can someone please help me?
I would be very grateful!!!
Thank you for your time!
Best regards
Solved! Go to the solution
This is an accepted solution.
Hello There,
1. Go to Online Store->Theme->Edit code
2. Asset->/theme.scss.liquid->paste below code at the bottom of the file.
@media screen and (max-width: 749px){
.logo-align--left .site-header__logo {
position: absolute;
top: 0;
height: 100%;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
padding: 0;
margin: 0;
}
header.site-header.border-bottom.logo--left {
padding-top: 6px;
}
.logo-align--left .site-header__logo a.site-header__logo-image img {
max-width: 110px !important;
}
div#PageContainer {
padding-top: 60px;
}
.site-header__icons .site-header__icon.site-header__menu.js-mobile-nav-toggle {
position: absolute;
left: 0;
}
.grid__item.site-header__icons,
.grid__item.site-header__icons .site-header__icons-wrapper {
position: unset;
}
}
This is an accepted solution.
Hello There,
1. Go to Online Store->Theme->Edit code
2. Asset->/theme.scss.liquid->paste below code at the bottom of the file.
@media screen and (max-width: 749px){
.logo-align--left .site-header__logo{
z-index: -1;
}
.site-header__icons .btn--link.site-header__icon.site-header__search-toggle {
position: absolute;
left: 42px;
}
}
Hello There,
Please share your store URL and password.
So that I will check and let you know the exact solution here.
Hi and thank you for your reply!
We will send you the information privately.
With best regards!
This is an accepted solution.
Hello There,
1. Go to Online Store->Theme->Edit code
2. Asset->/theme.scss.liquid->paste below code at the bottom of the file.
@media screen and (max-width: 749px){
.logo-align--left .site-header__logo {
position: absolute;
top: 0;
height: 100%;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
padding: 0;
margin: 0;
}
header.site-header.border-bottom.logo--left {
padding-top: 6px;
}
.logo-align--left .site-header__logo a.site-header__logo-image img {
max-width: 110px !important;
}
div#PageContainer {
padding-top: 60px;
}
.site-header__icons .site-header__icon.site-header__menu.js-mobile-nav-toggle {
position: absolute;
left: 0;
}
.grid__item.site-header__icons,
.grid__item.site-header__icons .site-header__icons-wrapper {
position: unset;
}
}
It worked, thank you very much for your time and effort to help us, we are very grateful!
Kindly feel free to get back to me if you need any further assistance Thanks!
Thank you for offering me further help, could you please read my last answer? Thanks a lot!
Unfortunately, I just realized that there was a problem.
The search function (magnifying glass) no longer works ...
Could you perhaps have a look and if you also have the option, move it to the left next to the menu?
Thank you for your time, best regards
This is an accepted solution.
Hello There,
1. Go to Online Store->Theme->Edit code
2. Asset->/theme.scss.liquid->paste below code at the bottom of the file.
@media screen and (max-width: 749px){
.logo-align--left .site-header__logo{
z-index: -1;
}
.site-header__icons .btn--link.site-header__icon.site-header__search-toggle {
position: absolute;
left: 42px;
}
}
Many Thanks! Everything works fine now. Thank you again for taking the time
what theme you are using?? option might be already in theme go to online store -> customize -> select header scroll down
Hi there thank. you for your answer,
we are using the debut theme, could you help us?
Best regards!
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024