MyBB Community Forums

Full Version: Default Quicklink Icon?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've looked through everything I can find on this and I'm just really confused since everyone has a different answer and none are marked as the best answer. Undecided

How do you change the magnifying glass icon in the attached picture?
Edit headerlinks_sprite.png in your image folder
required code depends on the theme you are using. provide forum url so that someone can check it
(2018-02-10, 04:38 PM).m. Wrote: [ -> ]required code depends on the theme you are using. provide forum url so that someone can check it

I'm using the default theme with only extra links for the gallery and shop added in the header.
As .m. said, the default theme don't have "extra links" so an URL it's important for us to help you.

If it's the default theme, as iAndrew said, you must edit ths CSS of the theme:

Admin CP -> Templates & Style (Tab) -> Themes -> MyBB Theme -> global.css -> and the code below:

#header ul.menu li a {
    padding-left: 20px;
    background-image: url(../../../images/headerlinks_sprite.png);
    background-repeat: no-repeat;
    display: inline-block;
}

And of course, all of this maybe not work because a plugin could have changed all this to add these "extra links" and without an URL we can't help you more
(2018-02-11, 10:00 AM)NoRules Wrote: [ -> ]As .m. said, the default theme don't have "extra links" so an URL it's important for us to help you.

If it's the default theme, as iAndrew said, you must edit ths CSS of the theme:

Admin CP -> Templates & Style (Tab) -> Themes -> MyBB Theme -> global.css -> and the code below:

#header ul.menu li a {
    padding-left: 20px;
    background-image: url(../../../images/headerlinks_sprite.png);
    background-repeat: no-repeat;
    display: inline-block;
}

And of course, all of this maybe not work because a plugin could have changed all this to add these "extra links" and without an URL we can't help you more

This works, thank you. 
By extra links I just meant <li> was added. Didn't think the extra step was necessary, sorry.
I see you found a solution. I had similar problems but was also able to resolve it with this code instead:
Templates --> YOUR THEME --> Header Templates --> header
(Of course this code is if you decided to change your theme.)
<a class="li_nobackground"><a href="{$mybb->settings['bburl']}/YOURTEXT.php"><img src="admin\styles\default\images\icons\YOURIMAGE.png" alt="" title="" /> YOUR LABEL</a>

Best wishes!