MyBB Community Forums

Full Version: Home Icon
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have messed with the XML Document to add the home icon on the forums... However, I can not list the word "home" next to the home icon as you can see in the picture below. If anyone can help me with this situation... It would be greatly appreciated thank you....

Here is what I added...

#panel .upper ul.top_links a.home {
background-image: url(images/leaf/icons/home.png);


<li><a href=http://clubfauna.com/ class="home">{$lang->toplinks_home}</a></li>
(2013-03-04, 09:00 PM)billybatz9 Wrote: [ -> ]I have messed with the XML Document to add the home icon on the forums... However, I can not list the word "home" next to the home icon as you can see in the picture below. If anyone can help me with this situation... It would be greatly appreciated thank you....

Here is what I added...

#panel .upper ul.top_links a.home {
background-image: url(images/leaf/icons/home.png);


<li><a href=http://clubfauna.com/ class="home">{$lang->toplinks_home}</a></li>

perhaps you have over complexed your classes ... it may be an idea to produce a simple class rather than some inherited class items
chance this
<li><a href=http://clubfauna.com/ class="home">{$lang->toplinks_home}</a></li>
To this
<li><a href=http://clubfauna.com/ class="home">{$lang->toplinks_home}</a>Home</li>
(2013-03-04, 09:45 PM)erigo19 Wrote: [ -> ]chance this
<li><a href=http://clubfauna.com/ class="home">{$lang->toplinks_home}</a></li>
To this
<li><a href=http://clubfauna.com/ class="home">{$lang->toplinks_home}</a>Home</li>

That seemed to do the trick!! Thanks so much...

Is there anyway it can be clickable though? Right now, only the icon is clickable.
Replace this line:

<li><a href=http://clubfauna.com/ class="home">{$lang->toplinks_home}</a>Home</li>

with

<li><a href="http://clubfauna.com/"><i class="home"></i>Home</a></li>

& go to global.css & add this code:

i.home {
background-image: url(images/leaf/icons/home.png);
Just re upload the theme?