Tagged: x
-
AuthorPosts
-
January 26, 2017 at 9:38 pm #1347233
Lance BParticipantWhen adjusting the size of the screen from larger to smaller, the grid will be fine, showing two rows of three, then breaking showing one row of three, then two on one row, then one on a third row, then when the screen is a little smaller it puts them back together into two rows of three. What’s up with that? See the two screenshots attached.
January 26, 2017 at 10:47 pm #1347277
Prasant RaiModeratorHello Lance,
Thanks for writing in!
Could you please provide us with your website URL so we can take a closer look?
Thanks.
January 31, 2017 at 11:31 am #1352512
Lance BParticipantadvancedbiology.com
January 31, 2017 at 10:17 pm #1353169
FriechModeratorHi There,
Thank you for the URL but did you remove the “tattoo” column? We can not replicate the issue, the grid looks like this on smallest screen.
January 31, 2017 at 11:28 pm #1353226
Lance BParticipantI’m sorry – try it on this page:
February 1, 2017 at 3:18 am #1353378
ChristopherModeratorHi there,
Please add following code in Customize -> Custom -> Global CSS :
@media (max-width: 979px){ .x-block-grid.three-up>li:nth-child(3n+1) { clear: both; } }Hope that helps.
February 7, 2017 at 5:41 pm #1361934
Lance BParticipantThank you, but now it’s doing this. I have tried everything after adding the code above. I really need to resolve this as I also need to add more rows and I want it to look good with a lot more traffic hitting the site and sales are critical. Thank you so much!
February 8, 2017 at 12:51 am #1362401
ChristopherModeratorHi there,
Please add this code:
@media (max-width: 979px){ .x-block-grid.three-up>li { width: 28%; margin: 0 1% !important; } }Find this code and remove margin properties:
@media (max-width: 979px){ .x-block-grid.three-up>li:nth-child(3n+1) { clear: both; margin-right: 2% !important; margin-top: 2% !important; } }Hope it helps.
February 8, 2017 at 12:46 pm #1363203
Lance BParticipantAwesome! One final question: Is there a way to make the block grid center no matter what size the screen is? See attached…
February 8, 2017 at 9:11 pm #1363768
LelyModeratorHello Lance,
Please also try adding this custom CSS:
.x-block-grid { margin: 0; } .x-block-grid .x-block-grid-item { float: none; display: inline-block; }Hope this helps.
February 8, 2017 at 9:27 pm #1363774
Rue NelModeratorHello There,
Thanks for updating in and for sending us the screenshot. To make sure that the block grid items are always at the center, please have the code from our previous reply updated and make use of this code instead:
@media (max-width: 979px){ .x-block-grid { width: auto !important; text-align: center; margin: 0 auto; } .x-block-grid.three-up>li { width: 31.333%; margin: 0 1% !important; } }Please take noticed that I have adjust the width from 28% to 31.333% to have a balance width.
Hope this helps. Please let us know how it goes.
February 9, 2017 at 7:51 pm #1365251
Lance BParticipantThat works beautifully! Thank you!!!
February 9, 2017 at 11:06 pm #1365436
Prasant RaiModeratorYou are most welcome. 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1347233 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
