Support » Plugin: AMP for WordPress » How to disable inline styles?

  • Hi,

    is there an easy option to disable inline styles? Or maybe only use inline styles for defined html tags (i.e. use them for links but not for tables).

    I currently commented out the inline-return in the source code but it’s obviously not a very nice solution.



Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mohammad Jangda


    Out of curiosity, why you want to disable them?

    Because I’m using a customized AMP template. If I keep them enabled i.e. the table styles don’t work as nicely on AMP as on the desktop/mobile version. I’d have to make changes to all my articles again as I can’t override the inline styles with !important in the default CSS for AMP.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to disable inline styles?’ is closed to new replies.