Skip Navigation

[Resolved] usage of toolset blocks within astra hooks

This support ticket is created 3 years, 5 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.

This topic contains 3 replies, has 2 voices.

Last updated by larsZ 3 years, 5 months ago.

Author
Posts
#2299861

Hi,
I would like to use toolset blocks within a custom hook of the astra theme.
The dynamic contents are displayed, but the toolset blocks css defs are not available on the posts, I use the hook in.
That is because the css is written inline in the hooks url and is not implemented with the hook.
Is there an option to "import" the inline css into the posts or do I have to set it globally to design the hook?

Thanks in advance
Lars

#2300127

Nigel
Supporter

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

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

The Astra hooks are an unexpected context for the blocks to operate in.

There is a similar problem with the GeneratePress Premium Elements which—I believe—work in a similar way.

There is a workaround for the GeneratePress problem; do you want to check and see if it helps with the Astra hooks?

https://toolset.com/errata/toolset-block-styles-lost-if-output-via-generatepress-premium-elements/

#2303045

Hi Nigel, the workaround does not work in this case. I now changed to Kadence theme and use their dynamic content solutions for hooked elements, which works fine.

Thanks for your support,
Lars

#2303047

My issue is resolved now. Thank you!