Tagged: x
-
AuthorPosts
-
February 27, 2017 at 6:45 am #1387187
alistairParticipantPlease would you provide CSS code to prevent table from stacking on mobile? I need to keep it side by side even on small screens.
http://bridginggaps.org/packages
thanks
February 27, 2017 at 7:06 am #1387205
ChristopherModeratorHi there,
Please add following code in Customize -> Custom -> Global CSS :
@media (max-width: 979px){ .x-pricing-table[class*="-column"] .x-pricing-column { width: 25%; float: left; margin: 0 0 -1px -1px; } } @media (max-width: 767px){ .x-pricing-table[class*="-column"] .x-pricing-column { width: 25%; float: left; margin: 0 0 -1px -1px; } }Hope that helps.
March 1, 2017 at 3:04 am #1389938
alistairParticipantHi there – I’ve made this change, and it has had an obvious (but I didn’t think it through) result. The table now throws all the lines out of alignment, due to the amount of text in the fist column (the features) – see screenshot.
So my question is:
1. How do others handle this?
2. Is there a ‘mulitple’ table approach, so that a mobile friendly version is shown on mobile?Thanks
March 1, 2017 at 5:12 am #1390063
LelyModeratorHello There,
We can break the word for the text to fit in container but then it would be ugly. Try this:
.x-pricing-table { word-wrap: break-word; }It is not recommended to stop it from stacking because the space is really limited to display multiple columns.
March 1, 2017 at 2:02 pm #1390822
alistairParticipantAgreed. Time to rebuild the table!
March 1, 2017 at 9:28 pm #1391344
RadModeratorThanks, let us know if you have further issues regrading this 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1387187 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
