Skip Navigation

[Resolved] Toolset Block Button styles don't work

This support ticket is created 4 years, 2 months ago. 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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+01:00)

This topic contains 8 replies, has 2 voices.

Last updated by katjaL 4 years, 2 months ago.

Assisted by: Nigel.

Author
Posts
#1496033

I try to modify button styles (background color and text color) in block view, but the styles don't apply to frontend. In backend Toolset button looks ok, but in frontend it has the default styles. Caches are cleared.

#1496105

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

I just tested this on my local site which is using the latest version of Blocks (1.1.1) and it seems to work okay.

Could you update and check again? (The latest version is available from toolset.com/account/downloads if you don't see it yet in your plugins page.)

If you still see the problem, what is the context where you are adding the button?

I just added a Toolset button block to a static page and styled it and confirmed its appearance on the front end.

If you have the button, say, inside a conditional block, please check by just adding the button to a static page, and then let me know the details of the context in which it doesn't work.

#1497417

Thank you Nigel. I updated the plugin and the problem still existed. I moved the button to a normal page area, the button was ok. But if I put it in the footer, the styles get lost.

The button is inserted into the footer with the "Reusable Blocks Extended" shortcode (great plugin!). If I put the reusable block (where the button is) into the page area, both the page area button AND the footer button are ok. As soon as I delete the reusable block from page area, the footer button turns again to default style.

#1497841

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

I checked the documentation for that plugin.

Before I go any further, can you confirm how you are adding the re-usable block to your footer?

Via a widget?
Inserting a PHP function in footer.php?
Your theme or some other plugin lets you edit the footer where you added the block or a shortcode?

#1498181

I add the reusable block to the footer via shortcode.

#1498263

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

OK, but what allows you to do that?

Sorry, but I need to replicate the set-up for testing.

I can see from your debug info that you have Atra Pro, and that lets you customise how many widget areas are included in the footer, but you would still be using widgets, right?

So adding a shortcode from the repeatable block plugin to a widget in the footer?

#1498267

Yes, sorry for being unclear. I add the shortcode from the repeatable block plugin into a "Text" widget into the "Footer Widget Area 1" (which I have defined to be one column full width).

#1498313

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

Screenshot 2020-02-07 at 15.23.16.png

I tried something similar but slightly different, because that plugin includes its own widget for inserting re-usable blocks, so I used that widget instead of adding a shortcode to a text widget, and it worked (the red button in the screenshot).

Can you try and confirm the same?

#1498329

Yes that worked! I didn't notice that widget at all, thank you Nigel!
My issue is resolved now. Thank you!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.