Shopify themes, liquid, logos, and UX
My theme is broadcast and I would like to remove the title on the left when zoom on image product
Then I want the backgound of the "X" transparent and not white
Thank you for the support
Solved! Go to the solution
This is an accepted solution.
Hi @SPStore
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 only screen and (max-width: 749px){
.pswp__caption__center, .pswp__caption.pswp__caption--empty {
display: none;
}
.pswp__custom-close {
background: transparent;
}
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
This is an accepted solution.
Hi @SPStore
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 only screen and (max-width: 749px){
.pswp__caption__center, .pswp__caption.pswp__caption--empty {
display: none;
}
.pswp__custom-close {
background: transparent;
}
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Very well! Thank you so much
This didn't work for me, I am using broadcast theme..
Hi @ghita1234
PLease, share your store URL. Thanks!
https://www.nostrikids.ca/products/striped-cotton-toddler-two-piece-set-comfortable-and-stylish
Website is still in development, not sure how to message you with the pass to get in
Just copy and paste my name to send me a private message.
use your username as pass, ill change it later... not even sure where to send private message on this thing.. Thank you.
I was able to complete this using a java script that I inputted in the theme.liquid: Below is the code inputed in the <head> section for everyones reference:
{%- render 'head' -%} {{ content_for_header }}
<script>
document.addEventListener("DOMContentLoaded", function() { var captions = document.querySelectorAll('.pswp__caption__center, .pswp__caption.pswp__caption--empty'); captions.forEach(function(caption) { caption.style.display = 'none'; }); });
</script>
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025