Created
January 21, 2017 13:03
-
-
Save MohammedKaludi/5f0c6bc912b4c3b44019ccd9016e0568 to your computer and use it in GitHub Desktop.
Completely remove default CSS from AMPforWP plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action('pre_amp_render_post','ampforwp_remove_default_stylesheet',20); | |
function ampforwp_remove_default_stylesheet(){ | |
remove_action('amp_post_template_css', 'ampforwp_additional_style_input'); | |
} |
This snippet doesn't work anymore.
can you please let me know which design type you are using and if you could share it then i'll be able to help you.
can you please let me know which design type you are using and if you could share it then i'll be able to help you.
I am using swift theme.
And you want to remove all the css added by the plugin and add custom css that you have written right?
This is the usecase, correct?
Yes. That's it.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This snippet doesn't work anymore.