Hey hey!
I’m looking for some help with custom CSS for my webshop for Mobile only!
Website: https://worldofmina.be/
I’d like my logo to be in the center with the icons (in the red square) under the logo as well in the center.
Thank you in advance!
Hey hey!
I’m looking for some help with custom CSS for my webshop for Mobile only!
Website: https://worldofmina.be/
I’d like my logo to be in the center with the icons (in the red square) under the logo as well in the center.
Thank you in advance!
HI @WorldofMina ,
Go to Online Store, then Theme, and select Edit Code.
Search for base.css/theme.css/style.css/main.css/custom.css file Add the provided code at the end of the file.
@media (max-width: 768px){
h1.header__heading {
margin-left: -77px !important;
}
.header__icons{
justify-self: auto !important;
}
}
Hi @WorldofMina ,
Try this code.
@media screen and (max-width: 768px) {
#shopify-section-sections--23880637808978__header header.header {
justify-items: center !important;
}
}
@media (max-width: 768px){
h1.header__heading {
margin-left: -77px !important;
}
.header__icons{
justify-self: auto !important;
}
#shopify-section-sections--23880637808978__header header.header {
justify-items: center !important;
}
}
Thank you very much @CodingFifty
That did the trick!
Sorry @CodingFifty to bother you again but on IOS it looks different.
@media (max-width: 768px){
h1.header__heading {
margin-left: -77px !important;
}
.header__icons{
justify-self: auto !important;
}
#shopify-section-sections--23880637808978__header header.header {
justify-items: center !important;
}
header-drawer {
justify-self: left;
margin-left: -1.2rem;
margin-top: auto !important;
}
.header__heading-logo {
height: auto;
max-width: 65% !important;
margin: 0px auto !important;
display: flex !important;
justify-content: center;
align-items: center;
margin-left: 100px !important;
}
}
Set the margin-left value, which is currently 100px, according to your preference by increasing or decreasing it as needed.