Emma456 Posted April 4, 2022 Share Posted April 4, 2022 Site URL: http://www.stampdesignco.comp Hi, I've tried to find the code for this myself but can't seem to make it work. Does anyone know how to adjust the line height of a Product Title in mobile view only? There's a lot of white space between the title and image - I'm wanting to shift the title down a little and move the image up so there's less of a gap. Thank you! Link to comment
Jia Posted April 4, 2022 Share Posted April 4, 2022 1 hour ago, Emma456 said: Site URL: http://www.stampdesignco.comp Hi, I've tried to find the code for this myself but can't seem to make it work. Does anyone know how to adjust the line height of a Product Title in mobile view only? There's a lot of white space between the title and image - I'm wanting to shift the title down a little and move the image up so there's less of a gap. Thank you! Hi, try adding this code to custom css (Design > Custom CSS) and let me know how it goes 🙂 @media screen and (max-width:767px) { h1.ProductItem-details-title { margin-bottom: -1em !important; } } Emma456 and tuanphan 2 Please give this a 👍 if it helps www.sevenstars.studiowww.instagram.com/sevenstars.studio Link to comment
Emma456 Posted April 4, 2022 Author Share Posted April 4, 2022 Thank you so much!! Worked perfectly!! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment