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.

Widgets in a separate tab in the mobile version

2 posters

Go down

 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

 Widgets in a separate tab in the mobile version Sg1fcpil7pva


welcome everybody,
This trick is similar to @MattiaDes suggestion  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  Widgets in a separate tab in the mobile version Icon_biggrin
كونان2000
كونان2000
Forumember

Male Posts : 284
Reputation : 120
Language : Arabic

https://anime.forumperso.com/

BlackScorpion, SarkZKalie, TonnyKamper and Jucarese like this post

Back to top Go down

 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
كونان2000
كونان2000
Forumember

Male Posts : 284
Reputation : 120
Language : Arabic

https://anime.forumperso.com/

Back to top Go down

 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
Mihai
Mihai
Forumember

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

https://fgsuport.forumotion.com/

Back to top Go down

Back to top

- Similar topics

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