Shopify themes, liquid, logos, and UX
Hi,
I need help centering the CTA button on mobile version and changing the button color on mobile version only as the ritualstash.com button just blends into the background. Thanks in advance.
Solved! Go to the solution
This is an accepted solution.
Hi @ritualstash
Check this one.
From you Admin page, go to Online Store > Themes
Select the theme you want to edit
Under the Asset folder, open the main.css(base.css, style.css or theme.css)
Then place the code below at the very bottom of the file.
@media screen and (max-width: 767px) {
.videoBoxInfoTitle, .videoBackground .videoBoxInfoBtn {
display: inline-flex !important;
}
.videoBox .videoBoxInfo {
position: absolute;
top: 50%;
background: transparent;
}
}
And Save.
result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Not sure on the centering the mobile CTA button. But for the button I'd either change the button colour or change the background.
Also if that moving image on the front page is a video you've uploaded to your asset library - go back and edit a background for that button into the video, should be possible. Easier than trying to frame it custom with Shopify tools.
This is an accepted solution.
Hi @ritualstash
Check this one.
From you Admin page, go to Online Store > Themes
Select the theme you want to edit
Under the Asset folder, open the main.css(base.css, style.css or theme.css)
Then place the code below at the very bottom of the file.
@media screen and (max-width: 767px) {
.videoBoxInfoTitle, .videoBackground .videoBoxInfoBtn {
display: inline-flex !important;
}
.videoBox .videoBoxInfo {
position: absolute;
top: 50%;
background: transparent;
}
}
And Save.
result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Thank you so much! that worked perfectly.
Welcome, Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025