The overflow-x: auto property does not work on imported post templates

Posted in: Newspaper
Post count: 92

Hello
There is a problem
The post content contains a table, the table is nested in a layer with the overflow-x:auto property
On classic post templates from tagDiv Standard Pack such as style 7, 8, 9, etc. overflow-x:auto property works fine
On any other imported or created post template, the property does not work: the table on a small screen simply shrinks horizontally and becomes unreadable
How to solve this problem?
Thank you

Post count: 27744

Hi,

This can be done with custom code css, please provide the link to a post where you have the table.

Thank you!

Post count: 92
Post count: 27744

Hi,

Please try this code css
.table-wrap .tdb_single_content .tdb-block-inner.td-fix-index
{
word-break: auto-phrase;
}

Set the custom css in the theme panel > custom code> advance css and the problem should be resolved.

Thank you!

Post count: 92

The code was added, but nothing changed ((

Post count: 92

We solved the problem after experimenting
This is the code that worked:

.table-wrap {overflow-x:auto !important; word-break: auto-phrase !important;}
.table-wrap .tdb_single_content .tdb-block-inner.td-fix-index
{word-break: auto-phrase !important;}

Thank you very much for the help!

Post count: 27744

Hi,

I’m glad that you managed to solve it.

Have a great day!

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.