Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #168411

    Hello. I have created the following page.


    On a smaller browser window the table converts to a single column. This is OK, but it doesn’t do so correctly. The fields are not in the proper order. Notice how the “City” heading row does not appear on the smaller window.

    Please let me know how we can resolve this.

    Thank you.

    (Email address hidden if logged out)


    Hey kangaroozach!

    Please edit css > shortcodes.css, find this code:

    @media only screen and (max-width: 767px)
    	.responsive div .avia-data-table table,
    	.responsive div .avia-data-table tbody,
    	.responsive div .avia-data-table tr,
    	.responsive div .avia-data-table td,
    	.responsive div .avia-data-table th{display:block; border-top:none; border-right:none; border-left:none; text-align: center;}
    	.responsive .avia-data-table{border-style:solid; border-width: 1px;}
    	.responsive .avia-data-table .avia-pricing-row .avia-desc-col{text-align: center;}
    	.responsive .avia-data-table .avia-button-row, .responsive .avia-data-table tr:first-child th{display:none;}
    	.responsive .avia-data-table td:before {
    	font-style: italic; font-size: 11px;
    	.responsive .avia-data-table td {
    		position: relative;

    Remove it. It will disable the responsive styling for mobile devices. I’ll get back to you after you remove it, the table might need some adjustments.

    Best regards,


    Thank you. I commented it out by adding “/*” before and “*/” after.

    Please let me know what next. Thanks for the fast response.



    Hello Zach!

    Looks like that did it perfectly.

    What you’ll get now however is that on mobile devices or screens that are smaller in width than the table can compress down to fit the table will overflow the browser container.

    So you can either put a note above it mentioning that mobile users will need to view the table in landscape to view the whole thing (anyone with smaller width than about 660px) or you could do something a bit more fancy and try to hide the table at widths below that and display secondary information that would only show on screen widths that size to give alternative information.


Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Table doesn't look right on mobile…’ is closed to new replies.