-
AuthorPosts
-
July 1, 2013 at 9:40 pm #188630
Hi Folks,
Thanks for all your help so far, you will be please to hear I have nearly completed my site so the questions should be less frequent. When I view my site on an iphone the image on the slider appears stretched and the original puresite logo remains? On my PC all looks perfect. I am presuming that this is to do with the responsive element of the site. With all other sites I have they look identical on screen on both iphone and iPad. Is there a way I can turn of the responsive element so that site as viewed in my PC. is mirrored across all platforms??
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
July 2, 2013 at 5:24 am #497632Because JA Purisite is responsive template so it will auto scale with your device’s resolution. If you want it looks perfect with appropriate screen resolution, you need to customize css style with each resolution
For example:
+ Mobile
Open templates/ja_puresite/css/layout-mobile.css file
h1.logo a {
background-size: 70%;
}+ Tablet
Open templates/ja_puresite/css/layout-tablet.css file
h1.logo a {
background-size: 85%;
}You can apply this way with other resolution
Remember to clear cache from Admin area after changing
July 2, 2013 at 7:00 pm #497727Hi Ninja,
Is there a simple way to turn that off as the auto resizing seems to cause more problems than just simply viewing a normal (non responsive site).
In theory turning off the responsive element
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
July 3, 2013 at 7:43 am #497786Yes, you can do that this way
Open templates/ja_puresite/etc/layouts/default.xml file
From
<stylesheets>
<file media="all">css/layout.css</file>
<file media="all">css/template.css</file>
<file media="all">css/modules.css</file>
<file media="only screen and (max-width:479px)">css/layout-mobile-port.css</file>
<file media="only screen and (max-width:735px)">css/layout-mobile.css</file>
<file media="only screen and (min-width:736px) and (max-width: 985px)">css/layout-tablet.css</file>
<file media="only screen and (min-width:986px) and (max-width: 1235px)">css/layout-normal.css</file>
</stylesheets>Change to
<stylesheets>
<file media="all">css/layout.css</file>
<file media="all">css/template.css</file>
<file media="all">css/modules.css</file>
</stylesheets>
Remember to clear cache from Admin area
1 user says Thank You to Ninja Lead for this useful post
July 4, 2013 at 2:06 pm #497964Fantastic thank you !!
July 8, 2013 at 2:16 pm #498286Once I tried this it actually made the site even worse on the iPhone only displaying half the page? So I have reverted back to the original settings.
To be clear my site looks perfect on a PC, however on an iPhone the old puresite logo shows instead of mine. Is there a separate logo for each platform, I presume there is if so how do I access them to change them?
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
July 9, 2013 at 8:18 am #498397Hope my following sugesstion will help you to solve this problem
– Open templates/ja_puresite/blocks/head.php file
– Find and remove this script
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=3.0, user-scalable=yes"/>
<meta name="HandheldFriendly" content="true" /><?php if (T3Common::mobile_device_detect()=='iphone'):?>
<meta name="apple-touch-fullscreen" content="YES" />
<?php endif;?>
Remember to clear cache from Admin area
1 user says Thank You to Ninja Lead for this useful post
July 15, 2013 at 11:55 am #499053Hi Ninja,
That seems to have worked, however the puresite logo still shows on the iphone instead of my logo?
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
July 16, 2013 at 2:16 am #499113Open templates/ja_puresite/css/layout-mobile.css file
You can find and change puresite logo on the iphone layout
h1.logo a {
width: 218px;
height: 50px;
background: url(../images/logo-mb.png) no-repeat center center;
margin: 0 auto;
}Logo path: templates/ja_puresite/images/logo-mb.png
1 user says Thank You to Ninja Lead for this useful post
July 17, 2013 at 10:43 am #499297Fantastic, thanks for all your help & patience
-
AuthorPosts
This topic contains 10 replies, has 2 voices, and was last updated by daveashton75 11 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum