We have a page that has tables inside a Tabs element. It looks fine on desktop but on mobile devices the images in the tables disappear and the text gets compacted into tall, thin columns.
Any suggestion on how I could get the table looking better on mobile devices?
Hey BrendanG,
Please define “better looking”. You can have tables stay as they are, and make them scrollable.
Best regards,
Victoria
Hi Victoria, since the table contains image/text pairs would it be possible to have each pair take up the full width of the display on a mobile device?
Brendan
Hi BrendanG,
Can you try adding this CSS code in Quick CSS, located in Enfold > General Styling:
@media only screen and (max-width:767px) {
#top .av_tab_section .tab_inner_content table td {
display: block;
width: 100% !important;
height: auto !important;
border: 1px solid #e1e1e1;
margin-bottom: -1px;
}
}
Best regards,
Nikko