Tagged: Table responsive
- This topic has 7 replies, 2 voices, and was last updated 4 months, 3 weeks ago by
tikaram.
-
AuthorPosts
-
April 30, 2023 at 10:09 pm #317840
massibor
ParticipantHi.
I added a table block on a site page, and I inserted the text in the table (2 columns). On my laptop the table is good, but in my smartphone it is not repsonsive, e the table formatting is wrong. there is a way to make the table responsive?
thank youMassimo
April 30, 2023 at 10:51 pm #317845tikaram
Keymaster@massibor : Please post in your site URL so that I can check your site on a mobile device and provide you the required fix.
Regards,
TikaramMay 1, 2023 at 3:43 pm #317858massibor
ParticipantHi Tikaram,
here’s the page: https://www.rifugiocavallera.it/cucina-prova/
Regards,
MassimoMay 2, 2023 at 1:34 am #317871tikaram
Keymaster@massibor : Login to your WordPress admin section.
Insert the /wp-admin/customize.php structure at the end of your URL.
For example, the URL : https://www.rifugiocavallera.it/wp-admin/customize.php
Open the Additional CSS panel and add the following css..wp-block-table table { table-layout: fixed; } .wp-block-table table { line-height: 1.5 !important; } .wp-block-table table p { margin: 0 !important; }
Let me know if this helps you out.
Regards,
TikaramMay 2, 2023 at 3:08 am #317872massibor
ParticipantHi Tikaram,
thank you.
I did what you wrote, but when I click on publish button I get the error message “Markup is not allowed in css”
Regards,
MassimoMay 2, 2023 at 4:47 am #317873tikaram
Keymaster@massibor : Please try copying the additional css given above and add it to your custom css from the customizer. If you are still having issues please let me know.
Regards,
TikaramMay 2, 2023 at 9:22 am #317875massibor
ParticipantHi Tikaram,
I did it (see screenshot at https://www.rifugiocavallera.it/wp-content/uploads/2023/05/cavss01.jpg) but the problem was not solved.
thank you for your support. Regards,
Massimo
May 2, 2023 at 10:47 am #317877 -
AuthorPosts
- You must be logged in to reply to this topic.