Comments granthenderson started the conversationOctober 25, 2017 at 10:53pmHello, I've applied padding in the custom CSS to narrow the column on my posts. This displays well on desktop, but the column is too narrow, and left aligned, on mobile. Please see this link: http://ourfamilytravels.freerangemediatestsite.xyz/heartfelt-traveller/tania-from-little-italian-school/I have tried some @media tags in CSS to fix this, but I can't seem to fix this. Could you please help? ThanksGrant 9,016Tahir repliedOctober 26, 2017 at 10:54amHey Grant,You have to set a min-width media query so the padding only works on screen size higher than the min-width . Add this into the Custom CSS box located in your Salient Options panel (Make Sure there are no red cross in the Box) : @media only screen and (min-width: 690px) { .post-content { padding-left: 130px!important; padding-right: 130px!important; padding-bottom: 100px!important; } } Thanks ThemeNectar Support Team 1 Likegranthenderson repliedOctober 26, 2017 at 8:43pmMany thanks, Tahir - your support is fantastic. Sign in to reply ...
Hello, I've applied padding in the custom CSS to narrow the column on my posts. This displays well on desktop, but the column is too narrow, and left aligned, on mobile.
Please see this link: http://ourfamilytravels.freerangemediatestsite.xyz/heartfelt-traveller/tania-from-little-italian-school/
I have tried some @media tags in CSS to fix this, but I can't seem to fix this. Could you please help?
Thanks
Grant
Hey Grant,
You have to set a min-width media query so the padding only works on screen size higher than the min-width .
Add this into the Custom CSS box located in your Salient Options panel (Make Sure there are no red cross in the Box) :
Thanks
ThemeNectar Support Team
Many thanks, Tahir - your support is fantastic.