Support Forum

  • Page:
  • 1

Responsive Template to be Non Responsive

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hi,

looking over topics and i cant seem to find an answer on how to make responsive templates to non responsive.

any ideas?

thanks

A.
  • adistor's Avatar
  • adistor
  • 6 Month Developer
  • 76 posts
  • 1 Thanks
  • Karma: 2
The administrator has disabled public write access.
Which template are you looking at changing?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
hi paul,

actually i had already made a demo using profile and flux, was wondering if theres a fast way to disable the bootstrap so it wont be responsive.

thanks

A.
  • adistor's Avatar
  • adistor
  • 6 Month Developer
  • 76 posts
  • 1 Thanks
  • Karma: 2
The administrator has disabled public write access.
I have attached an image. Because in t3 this is possible and since Flux is in T3 as indicated in the template info.


t3config.jpg


t3 config link info
  • adistor's Avatar
  • adistor
  • 6 Month Developer
  • 76 posts
  • 1 Thanks
  • Karma: 2
The administrator has disabled public write access.
Hi Sorry I missed this.

Yes it is possible and the changes are relatively small.

I can write instructions here or just make the changes for you if you attach the files for the template. Whichever you would prefer.

Thanks
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
Hi anthony,

Maybe its best if you can write it in here, so others who may have this kinds of inquiry in the future would also benefit from it.

Im using the latest FLUX and Profile quickstart j315, maybe you can point me to the files which i can edit or remove or config to edit on to make this possible.

Thanks

A.
  • adistor's Avatar
  • adistor
  • 6 Month Developer
  • 76 posts
  • 1 Thanks
  • Karma: 2
The administrator has disabled public write access.
Hi Adistor,

So sorry for the delay.

To remove responsive in Profile it's a little different.

1. In the index.php file remove this line:
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
	<meta name="HandheldFriendly" content="true" />
	<meta name="apple-mobile-web-app-capable" content="YES" />

2. Remove this at the bottom of the theme.min.css file (if you are using the compressed version:
@media only screen and (max-width:840px){#fb-wrapper{max-width:90%;margin-top:30px;}}@media only screen and (max-width:620px){.padding{padding:20px 20px 55px;} #fb-wrapper{max-width:100%;margin:0;padding:0;} body.active .offcanvas,.active #menu-toggle{margin-left:0;width:100% !important;} a#menu-toggle{position:absolute;} .main_content{padding:0;} #map iframe{max-width:100%;} #box{margin-top:0;} .nav-trigger{text-indent:-9999em;} .nav :before{font-size:2em;} #bottom{padding:15px 0 0;min-height:20px;}}

That should be it for that theme.

in Flux:

1. Go to tpls/blocks/head.php and remove:
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
<meta name="HandheldFriendly" content="true" />
<meta name="apple-mobile-web-app-capable" content="YES" />

2. Remove this also in that file:
src="<?php echo T3_URL ?>/js/respond.min.js">

Remove all of that code - the forum wont let me post the full amount here.

3. Go to the templateDetails.xml and remove this code:
<field name="responsive" type="t3depend" function="@group">
					     <option for="menu_as_bg" value="no">menu_as_bg</option>
					    </field>

4. In the template admin you will have the responsive option so you can set it to no.

I'm pretty sure I've got everything there but let me know how you get on.

Thanks
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers