Tagged: x
-
AuthorPosts
-
April 13, 2016 at 11:15 am #880306
zr1007ParticipantI’m currently revamping our website using x theme, I would like to have our buttons side by side on mobile. See attachment, the image to the right is the old site. On the Left is the new X theme, but as you can see it doesn’t look right. thanks
April 13, 2016 at 8:20 pm #881226
LelyModeratorHi There,
Thanks for the screenshot! To assist you with this issue, we’ll first need you to provide us with your URL where the button is. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
April 14, 2016 at 1:29 pm #882828
zr1007ParticipantThis reply has been marked as private.April 15, 2016 at 12:07 am #883641
LelyModeratorHi There,
Thank you for the link. We can make two link on a row and not all four. There’s not enough space to display all four buttons in one row. On the block grid element class field, please add custom-block-grid. Then add the following CSS on Settings Tab > Custom CSS:
@media (max-width: 480px){ .x-block-grid.four-up.custom-block-grid>li { width: 47.5%; } .x-block-grid.four-up>li:nth-child(2) { margin-top: 0; } }Hope this helps.
April 15, 2016 at 1:40 am #883753
zr1007ParticipantThis reply has been marked as private.April 15, 2016 at 3:23 am #883872
zr1007ParticipantThis reply has been marked as private.April 15, 2016 at 7:25 am #884192
ZeshanMemberHi there,
Thanks for writing back!
if you want to show three buttons in a line, add following CSS under Custom > CSS in the Customizer:
@media (max-width: 480px){ .x-block-grid.four-up.custom-block-grid>li { width: 33%; } .x-block-grid.four-up>li:nth-child(2n+1) { clear: none; } .x-block-grid.four-up>li:nth-child(3) { margin-top: 0; } }Thank you!
April 15, 2016 at 11:13 am #884470
zr1007ParticipantThis reply has been marked as private.April 16, 2016 at 12:32 am #885288
ChristopherModeratorHi there,
Please update previous code to :
@media (max-width: 480px){ .x-block-grid.three-up>li:nth-child(2), .x-block-grid.three-up>li:nth-child(3) { margin-top: 0; } .x-block-grid.three-up>li:nth-child(2n+1) { clear: none; } .x-block-grid.three-up.custom-block-grid>li { width: 33%; } }Hope it helps.
April 16, 2016 at 12:36 am #885289
zr1007Participantperfect! it worked! thank you very much!!!
April 16, 2016 at 12:37 pm #885945
ThaiModeratorGlad it worked 🙂
If you need anything else please let us know.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-880306 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
