Creating responsive container widths

  • Posts: 55
  • Thank you received: 0
11 years 10 months ago #92468

Hi,

I am attempting to set up Hikashop to work correctly with my responsive template, and I am having difficulty. I simply want to make the category and product container widths change from 32% to 48% as the browser window becomes smaller. Currently it remains on 32% all the way down to the smallest screen size and the visual appeal is sorely lacking. I am finding it difficult to create a css rule that works on every instance of the container. Applying the rule to .hikashop_category does not work. Applying individual rules to .hikashop_category.hikashop_category_column_1.hikashop_category_row_1 etc does work, but then when i create new categories and products it will not apply to them. I've tried .hikashop_category.hikashop_category_column but that doesn't seem to work either. Advice? Thanks in advance :)

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

  • Posts: 83049
  • Thank you received: 13408
  • MODERATOR
11 years 10 months ago #92494

Hi,

The class hikashop_product will apply on all the containers of the products listings. Same for the class hikashop_category. Why not simply use that one ?

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

  • Posts: 55
  • Thank you received: 0
11 years 9 months ago #93482

I am officially an idiot. Thanks :)

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

Time to create page: 0.135 seconds
Powered by Kunena Forum