AMP Pulling random CSS from another plugin
-
I use the “Birds Author Box” plugin with custom CSS due to incompatibility with my theme, but for some reason all of my AMP pages pull the custom css and insert it before the DOCTYPE declaration.
Here’s the custom CSS I use for the other plugin:
.author_box_tabs_navigation li { list-style-type: none !important; } ul.author_box_tabs_navigation { margin:0 !important; } .author_box_tabs nav { margin-bottom: -53px; }
And here’s what the source code of my AMP posts look like:
<style>.author_box_tabs_navigation li { list-style-type: none !important; } ul.author_box_tabs_navigation { margin:0 !important; } .author_box_tabs nav { margin-bottom: -53px; }</style><!doctype html> <html amp> etc.
Any ideas why it’s using the CSS from another plugin?
Example of a messed up post:
view-source:https://www.irsmedic.com/2016/02/18/3-things-never-to-say-to-the-irs/amp/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘AMP Pulling random CSS from another plugin’ is closed to new replies.