I would like to move the text on my slideshow so that it is at the top center of the photo. I am using the Craft theme and I have tried to look at previous questions but the code edits did not work for me (or I didn’t put them in the right place). Can anyone please advise?
Thank you!
Hi @houseofhunter ,
Please share your store URL and if your store is password protected then please provide password too.
So that we can help you.
Thank you.
www.shophouseofhunter.com
The store is not password protected.
Thank you!
Hi @houseofhunter ,
You can follow the instruction below:
- Go to Online Store->Theme->Edit code
- Asset->/section-image-banner.css->paste below code at the bottom of the file:
@media (max-width: 749px) {
#shopify-section-template--15746643525862__164781265870584c36 .banner__media {
position: relative;
}
#shopify-section-template--15746643525862__164781265870584c36 .banner__media {
order: 2;
}
#shopify-section-template--15746643525862__164781265870584c36 .banner__content {
height: 230px !important;
}
#shopify-section-template--15746643525862__164781265870584c36 .banner__content .slideshow__text * {
color: #000 !important;
}
#shopify-section-template--15746643525862__164781265870584c36 .banner__content .slideshow__text .button {
border: 1px solid #000 !important;
}
#shopify-section-template--15746643525862__164781265870584c36 .banner__content .slideshow__text .button:after {
box-shadow: none;
}
}
If you feel like my answer is helpful, please mark it as a SOLUTION. Let me know if you have any further questions.
@houseofhunter
sorry for that issue can you try this code
- Go to Online Store->Theme->Edit code
- Asset->/section-image-banner.css ->paste below code at the bottom of the file.
@media screen and (max-width: 749px) {.banner__content{align-items: start;}}
Please add below css in bottom of assets/section-image-banner.css file
@media screen and (max-width: 749px){
.banner__content {
align-items: flex-start;
}
}
Thank you.
This makes the text go to the top of the image, but I would like it on the image still, just at the top part of the image. Is there any way to do this? Thank you!
This makes the text go to the top of the image, but I would like it on the image still, just at the top part of the image. Is this possible? Thank you!
This change makes the text go to the top of the image, but I would like it on the image still, just at the top part of the image. Is there any way to do this? Thank you!
Hi @houseofhunter ,
You try below code in section-image-banner.css file:
@media (max-width: 749px) {
#shopify-section-template--15746643525862__164781265870584c36 .banner__content {
position: absolute !important;
top: 0 !important;
}
}
If you feel like my answer is helpful, please mark it as a SOLUTION. Let me know if you have any further questions.
This worked! Last question - is it possible to have the text color changed to white?
Thank you so much!!
Nevermind, I was able to change the color code.
Thank you everyone for your help!!