popups stretched on mobiles

  • Posts: 21
  • Thank you received: 1
10 years 7 months ago #176689

-- url of the page with the problem -- : wildeandsparrow.gotbdev.com
-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6
-- Error-message(debug-mod must be tuned on) -- : none

Greetings,

Im having a problem with the popup image being stretched off the screen on mobiles. I tried switching from mootools to shadowbox, but that comes with its own problems (too slow to load, hidden behind the menu). I would like to disable the popup on mobiles altogether. Please advise.
Thanks.

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

  • Posts: 83832
  • Thank you received: 13572
  • MODERATOR
10 years 7 months ago #176708

Hi,

There is no option to do that.
Using shadowbox is a good idea. Regarding the fact that it can be hidden behind the menus, that's just a z-index issue with your template. It should be able to solve that with one or two lines of CSS:
wordpress.org/support/topic/plugin-shado...ow-the-headerpicture
The exact CSS will depend on the way the template is done.

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

  • Posts: 21
  • Thank you received: 1
10 years 7 months ago #176831

Thanks Nicolas
This is a Wordpress link. Does the same apply for Joomla?

BTW, shadow box is too slow to load, and the picture in the shadowbox, when it finally loads, is smaller than the original. This does not add anything, but slows down the site. Any other suggestions would be greatly appreciated.
Thanks.

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

  • Posts: 83832
  • Thank you received: 13572
  • MODERATOR
10 years 6 months ago #176854

It's indeed a wordpress link but the problem there is that the shadowbox display below some pieces of the wordpress interface, and you have the same issue with the joomla interface of your template.
So the solution is roughly the same although the exact CSS to use will be different.

We don't have any alternative to mootools (joomla default library for popups) and shadowbox (that HikaShop specifically integrates with to offer an alternative to mootools).

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

  • Posts: 21
  • Thank you received: 1
10 years 6 months ago #179062

We sorted out the z-index issue, however it still takes WAY too long to load, and freezes the site in the process. Is there no way to disable this?
Thanks

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

  • Posts: 26235
  • Thank you received: 4036
  • MODERATOR
10 years 6 months ago #179063

Hi,

Disable what ?

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: 8
  • Thank you received: 0
10 years 2 months ago #194880

I am also interested in disabling the product image popups on mobiles. Is there any way to do this?

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

  • Posts: 13201
  • Thank you received: 2322
10 years 2 months ago #194928

Hi,

Based on that:
stackoverflow.com/questions/15228937/php...e-or-desktop-browser

You could detect if the user is on a mobile, and if it is so don't use the code for the popup in the view "product / show_block_img".

The following user(s) said Thank You: AMAN

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

Time to create page: 0.085 seconds
Powered by Kunena Forum