Black Friday Sale! Get up to $40 off GP Premium!Learn more

[Support request] Primary navigation CSS when "No Navigation"

Home Forums Support Primary navigation CSS when "No Navigation"

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #459461

    Hi there,

    I’m a new GP user and am loving it so far, but after trying to integrate UberMenu I’ve found a possible general issue.

    When Customizer -> Layout -> Primary Navigation -> Navigation Location is set to No Navigation, GP still spits out the primary navigation CSS with an id of generate-style-inline-css.

    This superfluous CSS isn’t a major problem, but it isn’t used so is inefficient and may clash with CSS that is actually used in a replacement nav menu.

    Is there a way to prevent unused CSS from being emitted ?

    GeneratePress 2.0.1
    GP Premium 1.5.6
    Lead Developer
    Lead Developer

    Hi Simon,

    Currently it’s not possible to remove that CSS due to the caching CSS (which is worth the extra CSS when it comes to performance).

    I’m working on a way to reduce it as much as possible though.

    That being said, there shouldn’t be any conflicts:

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