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
BedrockMission!

Learn More

View all

Sign in to view all badges

How do I directly edit CSS on a button?

Avatar

Avatar
Validate 1
Level 1
gitaib92245504
Level 1

Likes

2 likes

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
gitaib92245504
Level 1

Likes

2 likes

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
gitaib92245504
Level 1

03-02-2017

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?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Give Back 10
Employee
jrohit
Employee

Likes

14 likes

Total Posts

27 posts

Correct Reply

9 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Boost 5
View profile

Avatar
Give Back 10
Employee
jrohit
Employee

Likes

14 likes

Total Posts

27 posts

Correct Reply

9 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Boost 5
View profile
jrohit
Employee

06-02-2017

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

Answers (0)