I added CSS to the theme’s Featured Product section to increase its padding, placing the CSS in the new custom css field of the section; however, this adds the padding to both the desktop and mobile views, and I would like the mobile view to have a different padding value.
Thank you.
Hello @fencetalk
To provide you with the most precise solution in this case, could you please share your page URL ( with pass if your store password is enabled )?
Thank you and hope to hear from you.
Best regards,
GemPages Support Team
Hi @fencetalk , you need to add code in a media query so the code will apply for mobile or desktop only. You can check this article to learn more about media query
https://www.w3schools.com/css/css_rwd_mediaqueries.asp
I can’t get it to work, but at least I have a direction. Thank you.
1 Like