A user seeks to customize the Dawn theme’s product page popup on mobile devices, specifically wanting to reduce font size, center-align content, and make “Add to Cart” and “Buy Now” button text uppercase.
Solutions provided:
Uppercase buttons: Add CSS code to the Custom CSS section in Theme settings:
Size chart popup customization: Target the popup with specific CSS for mobile views (max-width: 767px), adjusting text-align to center, margin, and width properties.
Font size adjustment: Use Custom CSS to modify the size chart popup font:
Multiple community members provided similar solutions involving editing the base.css file or using the Custom CSS section in Theme Customizer. All recommendations emphasize testing changes on mobile view and adjusting pixel values as needed. The discussion includes code snippets and step-by-step instructions for implementing these customizations.
Summarized with AI on November 4.
AI used: claude-sonnet-4-5-20250929.
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.
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:
1. Adjust Font Size and Center Alignment in the Popup on Mobile- 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:
css
Copy code
@media only screen and (max-width: 768px) { /* Center align and reduce font size in popup / .popup-selector-class { / Replace with the actual popup class / text-align: center; font-size: 14px; / Adjust to your preferred font size */ } }
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.
2. Make “Add to Cart” and “Buy Now” Text Uppercase- In the same CSS file, add the following code to change the text for these buttons to uppercase:
After saving, check your product page on mobile to ensure the font size, alignment, and button styles appear as desired.
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!