All things Shopify and commerce
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hi all!
I am trying to change the position of the text on the images of my slideshow in the homepage. I want it to be on the far left.
That's how it looks currently and I want the text to be on the far left. I have set the desktop content position to bottom left and desktop content alignment to left but it didn't help. I want to do that for all the images on my slideshow. I would really appreciate any help!
Thanks in advance
Theme: Dawn theme
Solved! Go to the solution
This is an accepted solution.
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.css / based.css file and paste the code in the bottom of the file.
@media(min-width:768px){
.slideshow__text-wrapper.banner__content.banner__content--bottom-left.page-width.banner--desktop-transparent {
padding-left: 0 !important;
margin-left: 50px !important;
}
}
Result:
If my reply is helpful, kindly click like and mark it as an accepted solution.
If you are happy with my help, you can help me buy a COFFEE
Thanks!
Hi @Mohd01 , kindly provide your store URL please and if it is password protected, please share the password as well. Thanks
Hello @Mohd01
would you like to share your store URL and password if any please.
so i can check and provide you possible solution for your question.
Hi @Mohd01
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.css / based.css file and paste the code in the bottom of the file.
@media(min-width:768px){
.banner__content.banner__content--bottom-left.page-width.scroll-trigger.animate--slide-in {
padding-left: 0px !important;
margin-left: 50px !important;
}
}
If my reply is helpful, kindly click like and mark it as an accepted solution.
If you are happy with my help, you can help me buy a COFFEE
Thanks!
Hey!
I really appreciate ur help and time. The solution you provided only fixed it for the first image only and not for the other images, so if you have any idea how to do it for the other images i would really appreciate it!
Give me the store view link, not the Shopify access.
This is an accepted solution.
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.css / based.css file and paste the code in the bottom of the file.
@media(min-width:768px){
.slideshow__text-wrapper.banner__content.banner__content--bottom-left.page-width.banner--desktop-transparent {
padding-left: 0 !important;
margin-left: 50px !important;
}
}
Result:
If my reply is helpful, kindly click like and mark it as an accepted solution.
If you are happy with my help, you can help me buy a COFFEE
Thanks!
Thanks! It worked, I really appreciate it.
Hey, sorry for the bothering but do u know how to change the size of the product image below too? i want to make it wider
Do you just want to make the product image wider?
Yes, so it is as wide as the image in the slideshow above
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.css / based.css file and paste the code in the bottom of the file.
@media(min-width:768px){
.page-width {
max-width: 100% !important;
Padding: 0px !important;
}
}
If my reply is helpful, kindly click like and mark it as an accepted solution.
If you are happy with my help, you can help me buy a COFFEE
Thanks!
Hey, it did indeed make it wider but also increased the height. I want it to be the same hight so that white space between the product image and the slideshow is still there.
@Mohd01 Try this
.page-width {
max-width: 100% !imortant;
padding: 35px 20px !imortant;
}
Hey, sadly it did not make it wider
.page-width {
max-width: 100% !imortant;
padding: 35px 0 !imortant;
}
Hey man, I'm really sorry for the bothering but that didn't work as well. If you want. Again, I'm really sorry.
Hi @Mohd01
You can follow this instruction:
1. Go to Shopify > Theme > Customize
2. Copy and paste this code on Theme settings > Custom CSS section
.slideshow__text-wrapper {
padding: 0 !important;
margin: 0 !important;
}
Hope it helps.
Liz