Enabling responsive layout

  • Posts: 7
  • Thank you received: 0
11 years 5 months ago #150967

-- url of the page with the problem -- : mywebsite.com/mypage
-- HikaShop version -- : 2.3.0
-- Joomla version -- : 3.2.2

Hikashop is billed as responsive on the Hikashop home page, but with the 'bootstrap' option enabled, it isn't.

All rows are 'row-fluid' which means they only compress and don't stack? Where is the option to change this? It can hardly be described as responsive as it is currently set up. I must be missing something.

Guidance appreciated. Thanks,
Nick

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

  • Posts: 84292
  • Thank you received: 13692
  • MODERATOR
11 years 5 months ago #150992

Hi,

You need to turn on the "use bootstrap design" option of the configuration in order to get the responsive design activated.
The listings will then switch from several columns to one column automatically based on the resolution of the screen.
Note that the "use bootstrap design" option can only be used if the bootstrap library is actually loaded by your joomla template or a bootstrap compatibility plugin, otherwise it won't work properly.

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

  • Posts: 7
  • Thank you received: 0
11 years 4 months ago #153386

Thanks,

I think I must be doing something wrong. The template uses bootstrap, so that should be fine.

When I inspect the code, the HikaShop grid uses the 'row-fluid' class and not 'row'. Doesn't this prevent the divs from stacking?

www.kingsarms.org/shop

Thanks,
nick

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

  • Posts: 13201
  • Thank you received: 2322
11 years 4 months ago #153406

Hi,

The row-fluid allow to use percentage for element sizes instead of pixels, but it is responsive too.
getbootstrap.com/2.3.2/scaffolding.html#fluidGridSystem

In your case, it seems that your template has only properties for "row" and not "row-fluid" so you can:
- edit the css file to replace/duplicate all the "row" by "row-fluid"
OR
- edit the hikashop views through the menu Display > Views to make the change.

I recommend to duplicate, it should be easiest and fastest than editing HikaShop views and you will be sure to not forget anything.

The following user(s) said Thank You: nickwilmot

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

  • Posts: 7
  • Thank you received: 0
11 years 4 months ago #153527

Ahh, great - I checked for the styles and they appeared to be there, but on closer inspection you are quite right. YooTheme seem to have selectively removed some of the bootstrap styles from the theme.

I've added them back in and it seems a LOT better now.

Many thanks for your help,

Best,
Nick

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

Time to create page: 0.071 seconds
Powered by Kunena Forum