Site logo

Archived topic

css file priority of GB

5 replies · Started by Ash on November 3, 2020

Viewing posts 1–6 of 6

How do I set propriety of style enqueue for GB css file?
A theme I use loads css file after GB's so it overwrite GB's style.

Hi,

Can you link us to the site in question? So we could check what may have caused this.

You can add the site details on the Private Information text area.

Thank you. :)

Please see the private info.
GB Heading style is overwritten.
I need to load GB's css after theme's css.

Hi there,

Right now it's not possible to change the priority of the stylesheet.

However, we do have a new filter in 1.2.0 that will allow for this:

add_filter( 'generateblocks_dynamic_css_priority', function() {
    return 1000;
} );

1.2.0 is currently an alpha version: https://generateblocks.com/generateblocks-1-2-0/

Thank you for the information.
Looking forward to 1.2

No problem!

This archived topic is closed to new replies.