[Resolved] Dynamic CSS Print Method not working

Home Forums Support [Resolved] Dynamic CSS Print Method not working

Home Forums Support Dynamic CSS Print Method not working

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1665109
    Visual D

    Hi Tom

    The CSS is in my website is not transferred to the external file while using Dynamic CSS Print. I tried to deactivate the Catching plugin, but it doesn’t make a difference.

    I also tried to copy the CSS to the external style sheet in Generate press Child theme, but that broke my web site as it is not recognizing the CSS at all.

    Any idea?

    Thanks

    Edwin

    #1665382
    David
    Staff
    Customer Support

    Hi there,

    can you disable your cache plugins so we can see whats going on?

    #1665405
    Visual D

    Hi David

    Disabled.

    #1665451
    David
    Staff
    Customer Support

    It is working you can see the link in the <head>:

    <link rel="stylesheet" id="generatepress-dynamic-css" href="//www.sitename.com.au/wp-content/uploads/generatepress/style.min.css" media="all">

    Note: some dynamic CSS is left inline within generate-style-inline-css. We constantly improving the way dynamic CSS is generated, but for now their will always be a little CSS left inline.

    #1665468
    Visual D

    Hi David

    Thanks for checking, however none of my css is transferred over to the style sheet.
    All my CSS is under Customizing/Additional CSS.

    See screenshot

    #1665479
    David
    Staff
    Customer Support

    Aah the Additional CSS isn’t included in the Dynamic CSS – its a WP function. Dynamic CSS is purely what the Customizer settings generate. You would simply need to move the Additional CSS to your child themes style sheet.

    #1665494
    Visual D

    Hi David,

    Got you. I copied it to the child theme style sheet, but it is breaking my website now. When I go to generatepress_child/style.css i am getting a 404 error.

    #1665500
    Visual D

    Hi David,

    All good. Had to clear the Litespeed cache in the server. All working now.
    Thanks for your help

    Generatepress is the best. Google pagespeed test is now 97

    Edwin

    #1665775
    David
    Staff
    Customer Support

    Awesome – glad to hear that!

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