-
AuthorPosts
-
September 7, 2017 at 10:58 am #849019
Hi there,
I have a table in which I’ve put an image as a header on this page: http://hetmotivatiemagazijn.nl/dieetconsult/. Works great on desktop, but on mobile the image doesn’t show, but you see the coding instead. Any idea’s on how to solve this?Thanks a bunch.
September 8, 2017 at 7:36 am #849446Hey Suus,
First off, could you try updating the theme to the latest version (4.1.2) to see if that helps please? http://kriesi.at/documentation/enfold/updating-your-theme-files/
Best regards,
RikardSeptember 8, 2017 at 9:29 am #849495Thanks for the reply Rikard, but updating the theme doesn’t seem to do the trick. Any other options?
September 10, 2017 at 7:25 pm #850175Hi,
The issue is caused by your plugin JCH Optimize Pro try turning it off and flush WP Fastest Cache, or turn them both off.
This solves the image link code from showing, but your image won’t show because for mobile the shortcodes.css collapses that area.
If you want to show your full table on mobile, which maybe hard to read, you’ll need to remove this code from shortcodes.css between lines 1725 – 1765, and add the modified file to your child theme:@media only screen and (max-width: 767px) { .responsive div .avia_responsive_table .avia-data-table table, .responsive div .avia_responsive_table .avia-data-table tbody, .responsive div .avia_responsive_table .avia-data-table tr, .responsive div .avia_responsive_table .avia-data-table td, .responsive div .avia_responsive_table .avia-data-table th{display:block; border-top:none; border-right:none; border-left:none; text-align: center;} .responsive .avia_responsive_table .avia-data-table{border-style:solid; border-width: 1px;} .responsive .avia_responsive_table .avia-data-table .avia-pricing-row .avia-desc-col{text-align: center;} .responsive .avia_responsive_table .avia-data-table .avia-button-row, .responsive .avia_responsive_table .avia-data-table tr:first-child th{display:none;} .responsive .avia_responsive_table .avia-data-table td:before { display:block; font-style: italic; font-size: 11px; } .responsive .avia_responsive_table .avia-data-table td { position: relative; } .responsive .avia_scrollable_table { width: 100%; overflow-x: scroll; overflow-y: hidden; -webkit-overflow-scrolling: touch; -ms-overflow-style: -ms-autohiding-scrollbar; } .avia_scrollable_table .avia-table { width: auto; } .responsive .avia_scrollable_table .avia-data-table > thead > tr > th, .responsive .avia_scrollable_table .avia-data-table > tbody > tr > th, .responsive .avia_scrollable_table .avia-data-table > tfoot > tr > th, .responsive .avia_scrollable_table .avia-data-table > thead > tr > td, .responsive .avia_scrollable_table .avia-data-table > tbody > tr > td, .responsive .avia_scrollable_table .avia-data-table > tfoot > tr > td { white-space: nowrap; } }
I don’t recommend this, as it will be hard to read on mobiles
Best regards,
Mike -
AuthorPosts
- You must be logged in to reply to this topic.