Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

How do I directly edit CSS on a button?

gitaib92245504
Level 2
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
jrohit
Correct answer by
Employee
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
jrohit
Correct answer by
Employee
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