The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Transparent and semi transparent Rollover color

Go down

Solved Transparent and semi transparent Rollover color

Post by EnSabahNur2 on February 14th 2015, 12:39 am

I made my things semi transparent and when I put my mouse cursor over a row, it changes from semi transparent color to non transparent color and it is too strident. I would like to remain semi transparent. Thank you!
My Forum: http://ensabahnur2.forumsmotions.com


Last edited by EnSabahNur2 on February 20th 2015, 10:44 am; edited 1 time in total
avatar
EnSabahNur2
New Member

Male Posts : 20
Reputation : 1
Language : Romanian, English
Location : Romania, Cluj-Napoca

http://ensabahnur2.forumsmotions.com

Back to top Go down

Solved Re: Transparent and semi transparent Rollover color

Post by _Twisted_Mods_ on February 14th 2015, 12:56 am

use rgba for your color

Code:
background-color:rgba(255,0,0,0.5);

colors values are from 0-255
transparency is from 0 to 1

rgba = red,green,blue,alpha transparency
avatar
_Twisted_Mods_
Helper
Helper

Male Posts : 2064
Reputation : 314
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Transparent and semi transparent Rollover color

Post by EnSabahNur2 on February 19th 2015, 5:13 am

Yea, but what is the 'rollover' CSS code?
avatar
EnSabahNur2
New Member

Male Posts : 20
Reputation : 1
Language : Romanian, English
Location : Romania, Cluj-Napoca

http://ensabahnur2.forumsmotions.com

Back to top Go down

Solved Re: Transparent and semi transparent Rollover color

Post by _Twisted_Mods_ on February 19th 2015, 7:26 am

goto acp>display>colors>css tab

find

Code:
li.row:hover{background-color:background-color:rgba(255,0,0,0.5)}

and replace it with

Code:
li.row:hover{background-color:rgba(0,0,0,0.5);}
avatar
_Twisted_Mods_
Helper
Helper

Male Posts : 2064
Reputation : 314
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Transparent and semi transparent Rollover color

Post by EnSabahNur2 on February 20th 2015, 10:43 am

I didn't had it there, but I added the code and it works now. Thank you!
avatar
EnSabahNur2
New Member

Male Posts : 20
Reputation : 1
Language : Romanian, English
Location : Romania, Cluj-Napoca

http://ensabahnur2.forumsmotions.com

Back to top Go down

Solved Re: Transparent and semi transparent Rollover color

Post by _Twisted_Mods_ on February 20th 2015, 10:48 am

Topic solved and archived
avatar
_Twisted_Mods_
Helper
Helper

Male Posts : 2064
Reputation : 314
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum