[Resolved] I need a suggestion for my Custom Css Files

Home Forums Support I need a suggestion for my Custom Css Files

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1050562
    FunkyCss

    Καλησπέρα ! Means Good evening in Greek !

    So i need to ask something about custom css in child themes !

    When i checked in Pagespeed google , advised me to inline some css , it was the only problem .

    So i am wondering if i can use 2 or 3 different css files in my GP child theme , without troubles .

    My custom CSS is 800 lines , Some are for custom Flexbox columns in Woocomerce descriptions and some are fancy stuff etc.

    So i wonder if i should separate more css files and not to have one ! And if this easily apliaple and recommended !

    Thank you very much for your support guys !

    #1050610
    David
    Staff
    Customer Support

    Hi there,

    for 800 lines of CSS i would keep it all in the one style sheet.
    It would only make sense to create a separate style sheet for example: your Woo styles if it was a lot of CSS and you had many pages that didn’t require it.

    Inlining CSS would mean moving the CSS out of the style sheet and hooking it into the head of the site. Which would remove 1 request… which to be honest isn’t worth doing.

    #1055645
    FunkyCss

    Hey David Thanks for your reply !

    #1055657
    David
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.