Hi Shopify community,
I am seeking help from you on aligning and grouping the landing page image with the copy displayed beside it. At this time I tried doing some CSS customisations but due to how the slideshow component works, I could go some extend.
What I am looking to do is the following: (its an image):
Site: www.WearTheCosmos.in
Regards,
-VAD
Hi @codeN734
You can achieve this by adding this simple CSS code
You just need to follow these steps:
Go to the Online Store
Edit Code
Find theme.css / base.css
And past that CSS Code:
.slideshow__text-wrapper { align-items: center !important; }
.slideshow__text-wrapper .banner__box.content-container .banner__heading {font-size: 90px;text-align: center;}
.slideshow__text-wrapper .banner__buttons { width: 100%; justify-content: center; }
Result:
I hope this solution works for you!
If it does, please Like It and Mark It As A Solution , or support me by Buying Me A Coffee to keep me going!
Hi,
This worked for desktop. However, the mobile view is broken. Is there a way that we can keep the mobile view as is but update only the desktop version.
Regards,
-VAD
Yes sure you can replace the css with this updated one
@media(min-width:768px){
.slideshow__text-wrapper {align-items: center !important; }
.slideshow__text-wrapper .banner__box.content-container .banner__heading {font-size: 90px;text-align: center;}
.slideshow__text-wrapper .banner__buttons { width: 100%; justify-content: center; }
}
I hope this solution works for you!
If it does, please Like It and Mark It As A Solution , or support me by Buying Me A Coffee to keep me going!
DaisyVo
November 21, 2024, 2:37am
5
Hi @codeN734
To complete your requests, please follow these steps:
Go to Shopify Admin > Online Store > Theme > Customize > Theme Settings > Custom CSS https://prnt.sc/i8ljAMlHJUKl
Paste the code provided into the Custom CSS section.
@media screen and (max-width: 768px){
div#Slider-template--18451460358370__slideshow {
height: unset !important;
}
}
@media screen and (max-width: 768px){
div#Slider-template--18451460358370__slideshow {
height: unset !important;
}
.slideshow__text-wrapper .banner__box.content-container .banner__heading {
font-size: 40px !important;
}
}
Here is the result: https://prnt.sc/Lf5KJbVttY_j
I hope this helps
Best,
Daisy
1 Like
Thanks.. this worked for responsive view.
Thanks, this worked perfectly
1 Like