Home › Forums › Support › How to remove padding from featured image on mobile only in single posts This topic has 3 replies, 2 voices, and was last updated 3 months, 2 weeks ago by David. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts April 27, 2022 at 10:07 am #2201981 Puneet Hi Currently, this is how the single post featured image looks on a mobile device:- https://snipboard.io/3fYNBG.jpg How do I remove the padding from its sides so that it applies only on mobile and not on desktop? It’s not happening through the customizer. If I tick the padding off, then it goes off for all devices. Want to achieve something like this on mobile:- https://snipboard.io/TBmzc9.jpg Thanks and regards, Puneet April 27, 2022 at 10:30 am #2202005 DavidStaff Customer Support Hi there, try adding this CSS: @media(max-width: 768px) { .single-post .featured-image { margin-left: -30px; margin-right: -30px; } } the negative margin values should equal the same px value as you have for your mobile container padding. Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ April 27, 2022 at 10:46 am #2202015 Puneet Hi David, Works perfectly, thanks. Regards, Puneet April 27, 2022 at 12:19 pm #2202076 DavidStaff Customer Support Glad to hear that Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In