• Welcome to the all-new Kolakube support, the official place to get help for Marketers Delight, XFtoWP, CryptoWP, and other WordPress products! Please login with your account details to access private support forums.

Inline CSS is loading down

gauravtiwari

Blogger
Md
Messages
294
Reaction score
124
Website
gauravtiwari.org
Hi @Alex , MD's inline css is loading after plugins like GenerateBlocks and that overrides the custom styles made by such plugins. Is it possible to load it sooner, exactly where the compiled .css file loads (after Typekit CSS).

1665053444860.jpeg
 

Alex

MD developer
Staff member
Md
XFtoWP
Messages
6,703
Reaction score
1,901
Thanks for the report. The MD style sheet is intended to load after plugins so their styles can be overridden, identical to how WP loads themes after plugins anyhow.

It is possible to change the order but that may have unintended effects on other plugin styles you may have in your child theme.

I cam come up with a code snippet to change the order if you are interested!
 
Comment

Alex

MD developer
Staff member
Md
XFtoWP
Messages
6,703
Reaction score
1,901
I think it is all good with .css file. Only if inline css loaded just after Typekit font as well.
Ah, I see the ordering problem with Typekit and inline CSS.

I've just completed a patch for MD5.5.6 that prioritizes the enqueue for custom fonts so it always appears before inline CSS.
 
Comment
Top