Skip Navigation

[Resolved] Toolset Button Class

This thread is resolved. Here is a description of the problem and solution.

Problem:

Override the Toolset button block default background color with custom CSS codes.

Solution:

Here is an example code:

https://toolset.com/forums/topic/toolset-button-class/#post-2059291

Relevant Documentation:

https://www.w3schools.com/css/css_important.asp

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Our next available supporter will start replying to tickets in about 0.51 hours from now. Thank you for your understanding.

This topic contains 2 replies, has 2 voices.

Last updated by martinB-16 2 months, 1 week ago.

Assigned support staff: Luo Yang.

Author
Posts
#2059027

Hi,

which class determines the background color of a button?

if I set the background-color property of the classes

tb-button
tb-button__link
tb-button__content

change, this does not have the desired effect

#2059291

Luo Yang
Supporter

Languages: English (English ) Chinese (Simplified) (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

Hello,

I assume you are going to override the Toolset button block default background color with custom CSS codes, please try these:

.tb-button .tb-button__link {
    background-color: yellow !important;
}

More help:
hidden link

#2060575

My issue is resolved now. Thank you!