Hello
I have introduced some new pages with tables statistics, like fixtures, standing, etc… I notice that they are not displayed on mobile, so I would like to know if it´s possible to resize them to display them for responsive, because they appear just a few.
For example, I have introduced a table with 700 px width, and for mobile responsive it just show approximately 300 px, and the rest is not displayed.
Thanks
Hello,
You can do it with css media queries. you can give a fixed size to your element on desktop and a dynamic one for tablets/phones. You can place the code directly in the specific viewport from the theme panel: http://screencast.com/t/wWhFwulG9
Thank you!
Hi,
Well you will need to know a bit of css to do it. Keep in mind that if the table is an iframe it cannot be targeted from the panel so the css must be added inline. I could help out if you provide a link to your website so i can inspect the table.
Thank you!
Hello
Ok, I understand. The website is http://www.futbolday.com
You can see all tables in “Estadísticas” section.
The tables are simple shortcodes powered by a football plugin which shows league tables, fixtures and results. I can adjust different sizes before being displayed.
Thanks
-
This reply was modified 10 years by
Albert.
Hello,
In this case, if you have access to sizes, simply use a width of 100% instead of 700px as you have it set now and it should position properly. 700 px will not work as the post content area has 696 px width. You can simply leave it to 100% and it will always take up as much space as it can get.
If you want to set your own sizes, You can use css like so:
@media (max-width: 1140px){
.sitable{
width:100%!important
}
}
I hope this helps.
Thank you!