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
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