- This topic has 8 replies, 2 voices, and was last updated 5 years, 1 month ago by
Tom.
-
AuthorPosts
-
March 30, 2017 at 11:16 am #299515
Dave
Hey guys, when I view my site (http://dev.northwestfiretraining.com/) in “Inspect” in Chrome and click the iPad under device toolbar, it shows all my content all to the left and the elements and widgets not 100%. I tried messing with the CSS but I can’t seem to get it to look right. Help?
GeneratePress 1.3.46GP Premium 1.2.96March 30, 2017 at 4:13 pm #299617Tom
Lead DeveloperLead DeveloperLooks like you have some custom CSS targeting tablets.
Can you try removing it to see if that’s the issue?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentMarch 30, 2017 at 4:31 pm #299622Dave
I have CSS targeting the breakpoint where the menu goes to 2 lines after you reach a certain width. I changed that, but it still doesn’t fix it. Am I looking at the right thing tho? I’m looking at the @media sections.
March 30, 2017 at 4:41 pm #299631Dave
Could it have to do with the percentage set for left and right sidebar? I have custom values in my functions.php in my child theme – but that’s sitewide for all devices. Is there a way to target tablet devices – if that is in fact the problem?
March 30, 2017 at 6:51 pm #299666Tom
Lead DeveloperLead DeveloperYou currently have:
@media only screen and (max-width: 1100px) { .site-content { display: table; } }
Try replacing it with:
@media only screen and (max-width: 1100px) { .site-content { display: table; width: 100%; } }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentMarch 30, 2017 at 7:27 pm #299683Dave
That worked to fix the width so that it goes all the way across, thanks Tom!
Is it possible though, to make the content on the screen display like it does on a desktop computer while being viewed on an iPad? Like can I tweak the sidebars somehow using @media or the functions.php to make it display like desktop view rather than mobile view?
March 31, 2017 at 12:29 am #299750Tom
Lead DeveloperLead DeveloperThis might help: https://generatepress.com/forums/topic/sidebar-floated-om-tablet/#post-175994
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentMarch 31, 2017 at 8:08 am #299923Dave
Yeah that worked to move them a bit, but still not what I was hoping for. I just switched it back to the way we had before where the content is 100% width to the screen. Thanks for all your help Tom!
March 31, 2017 at 9:27 am #299972Tom
Lead DeveloperLead DeveloperNo problem 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.