Suggestions for Critical CSS
-
Why isn’t critical CSS being used? I think it’s important for headings and everything.:
.has-text-align-center{text-align:center}
.has-text-align-left{text-align:left}
.has-text-align-right{text-align:right}
You could add a class like.wp-block-heading { display: block; }.
I added these classes and they work great for rendering, everything looks really good, and there are no alignment changes.
And they are just a few lines, so they don’t increase the loading time.
Theme I use, generatepress
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Suggestions for Critical CSS’ is closed to new replies.