Expand my Community achievements bar.

Join us for an upcoming in-person Adobe Target Skill Builders event ~~> We're hosting these live learning opportunities to equip you with the knowledge and skills to leverage Target successfully. Learn more to see if we'll be coming to a city near you!
SOLVED

How do I directly edit CSS on a button?

Avatar

Level 2

I'm doing a test of different button styles. A new class has not been created in our style sheets because updating CSS for our entire site is a big lift to do without first testing it (which is why I'm setting up an A/B test). 

When it comes to CSS, it only shows me the option of updating the class. How would I go about changing the rest, hover, and clicked state CSS of this button?

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi,

You will have to make use of Custom Code to implement the change. You need to have the new css for the specific button, surround it with style tags and paste it in Custom Code editor and load this section in the Head.

Hope this helps.

Thanks,

Rohit

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

Hi,

You will have to make use of Custom Code to implement the change. You need to have the new css for the specific button, surround it with style tags and paste it in Custom Code editor and load this section in the Head.

Hope this helps.

Thanks,

Rohit