Dear Team,
I have two questions.
How can I align the sold out button on the main page to the top left corner instead of bottom left corner?
2.How can I have the permanent sticky logo + menu bar header when user scroll down&up?
My url is https://gbjxzl5fy67ga11p-42324328597.shopifypreview.com
Sincerely for your patience!
@iamdawnumcm
please Go to Online Store->Theme->Edit code then go to assets/base.css->paste below code at the bottom of the file.
.header-wrapper {
display: block;
position: fixed !important;
background-color: rgb(var(--color-background));
width: 100% !important;
}
#shopify-section-announcement-bar {
z-index: 4;
position: fixed !important;
width: 100% !important;
}
Thanks!
@iamdawnumcm
Please clear following point
How can I align the sold out button on the main page to the top left corner instead of bottom left corner?
So on the home page, when products sold out. There will be a sold out badge. I want to move the sold out badge to the top left corner of the product image.
https://gbjxzl5fy67ga11p-42324328597.shopifypreview.com
And can I have the sold out badge as in light grey like this instead of black?
@iamdawnumcm
please Go to Online Store->Theme->Edit code then go to assets/base.css->paste below code at the bottom of the file.
@media screen and (max-width: 749px){
.header-wrapper {margin-top: 5rem;}
#MainContent{margin-top: 15rem;}
.card__badge {bottom: 12rem !important;}
}
@media screen and (min-width: 750px){
#MainContent{margin-top: 15rem;}
.card__badge {bottom: 20rem !important;}
}
And can I have the sold out badge as in light grey like this instead of black?
@iamdawnumcm
.badge {
background-color: #A9A9A9 !important;
border-color: #f3f3f3 !important;
color: #000 !important;
}
MyLUCA
October 8, 2021, 1:24pm
8
Hi @dmwwebartisan
when I paste this code into the file, the menu is partly covered by the announcement bar.
https://luca-wallets.myshopify.com/
PW: myluca
Thank you.
@MyLUCA
Please remove old code and add following code
please Go to Online Store->Theme->Edit code then go to assets/base.css->paste below code at the bottom of the file.
.header-wrapper {
display: block;
position: fixed !important;
background-color: rgb(var(--color-background));
width: 100% !important;
top: 35px;
}
#shopify-section-announcement-bar {
z-index: 4;
position: fixed !important;
width: 100% !important;
}
Thanks!
MyLUCA
October 8, 2021, 1:58pm
10
Perfect. Thank you so much!
MyLUCA
October 8, 2021, 3:20pm
12
Hey @dmwwebartisan
I just saw that now the bar + menu covers probably 35px of the rest of the page.
In mobile view and in normal view.
@MyLUCA
please Go to Online Store->Theme->Edit code then go to assets/base.css->paste below code at the bottom of the file.
@media screen and (max-width: 749px){
#MainContent{margin-top: 15rem;}
}
@media screen and (min-width: 750px){
#MainContent{margin-top: 15rem;}
}
Thanks!
MyLUCA
October 8, 2021, 3:44pm
14
Thanks.
I found out how I can like, but how do I accept a solution?
Hi Thanks for the message. The color changed but the alignment of"Soldout" is wrong in the product page.