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.
The forum of the forums
2 posters

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

    Rukiafan
    Rukiafan
    Forumember


    Posts : 329
    Reputation : 9
    Language : English

    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
    avatar
    exploitgeek
    New Member


    Posts : 20
    Reputation : 1
    Language : english

    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

      Current date/time is November 11th 2024, 4:39 pm