• Resolved iarla

    (@iarla)


    Hi,

    I just installed and started using Autoptimize, and it seems to be working fine for everything except optimising CSS.

    When I enable this feature, some of the text all renders over itself on the same line. I’ve tried different settings within “Optimize CSS” and it all has the same result.

    Just looking for help on how to optimize my css without breaking it,

    Thanks,

    Iarla

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    the problem is due to this CSS in jevelin-theme-settings-css ;

    body p {
      line-height: 0px;
    }

    this CSS by default is excluded from CSS optimization because it is located in wp-content/uploads, but if you remove that exclusion from the CSS optimization exclusion list, the problem will very likely go away.

    alternatively you could add the CSS in Appearance -> Customize -> Extra CSS;

    body p {
      line-height: unset !important;
    }

    hope this helps,
    frank

    Thread Starter iarla

    (@iarla)

    That’s perfect, thanks Frank

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    you’re welcome, feel free to leave a review of the plugin and support here! 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Optimising CSS code breaks the styling’ is closed to new replies.