Site logo

Archived topic

How to Add custom CSS properly?

2 replies · Started by Rostyslav on June 14, 2022

Viewing posts 1–3 of 3

Hello,

I am using Generatepress Premium + Child theme + Generateblocks + (some worpress defaul gutenberg blocks).

Where should I add my custom Css properly in order load it faster.

Option 1) Customizer
Option 2) Slyle.css of Generate Press (father)
Option 3) Slyle.css of Generate Press Child.

Thanks.

Hello!

Which method is the best?

As I undestand Option 3) (Slyle.css of Generate Press Child) is the best because the cache plugin does cache that file.

Is that true?

Thanks

Hi there,

never do Option 2.

I personally add all CSS to a Child Theme CSS.
But performance wise there is no real difference between 1 and 3.
A lot of cache / optimiztion plugins will scrape inline CSS and save it in a cached CSS file also.

This archived topic is closed to new replies.