Awful bar on bottom of modal-box icons

Phoca Gallery - image gallery extension
User avatar
f.gruber
Phoca Member
Phoca Member
Posts: 42
Joined: 12 Sep 2012, 11:47

Awful bar on bottom of modal-box icons

Post by f.gruber »

After upgrading joomla from 1.5 to 2.5 and installing phoca gallery 3.2.6 i get a green colored bar on bottom of each icon link in detail view (modalbox). This bar only appears, when the mouse-pointer moves over the icons.

I use the beeze_20 template. I see that the color of the bar comes from the CSS of the template.

I tried many CSS changes but it did not help. Can that be caused by javascript?
I cannot find how to change this. Please look at the screenshot:
Image
Thank you in advance for help.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Awful bar on bottom of modal-box icons

Post by Jan »

Hi, this seems to be the a:hover effect in beez, such needs to be removed in the template. There is some code in component to try removing such effects, but the last loaded css is a template css, so such has the highest priority and the "a:hover" effect (I think, it is a background attribute) needs to be changed in the template css :idea:

Jan
If you find Phoca extensions useful, please support the project
User avatar
f.gruber
Phoca Member
Phoca Member
Posts: 42
Joined: 12 Sep 2012, 11:47

Re: Awful bar on bottom of modal-box icons

Post by f.gruber »

Jan wrote:... the "a:hover" effect (I think, it is a background attribute) needs to be changed in the template css :idea:Jan
Hi, thank you for your hint.
I added the following line into nature.css in the beez_20 template. This solved the problem. It had no effect in the template.css. Don't know why.

Code: Select all

.pg-imgbgd a:hover { background:none !important; }
But I think, a better solution is, to put it into phocagallery.css in the component directory. This worked for me.
Best regards
Ferdinand
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Awful bar on bottom of modal-box icons

Post by Jan »

Ok, thank you for the guide.

Jan
If you find Phoca extensions useful, please support the project
Post Reply