Home › Forums › All Other Themes › Painting Company Theme – mobile issues
- This topic has 12 replies, 3 voices, and was last updated 6 years, 1 month ago by Sonl Sinha.
-
AuthorPosts
-
September 27, 2018 at 4:26 pm #108555
On my phone, the display only takes up about 1/2 the screen on the left side. See https://imgur.com/a/KO3iVxN
Website is http://lswebsitedesigns.com/capital/
Also, is there a way to make the navigational menu more like an accordian. Instead of everything being displayed all at once, they have to click About to see the sub-pages underneath it.
Thanks for your help!
September 28, 2018 at 12:52 pm #108612Hi,
Kindly go to Appearance >> Theme Options >> Basic Settings >> Custom CSS Box:
Add this code there:
.one_half iframe { width:100% !important;}
Regards,
ChrisSeptember 28, 2018 at 1:57 pm #108636Thanks, that fixed the home page but the other pages still do not display correctly.
October 1, 2018 at 12:24 pm #108760Hi,
Kindly go to Appearance >> Theme Options >> Basic Settings >> Custom CSS Box:
Add this code there:
@media screen and (max-width:767px) { .site-main { width:100%;} }
Regards,
ChrisOctober 1, 2018 at 2:11 pm #108782That did not work. The header, footer and side widgets still take up less than half the screen. See https://imgur.com/a/mJcF8PK
Thank you.
October 2, 2018 at 1:31 pm #108838This CSS should work:
@media screen and (max-width:767px) { .site-main {width:100%;} }
Regards,
ShriOctober 2, 2018 at 2:03 pm #108850That is the same code I was given yesterday, and it does not work.
October 3, 2018 at 1:22 pm #108939Try this:
.site-main {width:100% !important;}
Regards,
ShriOctober 3, 2018 at 1:31 pm #108946That worked. Thank you very much!
October 3, 2018 at 3:55 pm #108955Actually, that doesn’t help me because when I put that in, all of the widgets that used to be on the side of the pages now go to the bottom, below all the content.
October 4, 2018 at 12:11 pm #109042This should help:
please remove all this “site-main” of CSS and Add new CSS
@media screen and (max-width: 767px){ .site-main{width:100% !important;} }
Regards,
ShriOctober 8, 2018 at 1:34 pm #109249Thanks, it’s working now. I had a second question in the original post:
Also, is there a way to make the navigational menu more like an accordian. Instead of everything being displayed all at once, they have to click About to see the sub-pages underneath it.
Thanks for your help!
October 10, 2018 at 10:52 am #109331Will have the change the whole menu code for this can’t be done via CSS.
Regards,
Shri -
AuthorPosts
- You must be logged in to reply to this topic.