Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

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