My cart and login popup's not resized on mobile phone.

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Fri May 24, 2013 2:11 pm
Reply with quote
Report this post
Hello to all,

Template: bikestore
joomla version: 2.5.9
virtuemart version: 2.0.20b
Temporary url of the eshop: http://emmanuelaswimwear.insyst.info/index.php/eshop

On a mobile phone, the login and My Cart pop up’s are not resized correctly leading to be half hidden. You can also test this in the original demo of bikestore.
User avatar
Fresh Boarder

GK User
Fri May 24, 2013 2:25 pm
Reply with quote
Report this post
Ill send this to developers.
Meanwhile give me few minutes to prepare quick fix for You.
User avatar
Moderator

GK User
Fri May 24, 2013 2:29 pm
Reply with quote
Report this post
Please edit:
/templates/gk_bikestore/css/mobile.css
and add at its end:
Code: Select all
#gkPopupLogin, #gkPopupCart {margin-left: -160px;}
User avatar
Moderator

GK User
Fri May 24, 2013 4:14 pm
Reply with quote
Report this post
I have made the suggested temporary change in mobile.css but nothing has changed.
User avatar
Fresh Boarder

GK User
Sat May 25, 2013 8:41 am
Reply with quote
Report this post
Oh, now I see why ;).
There was a little bug in this template version. You need to edit 2 files:
1. /templates/gk_bikestore/layouts/default.php
copy and remove line around 16 row:
Code: Select all
$this->layout->generateLayout();

2. /templates/gk_bikestore/layouts/blocks/head.php
add copied line into line number 71, so it looks like this:
Code: Select all
 $font_iter++;
}

// add responsive stylesheets
$this->generateLayout();

// include JavaScript
$this->API->addJSFragment("\n".' $GKMenu = { height:'.($this->API->get('menu_height','0') == 1 ? 'true' : 'false') .', width:'.($this->API->get('menu_width','0') == 1 ? 'true' : 'false') .', duration: '.($this->API->get('menu_duration', '500')).' };');


Now, if problem still remains, please write back and I'll check the files again.
User avatar
Moderator

GK User
Sat May 25, 2013 9:18 am
Reply with quote
Report this post
Thanks.
With the latest changes the problem is fixed.
User avatar
Fresh Boarder


cron