CSS on every page

Home Forums MapPress Support CSS on every page

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10323
    flip
    Participant

    I use mappress only on one page, but the css file is loaded on all posts and pages. how can I change that?

    thx

    #10329
    Chris
    Keymaster

    Hi, unfortunately that can’t be changed.

    The problem is that the plugin doesn’t know in advance which posts/pages will have a map.  But the CSS has to be loaded in the header before the page is rendered (it can’t be loaded in the footer or it will seem to ‘pop’ in as the page is displayed).

    The CSS is small and will be cached, or you can minimize it to compress it further, but that’s the only (partial) solution I can suggest.

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