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!
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024