Rich-text Reply

How to change link colors which they appear in javascript and cant see with Optimizely Tool.

Sanguin 11-04-15

How to change link colors which they appear in javascript and cant see with Optimizely Tool.

Hi all!

 

so basically i need to change some link colors. But in original site these links are sublinks and they appear thanks to javascript when you first mouseover main link. I guess thats why i cant see/find them with Optimizely Tool.

 

How can i find and change their colors?

 

Also need to change multiply button background colors in another site. I find out how can i make it manually one by one but its not the best way.

 

Can you please help me about this important cases?

 

Thank you a lot!

 

Level 1

JDahlinANF 11-04-15
 

Re: How to change link colors which they appear in javascript and cant see with Optimizely Tool.

@Sanguin

It sounds like the wasiest way to do this is to insert some CSS that overrides the current styles with what you want the styles to be.

 

e.g.,

 

/* _optimizely_evaluate=force */
$('head').prepend('<style>a.sublink:hover {color:red !important;}</style>');
/* _optimizely_evaluate=safe */