Force Desktop Version

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 Nov 02, 2012 5:06 pm
Reply with quote
Report this post
I am using Bikestore 3.4 version. I do not see on the template manager where you can apply the layout views for each device. eg. desktop, iphone, etc...

My site looks real bad on a mobiel device. i just want to show the desktop view. how do i force the template to just show the desktop view?

thanks
User avatar
Senior Boarder

teitbite
Sat Nov 03, 2012 2:45 pm
Reply with quote
Report this post
Hi

This will not be simple. Template is designed to fit device automaticaly, which means than You need to remove all this functionality. None has asked before so I'm not sure what exactly needs to be deleted, but for start try to set a different viewport in /layouts/blocks/head.php , maybe a static one of 1000px or something like that. This should be a value triggering all chages, so it's good to try.
User avatar
Moderator

GK User
Sat Nov 03, 2012 2:58 pm
Reply with quote
Report this post
Please removes lines which include mobile.css and tablet.css from head.php file.
Then you can adjust the viewport area in default.php file :

Code: Select all
 <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2.0">
User avatar
Platinum Boarder

teitbite
Sat Nov 03, 2012 3:03 pm
Reply with quote
Report this post
bkrztuk wrote:Please removes lines which include mobile.css and tablet.css from head.php file.
Then you can adjust the viewport area in default.php file :

Code: Select all
 <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2.0">


Thanks for that information :) That's exactly what I was thinking should works.
User avatar
Moderator

GK User
Thu Nov 08, 2012 8:20 pm
Reply with quote
Report this post
I looked at the head.php file that is located in /layouts/blocks/head.php and i did not see anyhting where is mentioned mobile or tablet to be removed.

I also checked the default.php file and i did see the viewpoint code, but it was the same as you pasted. what do i do to tweak that.

thanks
User avatar
Senior Boarder

teitbite
Fri Nov 09, 2012 12:28 am
Reply with quote
Report this post
Hi

What Bartek meant was to change viewport parameter to the one You need, for example to:

Code: Select all
<meta name="viewport" content="width=1000px">
User avatar
Moderator


cron