Changing Number of Columns by Screen Size

  • Posts: 259
  • Thank you received: 22
9 years 11 months ago #216694

-- url of the page with the problem -- : www.workscene.com.au
-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.4

On mobile devices the product "image title" div list moves to a single column. What I would like to be able to do is change the number of columns depending on the width of the screen. Is this controlled in one of the views or in a css file? Pointing me to the right file would be a great help as well as any other tips.

BTW the template is created using TemplateCreatorCK and the template mobile.css file is attached if that has any relevance.

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
9 years 11 months ago #216707

Hi,

The columns change is made by css queries, the @media queries.
So you can adapt them by editing the frontend css file in Configuration > Display > CSS.
www.hikashop.com/support/support/documen...ize-the-display.html

Here are informations about the @media queries:
www.w3schools.com/cssref/css3_pr_mediaquery.asp

The following user(s) said Thank You: rodfarrell

Please Log in or Create an account to join the conversation.

  • Posts: 259
  • Thank you received: 22
9 years 10 months ago #219013

Took a while to get back to this one but finally got their and all working well. Thanks Xavier.

Please Log in or Create an account to join the conversation.

Time to create page: 0.051 seconds
Powered by Kunena Forum