• The offending CSS on amp pages:

        .onoffswitch, 
        .onoffswitch-inner:before, 
        .onoffswitch-inner:after 
        .onoffswitch2,
        .onoffswitch2-inner:before, 
        .onoffswitch2-inner:after  {
            margin-right: 0px;
            width: 41px;
            line-height: 41px;
        }.onoffswitch2, .onoffswitch{display:none}.mashicon-subscribe{display:none;}.mashsb-buttons{display:table;}.secondary-shares{float:left;}.mashpv{display:none;}    .wp-caption .wp-caption-text {
            visibility: hidden;
            padding: 0px!important;
        }
    

    The use of !important is not allowed on AMP pages. This is using the official WordPress AMP plugin with Reader mode.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘This add-on breaks AMP by using !important’ is closed to new replies.