Indexhibit
Index + Exhibit

Login:

Created by
Daniel Eatock
Jeffery Vaska
And You

Where Is #img-container a:hover in 2.0?

 

Indexhibit version: 2.0
Thread is resolved.

britagranstrom
UNITED KINGDOM
2 year(s) ago
Permalink Post

i have a background colour applied to my links but I need to be able to remove that colour from beneath my images (it shows up as an underline).

in style.css in Legacy this was easy enough to do via "#img-container a:hover"

but how do i do this in 2.0? there appears to be no "#img-container a:hover"
i'm no genius, so i hope someone can let me know.

thanks

arsondpi
GREECE
2 year(s) ago
Permalink Post

I can't tell from the top of my head. I use firebug/and or the Inspect element (right click) option with my browser to spot specific css selectors. So can you post an address?

britagranstrom
UNITED KINGDOM
2 year(s) ago
Permalink Post

when you've taken a look could you remove the password from the post above please?

arsondpi
GREECE
2 year(s) ago
Permalink Post

Did you try:

#exhibit a:hover {
background: transparent !important;
}

britagranstrom
UNITED KINGDOM
2 year(s) ago
Permalink Post

no that didn't work because this problem is specific to images that are links in the exhibit area when links have a hover background colour. when i tried what you suggested my text links no longer had their hover colour.

so i tried adding the following to the area in style.css which says
/* links styles only for the #exhibit region */

#exhibit a img {
    border: none;
    background: transparent !important;
}

but that didn't work either.

i also tried background-color: #FFFFFF
again, that didn't work.

it would be great if you are able to help arsondpi.
thanks.

arsondpi
GREECE
2 year(s) ago
Permalink Post

I tried many things but couldn't figure this out.
I guess you could use a class to wrap image links...

  1. <a href='url_here' class='no_background'><image src='url_here' /></a>

and in your style.css

  1. #exhibit a.no_background { background: transparent none; }
britagranstrom
UNITED KINGDOM
2 year(s) ago
Permalink Post

OK thanks, I'll try...

Showing 1 - 7 of 7 posts in Forum » Customize » Where Is #img-container a:hover in 2.0?
 

This thread has been closed, thank you.