Tagged: x
-
AuthorPosts
-
December 21, 2016 at 1:02 pm #1300839
chrisstegnerParticipantI have 2 sites, I believe are the same in the way of settings. But one of them is acting oddly when viewed on the iPhone.
This one looks and acts fine on the phone:
But this one looks odd… it puts elements in smaller columns than the other site. It’s like it doesn’t go full width:
Any thoughts would be highly appreciated.
December 21, 2016 at 3:49 pm #1300966
FriechModeratorHi There,
Thanks for writing in! Those site is not the same in terms of how it was setup. The first site (
1n5.org) is build with a simple content band > container > columns structure. While the second one has block grids on it. Unlike columns, block grids stay inline regardless of the screen width even if its content gets cut off or out of bounds.The custom CSS code below will make the block grid full-width on mobile.
@media (max-width: 480px) { .x-block-grid-item { width: 100% !important; } }Hope it helps, Cheers!
December 22, 2016 at 2:37 pm #1302018
chrisstegnerParticipantThat seemed to have worked for the home page, but the other pages are still not going full width. Thoughts? Ideas?
Here’s a page that’s still not reading well on mobile:
December 22, 2016 at 8:22 pm #1302374
FriechModeratorHi There,
Its a different thing that cause that one, its the huge padding you applied on the nested content-band. We need to reset the said padding when the page is viewed on mobile. Please add a class reset-padding to the content-band. Keep in my that is a nested content-band, its a content band that is inside the second content band. So make sure you add that class to the correct band.
And then declare this on your custom CSS on Customizer.
@media (max-width: 480px) { .reset-padding { padding: 20px !important; } }Hope it helps, Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1300839 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
