(2019-02-24, 05:13 PM)Arka Wrote: [ -> ]Small progress. Actually I was commenting out the wring line. i should have removed this div:
Quote:<!-- <div class="collapse navbar-collapse navbar-ex1-collapse">-->
So now the content of the hamburger is always visible.
Now what I am left to do is to make sure that the two items stay on the same line (from mobile) instead of being one two lines. It must be because of the lists that are in the code, but I don't know enough to change it (I have tried a couple of things, but no joy).
Happy Sunday Funday, day of rest.
The way support works:
The first questions you ask are what solutions are provided. If said answers turn out to be not what you were looking for then as such new questions they are now a different support request. So far all of your original requests were answered and they were the correct answers..., as I stated further modifications would need to made by the end user once said changes are made. I am not here to answer your request and then do the entire job for you. On the contrary I provide answers that help get you pointed in the right direction and hope that the end result is a hands on learning experience for the end user else the entirety of my time would be taken up on say a single support request if that makes sense. As you can see now you are wanting to keep the exact thing you wanted to get rid of initially..., again adding length to the initial support request. Simple as this, use the previous info to remove the menu and move the other menu items, then remove the mobile specific media queries or simply rename the moved menu class and such to a new identifier and do not add mobile specific styling if you want it to display always without having to keep the hamburger button and span.
here is a simple example of how you don't necessarily have to keep hacking away at pre-existing mobile specific menu options and as I already suggested rename or create a new menu
for example:
<nav class="navbar default">
<div class="container-fluid">
<ul class="nav navbar-nav navbar-right" style="font-size: 16px; text-align: right;">
<li class="col-xs-6"><a href="search.php?action=getnew"><i class="fa fa-comment"></i> {$lang->welcome_newposts}</a></li>
<li class="col-xs-6"><a href="search.php?action=getdaily"><i class="fa fa-comments"></i> {$lang->welcome_todaysposts}</a></li>
</ul>
</div>
</nav>
* again here is a quickly done simple example of say mildly modifying the previous example to a specific usage for say adding title info and link specific lang:
<nav class="navbar default">
<div class="container-fluid">
<ul class="nav navbar-nav navbar-right" style="font-size: 16px;">
<li class="col-xs-6" style="min-width: 100px;"><a href="search.php?action=getnew" title="{$lang->welcome_newposts}"><i class="fa fa-comment"></i> {$lang->welcome_new}</a></li>
<li class="col-xs-6" style="min-width: 100px;"><a href="search.php?action=getdaily" title="{$lang->welcome_todaysposts}"><i class="fa fa-comments"></i> {$lang->welcome_now}</a></li>
</ul>
</div>
</nav>
and adding this to your language specific global.lang.php language file:
english:
$l['welcome_new'] = "New";
$l['welcome_now'] = "Now";
italian:
$l['welcome_new'] = "Nuovo";
$l['welcome_now'] = "Adesso";
etc, etc...
Note: the previous examples as you can see have new and now as in new posts and today's posts...., it dawned on me after that originally you had asked for search and new posts of which was done in previous examples except for these new ones...., so here is the same but with search instead of now / today's posts **
<nav class="navbar default">
<div class="container-fluid">
<ul class="nav navbar-nav navbar-right" style="font-size: 16px;">
<li class="col-xs-6" style="min-width: 100px;"><a href="search.php" title="{$lang->toplinks_search}"><i class="fa fa-search"></i> {$lang->toplinks_search}</a></li>
<li class="col-xs-6" style="min-width: 100px;"><a href="search.php?action=getnew" title="{$lang->welcome_newposts}"><i class="fa fa-comment"></i> {$lang->welcome_new}</a></li>
</ul>
</div>
</nav>
** and adding only this to your language specific global.lang.php language file instead:
english:
$l['welcome_new'] = "New";
italian:
$l['welcome_new'] = "Nuovo";
etc, etc.. *
* and the very same as above but simply modified by further adding tooltips to the menu items:
<nav class="navbar default">
<div class="container-fluid">
<ul class="nav navbar-nav navbar-right" style="font-size: 16px;">
<li class="col-xs-6" style="min-width: 100px;"><a href="search.php" data-toggle="tooltip" data-placement="top" title="{$lang->toplinks_search}"><i class="fa fa-search"></i> {$lang->toplinks_search}</a></li>
<li class="col-xs-6" style="min-width: 100px;"><a href="search.php?action=getnew" data-toggle="tooltip" data-placement="top" title="{$lang->welcome_newposts}"><i class="fa fa-comment"></i> {$lang->welcome_new}</a></li>
</ul>
</div>
</nav>
* But again I am really not trying to keep doing the entire job for you and I only share this example as simply yet another simple starting point for you.
Final Note: One other aspect you could possibly consider is swapping back to the New and Now link options I showed earlier and opt to start adding a search input in place of where the top nav sections that were removed and back in earlier posts as well.
example of the search part:
<div class="input-group">
<input name="keywords" type="text" class="form-control" placeholder="{$lang->search_button}">
<input type="hidden" name="action" value="do_search" />
<input type="hidden" name="postthread" value="1" />
<span class="input-group-btn">
<button class="btn btn-default" type="submit">
<i class="fa fa-search"></i>
</button>
</span>
</div>
</form>
So primarily you would have a search input on top bar that works on mobile in place of where the top menu was that you originally wanted removed. ** also that would allow for re-adding of hamburger button if wanted as that would now serve a function for you. ***again the example is provided simply as a simple starting point to work with.
Good luck!