Jump to content

[SOLVED] HTML Table cannot reduce its size on mobile to fit vertical orientation


Recommended Posts

Hi,

 

I created an HTML Table within Product Description on  Product Page. Width Size = 100%, Font-size = 80%. I created a class within global css for table formatting.

The table resizing work well on comp., digital pad, and mobile but only in horizontal display.

Vertical mobile display doesn't reduce table size to fit the screen width.

Does anybody solved this problem? Thank you.

 

Regards.

Link to comment
Share on other sites

Hi Vekia,

Thank you for your response.

 

There is a good news. I was able to fix it.

Here is how.

I noticed that the text in the mobile display didn't reduce it size to allow to shrink the table.

I created a new style in the theme > mobile > css > global.css to define font percentage 65%.

 

Now it works. What I have learnt is that style for mobile devices are located in the different folder.

 

Thanks a lot for your concern and your dedication to keep up Prestashop templates running.

Link to comment
Share on other sites

×
×
  • Create New...