Solved: 14 Years, 4 Months ago Header Link Images
#1
Solved: 14 Years, 4 Months ago
I noticed in the header_welcomeblock_member template, the links for the toplinks include "{$lang->toplinks_[name]}" that includes the image - I want to be able to do that. I tried using an img tag, but it doesn't do exactly what I want.

I want to be able to add in a custom URL with the image alongside it just like the others, but I don't know how. Can you help me?
#2
Solved: 14 Years, 4 Months ago
It's part of the a class. Look in your global.css.
#3
Solved: 14 Years, 4 Months ago
(2009-08-03, 12:45 AM)Bey Brad Wrote: It's part of the a class. Look in your global.css.

I did that, but how do you link it to the header exactly for it to display?
#4
Solved: 14 Years, 4 Months ago
"{$lang->toplinks_[name]}" is a language variable, not a class. You can add language variables, but you can just use normal text instead of that to make the text show. I find that easier than adding a language variable.
Your friendly neighbourhood lurker.
#5
Solved: 14 Years, 4 Months ago
(2009-08-03, 04:25 AM)Joshua Mayer Wrote: "{$lang->toplinks_[name]}" is a language variable, not a class. You can add language variables, but you can just use normal text instead of that to make the text show. I find that easier than adding a language variable.

Ah, I see now. Sorry, wasn't entirely sure about that. Smile
#6
Solved: 14 Years, 4 Months ago
No problem Wink
Your friendly neighbourhood lurker.
#7
Solved: 14 Years, 4 Months ago
Now, back to what Brad was saying.

I added the image to global.css and stuff, but how do I add it into the nav area alongside the link?
#8
Solved: 14 Years, 4 Months ago
(2009-08-03, 06:25 AM)Kazuto Wrote: Now, back to what Brad was saying.

I added the image to global.css and stuff, but how do I add it into the nav area alongside the link?

Just look at the classes for the other menu item ... then copy and paste it, change the class name and the image URL.


Forum Jump:


Users browsing this thread: 4 Guest(s)