The AMP specs do not allow !important declarations in custom styles. We have a few in the example subtheme's CSS, which causes validation errors.

Remove those !important declarations.

Most likely impact is on the skip link styles. Check if that still works.

Comments

mdrummond created an issue. See original summary.

  • mdrummond committed 3a921da on 8.x-1.x
    Issue #2702901 by mdrummond: Remove !important from style declarations
    
rainbowarray’s picture

Version: 8.x-1.x-dev » 7.x-1.x-dev

Fixed for 8.x, tested and skip link still works. Moving on to 7.x.

  • mdrummond committed 61a712a on 7.x-1.x
    Issue #2702901 by mdrummond: Remove !important from style declarations
    
rainbowarray’s picture

Status: Active » Fixed

Fixed this for 7.x too. Again, tested and skip link still works.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.