Shopify themes, liquid, logos, and UX
Hi, I want to change the 'X' button to say 'CLOSE' in Times New Roman when you click on a product image to enlarge.
I'm using the dawn theme (https://41nc49jsxsxvgmgl-74826613002.shopifypreview.com)
Hi @rene94,
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file base.css, theme.css, styles.css or theme.scss.liquid
Step 3: Insert the below code at the bottom of the file -> Save
.product-media-modal__toggle[aria-label="Close"] {
display: none !important;
}
Here is result:
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍
Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges: Get more sales with striking labels, badges, and banners from our 10,000+ available templates.
BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
Hi thanks for the reply, but i dont just want to remove it i want to replace it with the word CLOSE in the times new roman font
Hi @rene94,
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file base.css, theme.css, styles.css or theme.scss.liquid
Step 3: Insert the below code at the bottom of the file -> Save
.product-media-modal__toggle {
border: none !important;
outline: none !important;
}
Step 4: Search file theme.liquid. Then insert this code to your file:
<script>
let btn_close_modal = document.querySelector('.product-media-modal__toggle');
if(btn_close_modal) {
btn_close_modal.innerHTML = "Close";
}
</script>
Here is result;
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍
Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges: Get more sales with striking labels, badges, and banners from our 10,000+ available templates.
BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
Hello There,
1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > base.css and paste this at the bottom of the file:
.product-media-modal__toggle {
display: none;
}
Hello @rene94,
The preview link has been expired. can you please share another one so that I can check and suggest you a possible solution?
Thank you
Thanks for sharing.
Need to add code into base.css file
.product-media-modal__toggle{
display: none !important;
}
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