Hello,
I am trying to adjust the width of my buttons on mobile only. They currently look great and work fine, but i would like to increase CRO by making my buttons on the home page (only) full width.
My website is www.aug11.co.
TYIA
Hello,
I am trying to adjust the width of my buttons on mobile only. They currently look great and work fine, but i would like to increase CRO by making my buttons on the home page (only) full width.
My website is www.aug11.co.
TYIA
Hi @johnnysays
This is Richard from PageFly - Shopify Page Builder App
Please add this code to your theme.liquid above the to get this solved
Step 1: Online Stores > Themes > More Actions > Edit code
Step 2: click on theme.liquid and paste the code above the
{% if template contains 'index' %}
{% endif %}
Hope this can help you solve the issue
Best regards,
Richard | PageFly
Hello @johnnysays ![]()
In Shopify Admin, you can go to Edit theme code, open file base.css and add this code at the bottom
@media (max-width: 989px) {
#shopify-section-template--21613601423655__rich-text .rich-text__buttons a {
width: 100% !important;
}
}
The result on mobile
Hope that helps!
Go to your Online store > Themes > Edit code > open theme.liquid file, add this code below after element
{% if template == 'index' %}
{% endif %}
That worked perfectly, thank you so much!
Glad that i can help. Have a nice day ![]()