Shopify themes, liquid, logos, and UX
I want to decrease the size of this animation over the homepage image banner on my website https://swawe.store/
To decrease the animation size over the homepage image banner on your store, adjust the CSS by reducing the width and height of the animation container. Locate the relevant CSS file or section in the HTML and update the size properties accordingly.
Hi @swawestore
Step 1: Go to Admin -> Online store -> Theme > Edit code
Step 2: Search for the file base.css and add this code snippet to the end of the file
.animation_image img {
scale: 0.5;
}
The result
If it's helpful, please like and mark it as a solution, thank you
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
I want to attach a link with this animation like a link to my collection when someone clicks on it
Of course, let me guide you.
Step 1: Go to Admin -> Online store -> Theme > Edit code
Step 2: Search for the file theme.js or global.js and add this code snippet to the end of the file
document.addEventListener("DOMContentLoaded", () => {
document.querySelector(".animation_image img").addEventListener("click", e => {
window.location.href = "http://fb.com"
})
})
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
hide this on phone for now and show only on desktop can you tell that as well
It's not difficult at all, just follow these steps
Step 1: Go to Admin -> Online store -> Theme > Edit code
Step 2: Search for the file base.css and add this code snippet to the end of the file
@media screen and (max-width: 750px) {
.animation_image img {
display: none
}
}
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
Hi,
We're happy to see that our suggestion helped you solve the issue. Can you kindly give us a like and mark it as a solution? This can be a reference for other merchants if they have an issue like you.
Should you need any further information, please do not hesitate to contact us by tagging directly at Community post. We will check and let you know soon.
Thanks in advance.
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025