Hello!
I would like to insert the 4 links in the panel bar and remove the search link. I am blocked ...
https://imgur.com/EpijUOd
THX in advance for your help!
blongso
header template consists of
{$quicksearch} you can
replace it with
required links
for
MyBB Stock theme, replacing code can be like below
<ul class="menu top_links" style="float: right;">
{$menu_portal}
{$menu_search}
{$menu_memberlist}
{$menu_calendar}
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help" class="help">{$lang->toplinks_help}</a></li>
</ul>
also you have to add
background style property for
each menu item
eg. for
portal in the
panel =>
#panel ul.top_links a.portal {background-position: 0 -180px;}
(2020-03-04, 07:14 AM).m. Wrote: [ -> ]....
also you have to add background style property for each menu item
eg. for portal in the panel =>
#panel ul.top_links a.portal {background-position: 0 -180px;}
re .m.,
I did not understand the part now ... where exactly do I have to use each one? In global.css?
^ of course, in
global.css of the theme
in general, background images for top menu items are positioned like below
#logo ul.top_links a.portal {background-position: 0 -180px;}
if you change menu items location then
existing style properties do not apply.
as you want to move links to the
panel div, you can change
#logo to
#panel
#panel ul.top_links a.portal {background-position: 0 -180px;}
re,
DONE!
But ...
My attempt to go down the row now, in the amount of the other links on the left side failed again. Before I do any more nonsense:
How do I get the links down a little further?
https://imgur.com/r5JIrgK
^ try changing
margins used for
#panel ul.top_links
you may try margins style rule similar to below at the bottom of
global.css
#panel ul.top_links {margin: 4px 5px -15px 0;}
re .m.,
After clearing the cache, unfortunately no change in my new Theme2020 (however, I do not rule out that I did something wrong).
re,
If you have time, can I get more help, please?
edit:I tried again myself and I think I did it. Can I do it like this?
#panel ul.top_links {
font-weight: bold;
text-align: right;
margin: 1px 1px -19px 0;