Shopify themes, liquid, logos, and UX
I'm using dawn latest version in that I need to make popup (product page) font-size smaller and align it to center in mobile view, and also want to make all the add to cart and buy now font in uppercase.
website: https://rugd-in.myshopify.com/
password: rugged
Hi @Sivadarshan
1. Would you mind sharing which pop up that you want to edit?
2. For the uppercase custom for add to cart and buy now font, you can follow the instruction here:
- Go to Shopify > Online store > Theme > Customize > Custom CSS section on settings
- Copy and paste this code to the section > Save.
.product-form__buttons * {
text-transform: uppercase;
}
I hope it helps.
In that image previously shared , the text "SIZE CHART"
Hi again @Sivadarshan,
Here is the solution for the query of size chart pop up:
You can continue to go to Custom CSS and paste this code to that section > then you adjust the font size as desired > save
.product-popup-modal__content[aria-label="SIZE CHART"] * {
font-size: 10px !important;
}
Hello @Sivadarshan ,
Follow these steps:
1. Go to Online Store -> Theme -> Edit code
2. Open your base.css file and paste the following code at the bottom:
@media screen and (max-width: 767px) {
.product-popup-modal__opener {
text-align: center;
margin: 0 auto;
width: 100%;
}
}
.product-form__buttons * {
text-transform: uppercase;
}
Thanks
To customize the popup font size, center alignment on mobile, and make the "Add to Cart" and "Buy Now" buttons uppercase in the Dawn theme, you can adjust the CSS. Here’s how:
Go to Online Store > Themes > Edit Code.
Open the main CSS file, often named base.css or theme.css.
Add the following CSS to target mobile view:
Note: Replace .popup-selector-class with the actual class of the popup element. You can find this class by inspecting the popup in your browser’s Developer Tools.
In the same CSS file, add the following code to change the text for these buttons to uppercase:
These adjustments will help improve readability and consistency in the mobile layout.
Increase your conversion rate and enhance your user's shopping experience with smart guidance from the Debales AI Chatbot on Shopify! Ready to assist users effortlessly—let’s chat!
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024