Site logo

[Support request] How to Add custom CSS properly?

Home Forums Support [Support request] How to Add custom CSS properly?

Home Forums Support How to Add custom CSS properly?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2252963
    Rostyslav

    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.

    #2481729
    Rostyslav

    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

    #2481851
    David
    Staff
    Customer Support

    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.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.