Shopify themes, liquid, logos, and UX
hey, does anyone know how to resize the hero image so it fills the landing page, but not to where i have to scroll a lot. on mobile view, it looks great, but pc view the image is just so big and it almost is in your face. does anyone know how to resize it down. link: https://smartlitterco.com/
Hi,
We need to create separate image upload options for mobile and desktop. To create this we need to customize the slider.liquid code
Hi @SmartLitter ,
You can follow these steps:
Find the base.css file:
- Add the following CSS code at the end of the file:
@media only screen and (min-width: 600px) { .media > *:not(.zoom):not(.deferred-media__poster-button):not(.media__badge):not(.media__text-content){ height: 60% !important; } }
Note: You can adjust "60%" down or up to achieve your desired size.
- Then press "Save" to save.
The result you will achieve:
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
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