I’m using BeTheme, a premium WordPress theme. I edited the CSS and added this,
.the_content_wrapper{
font-size:27px;
line-height:1.6em;
padding-left:270px;
padding-right:270px;
position:relative;
font-family:Oxford1;
}
This works fine while viewing on Desktops, but while I checked using Inspect Elememt for display in iPhones and other phones, I couldn’t read at all. It was fully blank due to the Padding. When I changed the padding to 0, the site became responsive again.
How do I go about correcting it?
I tried installing Custom CSS for Mobiles and Jetpack, but the code I found doesn’t work. I do not know what div or classes to use.
Can you all help me? How do I display in the mobile as so it seems responsive.
Thankyou!
You need to use media queries like this:
N.B. Edit the width accordingly