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

    Widgets in a separate tab in the mobile version

    كونان2000
    كونان2000
    Forumember


    Male Posts : 284
    Reputation : 120
    Language : Arabic

    *Widget icon in footer mobile -  Widgets in a separate tab in the mobile version Empty Widgets in a separate tab in the mobile version

    Post by كونان2000 March 7th 2022, 9:29 am

    Widgets in a separate tab in the mobile version

    *Widget icon in footer mobile -  Widgets in a separate tab in the mobile version Sg1fcpil7pva


    welcome everybody,
    This trick is similar to @MattiaDes suggestion *Widget icon in footer mobile -  Widgets in a separate tab in the mobile version 1830443236
    Widgets in a separate tab in the mobile version
    -----------------------


    1: go to the mobile version templates
    2: index_box
    Enter the following code at the top of the template
    Code:
    <style>
    widgeto {
        display: block !important;
        margin-top: 10px;
        padding-right: 10px;
    }
     .module {
    display: none;
    }
        
        </style>

    3: overall_footer
    Find the next part in overall_footer template
    Code:
    <!-- BEGIN switch_connected -->

    replace it with
    Code:
      <!-- BEGIN switch_connected -->
     <!DOCTYPE html>
    <html>
    <head>

    <script>
    $(document).ready(function(){
      $("widgeto").click(function(){
        $(".forum, .box, .module,  .box-widget-bottom").addClass("module1");
        $(".module").addClass("module2");
      });
    });
    </script>
    <style>
    .module1 {
    display: none;
    }

    .module2 {
    display: block !important;
    }
    </style>
    </head>
    <body>
    <widgeto><i class="material-icons"></i><br />widgets</widgeto>
    </body>
    </html>
    <style>
    widgeto {
    display: none;
    }
        </style>
    ---------------------------------------

    Note...
    The widgets button appears on the home page only 


    Hope you like this trick *Widget icon in footer mobile -  Widgets in a separate tab in the mobile version Icon_biggrin

    BlackScorpion, SarkZKalie, TonnyKamper and Jucarese like this post

    كونان2000
    كونان2000
    Forumember


    Male Posts : 284
    Reputation : 120
    Language : Arabic

    *Widget icon in footer mobile -  Widgets in a separate tab in the mobile version Empty Re: Widgets in a separate tab in the mobile version

    Post by كونان2000 May 12th 2023, 6:10 pm

    Jadde00 wrote:The first message hangs in the left column of widgets is completely uninformative, you need to show the last message of the removed by skouliki topic instead.
    sorry I didn't understand what you mean Think
    Mihai
    Mihai
    Forumember


    Male Posts : 960
    Reputation : 39
    Language : Romanian, English
    Location : Bucharest, Romania

    *Widget icon in footer mobile -  Widgets in a separate tab in the mobile version Empty Re: Widgets in a separate tab in the mobile version

    Post by Mihai May 12th 2023, 6:51 pm

    كونان2000 wrote:
    Jadde00 wrote:The first message hangs in the left column of widgets is completely uninformative, you need to show the last message of the removed by skouliki topic instead.
    sorry I didn't understand what you mean Think
    Thats not actually an user, its a very strange one that likes to promote their website for no reason... Razz

      Current date/time is November 11th 2024, 5:22 pm