Jump to content

responsive table


sean1688

Recommended Posts

we have some tables with pictures and links on some of our pages, the table gets too big for the mobile screens.

 

Does cubecart support responsive tables? if not, what can we do to make it responsive?

 

I found some code here: http://codepen.io/geoffyuen/pen/FCBEg

 

but it did not work because I don't know where to put the css code, and even if I do, I am not sure if the code works for cubecart.

 

this is the page with the table that we want to make responsive:

 

http://www.mastechpowersupply.com/

Link to comment
Share on other sites

It looks like the table of products is actually part of the Homepage document.

 

I suggest that you take them out of the table, and wrap each in a div that has a style="float:left;".

 

When you look at the HTML of the Latest Products in the Kurouto skin, you will come to learn the HTML of making each product's div block be a common height and width, and there will only be as many as will fit across the width of the screen because of how floats work.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...