Skip to main content

Picture display too big on mobile

More
9 years 10 months ago #254639 by jimmyngf
-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.5.1
-- PHP version -- : 5.4.0
-- Browser(s) name and version -- : Iphone

The picture display too big on mobile. can you help fix. thanks

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

More
9 years 10 months ago #254647 by Mohamed Thelji
Hello,

In your case the solution will probably be to directly use some CSS code like media queries :

You can do the modifications in the frontend css file via the menu Configuration > Display > CSS
Use the @media tags to change the width of the columns when the width of the page is less than xx.

ex:
@media (max-width: 767px) {
.hikashop_products .row-fluid .span4 { width: 49% !important;}
}

Here is some documentation about the layout customization:
www.hikashop.com/support/documentation/1...ize-the-display.html

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

More
9 years 10 months ago #254680 by jimmyngf
I do the modification in the frontend cdd still not work for me, i don't have luck.
@media (max-width: 767px) {
.hikashop_products .row-fluid .span4 { width: 49% !important;}
}

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

More
9 years 10 months ago #254707 by nicolas
Hi,

Please provide a link of that page.

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

More
9 years 10 months ago #254748 by jimmyngf
hi
here is the link
newcityrestaurant.com/index.php/menu/lun...black-pepper-chicken
I use the iphone for this page. thank you

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

More
9 years 10 months ago #254791 by Jerome
Hi,

You have HikaShop configured to set a height to "220px" for the product image.
pasteboard.co/oWRSNk8Pb.png
That CSS affect the responsive while the inner image is bigger than the 220px height.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: jimmyngf

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

More
9 years 10 months ago - 9 years 10 months ago #254795 by jimmyngf
Hi,

thank you.
Last edit: 9 years 10 months ago by jimmyngf.

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

Time to create page: 0.196 seconds
Powered by Kunena Forum