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

    Hey Kriesi team,

    I have some fairly large tables that I’ve coded with HTML and placed into code blocks. On mobile, these tables get cut off and appear to go off the screen. Is it possible to assign a horizontal scroll class to these, so they’d work similarly to how the scrolling table setting works within the Avia Layout Builder tables?

    What I’m describing can be seen here: https://bardac.com/dc-drives/pl-series/#4quad

    I use code blocks on nearly every page of my site and would prefer not ALL code blocks become scrollable…just those with tables.

    Thanks!
    – Julian

    #994216

    Hey FloppySocks,+

    Thank you for using Enfold.

    Add this css code to make the tables scrollable.

    .avia_codeblock_section, .avia_codeblock_section table {
        overflow-x: scroll;
        width: 100%;
    }

    Best regards,
    Ismael

    #995029

    Thanks very much Ismael, and sorry for the simple request. I was also able to get decent results as well by creating a div around the table.

    <div style="overflow-x:auto;”>
    </div>

    As always, thanks for your time. Please close the thread!

    #995076

    Hi FloppySocks,

    Glad that Ismael helped you :)
    Feel free to comeback if you need further assistance.
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Horizontal scrolling table on HTML overflow’ is closed to new replies.