Want to replace link with graphic,

10 years 1 month ago #108162 by Resarack
In the gallery tab where the link "Submit New Gallery Entry" is to make the drop down appear and disappear. What code would I have to change in order to have that appear as a image (Custom made add photo button for example) instead of a text link?
10 years 4 weeks ago #108414 by Resarack
10 years 3 weeks ago #109087 by Resarack
Does anyone have an answer to this? I have attached what it looks like now. I would like to replace the "Submit New Gallery Entry" with a image like a graphic with "Add Photo" on it.

Can anyone help?

10 years 3 weeks ago #109141 by beat
probably a simple CSS would be enough:

[code:1]a.cbpgToggleEditor {
background:transparent url(yourarrow.gif) no-repeat scroll left center !important;
color:transparent !important;


and you can experiment as I did.

There are also classes for hidden and invisible, so you can have 2 different icons.

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info
Moderators: beatnantkrileon
Time to create page: 0.395 seconds
Facebook Twitter Google LinkedIn