Hi Jack,
Thanks. I’ve tried the provided map layout and it’s working without issue for me.
I don’t see any direct changes of the CSS file mime type in any of the provided files, but I do see mod_gzip being used. Depending on how the server is set up that could be causing this issue.
Please temporarily remove these lines in your .htaccess file:
<ifModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</ifModule>
#
# BEGIN Cache-Control Headers
<IfModule mod_expires.c>
<IfModule mod_headers.c>
<filesMatch "\.(ico|jpe?g|png|gif|swf)$">
Header append Cache-Control "public"
</filesMatch>
<filesMatch "\.(css)$">
Header append Cache-Control "public"
</filesMatch>
<filesMatch "\.(js)$">
Header append Cache-Control "private"
</filesMatch>
<filesMatch "\.(x?html?|php)$">
Header append Cache-Control "private, must-revalidate"
</filesMatch>
</IfModule>
</IfModule>
Open your website in a private/incognito mode and then view the page that contains your map. Does it work as expected now?
Of course this is a dirty fix and I’m wondering if the digits (6b23895f316e) in the filename may change in a future update to the plugin.
These numbers will change after updating the widget design settings, or plugin. They’re unreliable. You can safely remove that class as while this issue is occurring on your website no other CSS will be able to be loaded that will override it.
Kind regards,
Alex