DIV columns not working

  • Posts: 40
  • Thank you received: 0
11 years 4 months ago #115954

Refer to this link tangyweb.com.au/index.php?option=com_hik...out=listing&Itemid=3

I am trying to set the div columns to 3 or 4 but for some reason when I set those numbers nothing changes... However if I set it to 5 it changes, but 5 is way too many and everything is far too close together. I'm not sure why it won't let me use a 3 - 4 for the DIV columns.

I haven't had this problem before the last time I setup hikashop so hoping that it's just something basic I've missed.

Some help please?

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

  • Posts: 26166
  • Thank you received: 4029
  • MODERATOR
11 years 4 months ago #115986

Hi,

You are using the "bootstrap design" but your template does not include bootstrap (is not compatible with it).
Please change the option "use bootstrap design" to "no" in your HikaShop configuration.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 40
  • Thank you received: 0
11 years 4 months ago #116042

Thanks so much! Worked perfectly.

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

  • Posts: 846
  • Thank you received: 92
11 years 4 months ago #116045

Hi
Can you explain how the option to select bootstrap template work and is implemented ?
Shure it must be load the files ( css/ js raster ) specific to bootstrap .
Does hikashop contain in different php file a version for boostrap ( id and class name ) ?
If not Does it mean there is a Class-itis ( like div-itis ) in hikashop php file ?
it is only for my knowledge and to know if i understand well hiskashop choice .



Thank's

Last edit: 11 years 4 months ago by lionel75.

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

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
11 years 4 months ago #116059

Hi,

HikaShop does not include bootstrap css/js. Joomla 3.x includes it by default and templates done for Joomla 3.x are supposed to load them.
So when you activate that "use bootstrap design" option, HikaShop views are displayed with the HTML/classes that are compatible with bootstrap css/js so that you benefit from the bootstrap responsiveness, general layout design, etc.
It's always possible to have a plugin loading the bootstrap CSS/JS instead of the template if the template doesn't do it:
extensions.joomla.org/extensions/style-a...ign/templating/21856
That way, you can even use the bootstrap design of HikaShop on Joomla 2.5 with templates which don't include it.


So if you look for example at the "listing_div" view files via the menu Display->views, you will see several

if(HIKASHOP_RESPONSIVE) {
which will display some code or another if the option is activated or not. But as you can see, most of the code is common to both.

The following user(s) said Thank You: lionel75

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

Time to create page: 0.072 seconds
Powered by Kunena Forum