by Ritsu March 13th 2017, 4:32 pm
I'm sure this problem isn't about that.
@Fildragon wants to add two images before a link (messages) in the navbar (a.mainmenu).
Oh, it's hard to do. You should go to ACP (Administration Control Panel) > Display > Pictures and Colors > CSS stylesheet and paste this code:
- Code:
a.mainmenu[href="/privmsg?folder=inbox"] {
background: url(DIRECT_LINK_TO_YOUR_IMAGE_HERE) no-repeat;
background-position: right;
}
But the text will cover the icon (background). If it had a normal selector, you would be able to set ":before" or ":after" pseudoclasses. But because it hasn't height and width of the boxes depend on how much text is written, you can't do this.
Also if name of this link was changeable, you could add some spaces before or after it ( ) but for now it isn't possible. I think it would be possible with JavaScript, but I don't know JS.
Ahhh... of course, you can merge two images.