Jump to the post that solved this thread.
Solved: 3 Years, 7 Months ago Default Quicklink Icon?
#1
Solved: 3 Years, 7 Months ago Heart 
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?


Attached Files Thumbnail(s)
   
Reply
#2
Solved: 3 Years, 7 Months ago
Edit headerlinks_sprite.png in your image folder
[Image: sig2.jpg]
Reply
#3
Solved: 3 Years, 7 Months ago
required code depends on the theme you are using. provide forum url so that someone can check it
Reply
#4
Solved: 3 Years, 7 Months ago
(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.
Reply
#5
Solved: 3 Years, 7 Months ago
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
I don't answer questions about localhost forums or forums without URL, I'm not a seer.  Cool
Reply
#6
Solved: 3 Years, 7 Months ago
(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.
Reply
#7
Solved: 3 Years, 7 Months ago
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!
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)