Skip to main content

How to display products list well on mobile?

10 years 7 months ago #236566 by lechong1
-- HikaShop version -- : 2.6.2
-- Joomla version -- : 3.5.1
-- PHP version -- : 5.5.7
-- Error-message(debug-mod must be tuned on) -- : display not well on mobile phone

Please refer to the pictures in attachment.
Main problem is on mobile screen the images of products are too big. and the border is too long and narrow.
How to fix it?you know mobile display support is very important now.

Thank you very much.

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

10 years 7 months ago #236576 by nicolas
Hi,

Please turn on the "use bootstrap design" setting of the HikaShop configuration and that should do it.

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

10 years 6 months ago #236858 by lechong1
Dear Nicolas:
I contacted with responisvizer and give link www.open17.com/fluegas as sample,
they returned to me with codes below.I added into responisvizer css,it works for this category mobile view..

#hikashop_category_information_menu_818 .hikashop_product_image_subdiv {
width: auto;
}

but my site has many categories,
So could you help give me the general css code for all categories,Thank you very much.

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

10 years 6 months ago #236860 by Xavier
Hi,

To apply this css property on all categories, you can use this one instead:
Code:
.hikashop_category_information .hikashop_product_image_subdiv { width: auto; }

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

10 years 6 months ago - 10 years 6 months ago #237283 by lechong1
Thank you Xavier,it is solved for categories.
Could you help give me the similar codes for product detail page's main image for example at url: www.open17.com/fluegas/48-testo-350
I need the image attachment to be auto-sized.
Thank you very much.
Last edit: 10 years 6 months ago by lechong1. Reason: explain attachmetn

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

10 years 6 months ago #237302 by nicolas
Hi,

I think that such CSS should do it:
.hikashop_product_main_image_subdiv{ width: auto !important; }

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

8 years 11 months ago #283387 by john_yen_CoNutri
Hello! I would like my appearance of product list to be 3 columns in the screen. I once have followed the CSS settings "width: auto (!important);" inside this forum discussion; I however fail to have such result layout on mobile devices as how I wished ultimately. Is there still anything else wrong with that? Thank you very much!

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

8 years 11 months ago - 8 years 11 months ago #283395 by Philip
Hello,

This topic is pretty old, and maybe the root issue is different.
So can you provide an Url link to see this by ourself ?

Regards
Last edit: 8 years 11 months ago by Philip.

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

Time to create page: 0.088 seconds
Powered by Kunena Forum