The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How To Force Your Desktop Version Theme "Colors And Banner" To Be Used In The Mobile Version?

2 posters

Go down

How To Force Your Desktop Version Theme "Colors And Banner" To Be Used In The Mobile Version? Empty How To Force Your Desktop Version Theme "Colors And Banner" To Be Used In The Mobile Version?

Post by Rukiafan February 24th 2016, 8:30 pm

Hello! I'd like to know how I could force the forum theme to load on the mobile version of our website, I really want my two versions of my website to have the same color scheme. Also I'd like to force my website's banner to appear "appropriately sized" at the top of the forum index and sub-forums as well!

@SLGray @Ange Tuteur I summon thee! Wink
Rukiafan
Rukiafan
Forumember

Posts : 329
Reputation : 9
Language : English

Back to top Go down

How To Force Your Desktop Version Theme "Colors And Banner" To Be Used In The Mobile Version? Empty Re: How To Force Your Desktop Version Theme "Colors And Banner" To Be Used In The Mobile Version?

Post by exploitgeek March 10th 2016, 6:21 pm

Rukiafan wrote:Hello! I'd like to know how I could force the forum theme to load on the mobile version of our website, I really want my two versions of my website to have the same color scheme. Also I'd like to force my website's banner to appear "appropriately sized" at the top of the forum index and sub-forums as well!

@SLGray @Ange Tuteur I summon thee! Wink

Hi maybe you are still looking for this. i have copied my post from another topic.

Or you could disable Mobile version with some simple coding.

1: Login to Admin panel
2: Navigate to Modules
3: Click Javascript codes management
4: Click create new Javascript
5: Give it a title such as "disable mobile"
6: Select "in all pages"
7: in the javascript code paste the following.
Code:
$(function() {
  if(window._userdata && _userdata.page_desktop) window.location = _userdata.page_desktop;
});

8: Click Submit
9: Click go back to javascript code management
10: click "Enable java code management"
11: Click save

There you go Smile

Doing the above will disable the mobile version, and they will be able to view the website as if they was on there PC
avatar
exploitgeek
New Member

Posts : 20
Reputation : 1
Language : english

http://www.thehardcoregamers.forumotion.co.uk

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum