Saltar navegación

[Resuelto] Toolset Button Class

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

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 support ticket is created hace 3 años, 8 meses. There's a good chance that you are reading advice that it now obsolete.

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Este tema contiene 2 respuestas, tiene 2 mensajes.

Última actualización por martinB-16 hace 3 años, 8 meses.

Asistido por: Luo Yang.

Autor
Mensajes
#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

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:
enlace oculto

#2060575

My issue is resolved now. Thank you!