• Closed by: Fred
  • Closed on: 28.07.20, 18:51
  • Reason: Closed
  • Comment: Glad to help!

Ticket #18716 - Google Search Console error The text inside tag 'style amp-custom' contains 'CSS i-amphtml- name pre

Hi,

I am receiving in AMP sectino from Google Search Console, a error message:

The text inside tag ‘style amp-custom’ contains ‘CSS i-amphtml- name prefix’, which is disallowed.

Here a example of code with this error:

<style amp-custom>@font-face{font-family:’Roboto’;font-style:normal;font-weight:400;font-display:swap;src:local(’Roboto’),local(’Roboto-Regular’),url(https://fonts.gstatic.com/s/roboto/v18/KFOmCnqEu92Fr1Mu72xKKTU1Kvnz.woff2) format(’woff2’);unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:’Roboto’;font-style:normal;font-weight:400;font-display:swap;src:local(’Roboto’),local(’Roboto-Regular’),url(https://fonts.gstatic.com/s/roboto/v18/KFOmCnqEu92Fr1Mu5mxKKTU1Kvnz.woff2) format(’woff2’);unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:’Roboto’;font-style:normal;font-weight:400;font-display:swap;src:local(’Roboto’),local(’Roboto-Regular’),url(https://fonts.gstatic.com/s/roboto/v18/KFOmCnqEu92Fr1Mu7GxKKTU1Kvnz.woff2) format(’woff2’);unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:’Roboto’;font-style:normal;font-weight:400;font-display:swap;src:local(’Roboto’),local(’Roboto-Regular’),url(https://fonts.gstatic.com/s/roboto/v18/KFOmCnqEu92Fr1Mu4mxKKTU1Kg.woff2) format(’woff2’);unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:’Roboto’;font-style:normal;font-weight:500;src:local(’Roboto Medium’),local(’Roboto-Medium’),url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmEU9fCRc4AMP6lbBP.woff2) format(’woff2’);unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:’Roboto’;font-style:normal;font-weight:500;font-display:swap;src:local(’Roboto Medium’),local(’Roboto-Medium’),url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmEU9fABc4AMP6lbBP.woff2) format(’woff2’);unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:’Roboto’;font-style:normal;font-weight:500;font-display:swap;src:local(’Roboto Medium’),local(’Roboto-Medium’),url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmEU9fChc4AMP6lbBP.woff2) format(’woff2’);unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:’Roboto’;font-style:normal;font-weight:500;font-display:swap;src:local(’Roboto Medium’),local(’Roboto-Medium’),url(https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmEU9fBBc4AMP6lQ.woff2) format(’woff2’);unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:’Archivo Narrow’;font-style:normal;font-weight:400;font-display:swap;src:local(’Archivo Narrow Regular’),local(’ArchivoNarrow-Regular’),url(https://fonts.gstatic.com/s/archivonarrow/v8/tss0ApVBdCYD5Q7hcxTE1ArZ0bb-iXxw2d8oBxk.woff2) format(’woff2’);unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:’Archivo Narrow’;font-style:normal;font-weight:400;font-display:swap;src:local(’Archivo Narrow Regular’),local(’ArchivoNarrow-Regular’),url(https://fonts.gstatic.com/s/archivonarrow/v8/tss0ApVBdCYD5Q7hcxTE1ArZ0bbwiXxw2d8o.woff2) format(’woff2’);unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:’Archivo Narrow’;font-style:normal;font-weight:500;font-display:swap;src:local(’Archivo Narrow Medium’),local(’ArchivoNarrow-Medium’),url(https://fonts.gstatic.com/s/archivonarrow/v8/tss3ApVBdCYD5Q7hcxTE1ArZ0b4DqmlT-9ICPRBv3BM.woff2) format(’woff2’);unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:’Archivo Narrow’;font-style:normal;font-weight:500;font-display:swap;src:local(’Archivo Narrow Medium’),local(’ArchivoNarrow-Medium’),url(https://fonts.gstatic.com/s/archivonarrow/v8/tss3ApVBdCYD5Q7hcxTE1ArZ0b4Dqmld-9ICPRBv.woff2) format(’woff2’);unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}body .roboto{font-family:Roboto}body .archivo{font-family:’Archivo Narrow’}html{background:#eee}body{font-size:16px;line-height:1.5;font-family:Roboto,Arial;color:#6e6e6e;background:#fff}.lang-rtl{direction:rtl}a,a:visited{text-decoration:none;color:inherit}ul,li{padding:0;margin:0}ul{list-style:outside none none}h1,h2,h3,h4,h5,h6{margin:0;font-family:”Archivo Narrow”}h4.module-title{font-size:18px;font-weight:500;letter-spacing:.1em;margin:0 auto 40px;text-align:center;text-transform:uppercase;color:#444;display:flex;align-items:center;flex-direction:column}h4.module-title span{padding:0 16px 10px 16px;border-bottom:2px solid #3a3a3a}.bold{font-weight:bold}img,.db{display:block}button,body .button,body .btn,input[type=”submit”],input[type=”button”]{background-color:#313537;font-size:12px;font-family:”Archivo Narrow”;font-weight:400;font-style:normal;line-height:14px;text-transform:uppercase;color:#fff;letter-spacing:.1em;box-sizing:border-box;border:0;border-radius:0;-webkit-appearance:none;padding:10px 15px;display:inline-block;margin:0;outline:0}.button svg,.btn svg{width:14px;height:14px;margin-right:6px}body .big-btn{padding:14px 30px}.big-btn:disabled,.btn:disabled{background:#ccc}.atc-dis button{margin-right:0}.clearButton{background:none;border:0;color:#333}body>main,.fixed-width,.footer-wrapper{padding:0 20px}.general-item .container .fixed-width,.general-item .header-top,.general-item .footer-wrapper>div,.main-menu button,body:not(#home)>main{max-width:450px;margin-left:auto;margin-right:auto}[submit-success]{color:green}[submit-error]{color:#ff5733}[submitting]{color:#6daae8}[submitting],[submit-error],[submit-success]{padding:0 15px}.vert-templ{padding:15px 0}.hidden,.material-icons{display:none}.text-uppercase{text-transform:uppercase}.svgic{display:inline-block;fill:currentColor;height:20px;pointer-events:none;vertical-align:top;width:20px}#category-name-amp{color:#222}.close-section h4{font-size:24px}.pagination-block{margin:auto;width:50%}.pagination{display:inline-block;list-style:outside none none}ul.pagination li.pagination_previous{margin-right:10px}ul.pagination li{padding:0 5px;border:1px solid #e1e1e1;margin:2px;display:inline-block}ul.pagination li:first-child,ul.pagination li:last-child{border:0}#selector-cart,#sidebar,#selector-menu,#selector-search,#language,#currency{max-width:390px;width:90%}.disabled{cursor:not-allowed}.active{color:#000}.full-w{margin-right:-20px;margin-left:-20px}amp-sidebar{padding:40px 20px;width:100%;height:calc(100% - 80px)}#sidebar amp-sidebar,amp-carousel,.w100{width:100%}amp-carousel>div>div{max-width:100%}body .inv-btn{background:none;border:2px solid #222;color:#222}.main-logo amp-img{max-width:150px}header amp-img{vertical-align:middle}.main-menu button{font-size:15px;font-weight:500;letter-spacing:.22em;color:inherit}.flex-container{display:flex}.flex-column{flex-direction:column}.flex-row{flex-direction:row}.reverse-order{flex-direction:row-reverse}.pk-cpi,.flex-grow1{flex-grow:1}.align-items-center{align-items:center}.align-items-right{align-items:flex-end}.flex-column>.align-items-center,.justify-center{justify-content:center}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.relative{position:relative}.absolute{position:absolute}.bs{box-sizing:border-box}.header-top{padding:35px 20px}.header-top button{margin-left:25px}.wide-input{padding:6px 12px;background:#fff;font-size:14px;line-height:20px;width:100%;border:1px solid #e1e1e1;box-sizing:border-box}body>footer{padding:40px 0 30px;background:#222;color:#9e9e9e}.ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}.product-listing div[role=”list”]{margin-bottom:20px}.grid2>div[role=”list”]{display:grid;grid-template-columns:1fr 1fr;grid-column-gap:20px}.grid2 .product-miniature form{flex-direction:column;align-items:flex-start}.grid2 .product-miniature form [submitting],.grid2 .product-miniature form [submit-error],.grid2 .product-miniature form [submit-success]{padding:10px 0}.grid2 .product-price-amp{flex-direction:column}.list .product-miniature{display:grid;grid-template-areas:”aside price” “aside title”;grid-template-columns:4fr 6fr;grid-template-rows:auto 1fr;grid-gap:10px}.list .product-miniature .pm-product-img{grid-area:aside;margin:0}.list .product-miniature .price{grid-area:title;margin:0}.list .product-miniature .product-title{grid-area:price;max-width:100%;font-size:16px;padding-top:20px}.list .product-miniature .add-to-cart{display:none}#productShownList [load-more-failed]{height:auto;background-color:red}.product-flags{list-style:none;margin:0;padding:0;position:absolute;top:15px;left:15px;z-index:3}.product-flags li{padding:6px;background:#222;color:#eee;margin-bottom:5px;font-size:12px}.product-miniature .price{line-height:24px}.product-miniature .pm-product-img{display:block;margin-bottom:30px}.product-miniature .discount-price,.product-price-amp .discount-price{text-decoration:line-through;color:#ccc;margin-right:15px}.product-miniature .product-title{color:#555;font-size:20px;max-width:90%}.pm-product-colors{position:absolute;top:calc(100% - 38px);left:15px}.pm-product-colors li{width:20px;height:20px;margin:3px;border:1px solid #ccc;border-radius:50px}.product-labels{position:absolute;top:20px;right:20px}.product-labels li{background:#900;color:#fff;padding:3px 7px;font-size:16px;margin-bottom:3px;text-align:center}.product-labels>li:empty{display:none}.page-title{color:#666;letter-spacing:.05em;font-family:’Archivo Narrow’;margin-bottom:20px}.smooth{transition:all .4s ease-in-out}.m10{margin-bottom:10px}.m15{margin-bottom:15px}.m20{margin-bottom:20px}.m30{margin-bottom:30px}.m40{margin-bottom:40px}.m80{margin-bottom:80px}.pb15{padding-bottom:15px}.p20{padding:20px}.p0{padding:0}.m0{margin:0}#productShownList{padding-bottom:90px}#productShownList .product-miniature:last-child{margin-bottom:0}#productShownList .product-title{white-space:normal}.product-name{font-size:14px}.product-sorting h4{padding:0 20px;background:#222;height:44px;font:400 14px/44px Roboto;color:#f1f1f1;border-color:transparent}.product-sorting>section>h4,.product-sorting>section{transition:all .5s ease-in-out}.product-sorting>[expanded]{border-bottom:2px solid #ccc;padding-bottom:25px}.product-sorting>[expanded]>h4{border-bottom:0;margin-bottom:20px}.product-sorting [expanded]>h4 svg,.product-sorting [expanded]>h5 svg{transform:rotate(180deg)}.product-sorting>section>form{padding:0 10px}.product-sorting h4 svg,amp-accordion h4{padding:10px}body amp-accordion h4{background:rgba(255,255,255,0.2);color:#999}body amp-accordion section[expanded] h4{border:1px solid rgba(0,0,0,0.2);color:#333}amp-accordion h4 .svgic{width:12px;height:12px;padding-right:0;padding-left:0}body .product-sorting section[expanded] h4{border-bottom:0;color:#f1f1f1}.product-sorting [expanded] h4 svg,amp-accordion>[expanded]>h4 svg{transform:rotate(180deg)}#footer amp-accordion section>h4{background:none;border:0;margin-bottom:10px;color:#e5e5e5;letter-spacing:.15em;font-size:15px;text-transform:uppercase;padding-left:0;padding-right:0}#footer amp-accordion section>div:last-child{padding:5px 0 50px}#footer amp-accordion section>h4 div{font-family:inherit}#footer amp-accordion section ul li a{color:#9e9e9e;display:block;margin-bottom:8px}.footer_text{font-size:14px}.product-sorting section>div{border:2px solid #dfdfdf;border-top:0}#socialnetworks a{width:30px;height:30px;background:rgba(255,255,255,0.1);margin:0 5px;border-radius:4px}#socialnetworks svg{width:15px;height:15px}.payment-methods svg{width:40px;height:40px;margin:0 5px}.pts-newsletter .module-title span{border:0;padding-bottom:0}.search-bar input{width:100%;box-sizing:border-box;padding:10px 20px;margin-bottom:20px;border:1px solid #222;border-radius:0;-webkit-appearance:none}.product-list-item{margin-bottom:20px;align-items:flex-start}.product-list-item amp-img{margin-right:20px;width:20%;min-width:80px;height:auto}.cart-product .product-title{max-width:60%}.cart-product .button{padding:5px 10px}.cart-product .m15{margin-bottom:7px}#selector-menu>.section-wrap>section{margin-top:-1px}.section-wrap>section h4>div>svg{margin-left:40px}#selector-menu .inner-accordion{padding:15px}#selector-menu h4{font-size:18px;font-family:Roboto;background:none;border-color:rgba(0,0,0,0.2)}#selector-menu .inner-accordion h4{border:0;padding:10px 15px;font-size:95%;font-weight:400}#selector-menu>.section-wrap>section>h4{padding:10px 20px}.main-menu{background:#222;padding:15px 20px;color:#fff}.ampstart-btn svg{margin:0}.clear-button{background:none;border:0;padding:0;margin:0}#sidebar .ampstart-btn{margin-bottom:15px}button span{text-align:left}.user-list li amp-img{margin-right:10px}.price{font-size:22px;font-weight:500;line-height:1.2em;text-transform:uppercase;color:#333;letter-spacing:0}.mini-products .price{font-size:18px}.font-normal{font-weight:normal}.mini-products .price span{font-style:normal;font-size:70%}.mini-products .price del{color:#aaa}.mini-products .product-title{margin-bottom:10px}.mini-products .cart-product-info .product-title{margin-bottom:0}.user-list li:not(:first-child){margin-top:10px}.tos_link input[type=”hidden”]+label{display:none}.lightbox{background:rgba(0,0,0,0.8);z-index:2147489999}.list-overflow[overflow]{position:absolute;bottom:0;left:0;right:0;visibility:visible}.form-control{width:100%;padding:15px 20px;line-height:20px;font-size:16px;color:#333;border:1px solid #999;box-sizing:border-box}.bright{color:#fff}.dark{color:#222}.order-status{padding:1px 5px;border-radius:3px}.box{background:#fff;box-shadow:3px 3px 7px 0 rgba(0,0,0,0.2);margin-bottom:20px;padding:20px}.message-text{border-radius:5px;background:#f1f1f1;padding:10px}.border-bottom{border-bottom:1px solid #ccc}.notification{padding:10px;margin:0;border-radius:5px;color:#333;font-size:13px}.notification.alert{background:rgba(220,194,7,0.25)}.notification.error{background:rgba(255,0,0,0.25)}#checkout #checkout .-complete h4{color:#009200}#checkout #checkout .-unreachable h4{color:#999}.product-miniature.micro{display:flex}.product-miniature.micro{margin-bottom:10px}.product-miniature.micro .image-link{max-width:20%;min-width:20%;width:20%;margin-right:20px}.product-miniature.micro img{margin:0}.custom-checkbox span{display:none}#cart-summary-product-list .pm-lite{display:flex;flex-direction:row}#cart-summary-product-list .pm-lite .image-link{max-width:20%;min-width:20%;margin-right:25px}#cart-summary-product-list .pm-lite{margin-bottom:20px}#cart-summary-product-list .pm-lite img{margin:0}#cart-summary-product-list .product-price-amp{margin-bottom:5px}.product-info-amp{padding-top:15px;max-width:73%}.my-account>a{font-size:16px;display:block;margin-bottom:20px;line-height:24px}.my-account svg{width:24px;height:24px;margin-right:10px}#si-burger{stroke:currentColor;stroke-width:10}.form-group.row{margin-bottom:15px}.form-control-comment{font-size:13px;font-style:italic;text-align:right}.filter-title-icon{max-width:24px;margin-right:10px}.lightbox{background:rgba(255,255,255,0.95);width:100%;position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#333;z-index:999}.lightbox .space{padding:20px;max-width:500px}.lightbox table th{text-align:left}#want_register{max-width:20px;padding:0}.step-edit{float:right}#block-reassurance li{display:flex;align-items:center;margin-bottom:10px}#block-reassurance li .brimg{width:30px;height:30px;min-width:30px;margin-right:20px}.list-item-dashed{margin-bottom:7px;padding-bottom:2px;border-bottom:1px dashed #bbb;font-family:Courier;font-size:14px}#order-history>*:nth-child(even){background:#eee}#order-history>div{padding:5px 10px}.c-out-btn{width:56px;height:56px;background:#222;color:#fff;border-radius:50%;display:flex;justify-content:center;align-items:center;position:fixed;bottom:20px;right:20px;box-shadow:0 0 3px 0 rgba(255,255,255,0.2);z-index:9}.c-out-btn svg{margin-right:4px}.cart-indicator-numb{margin-left:2px;width:16px;height:16px;border-radius:50%;background:#ff8f4c;color:#fff;font-size:11px;line-height:16px;font-family:Courier;letter-spacing:-.05em;text-align:center}#cookie-notification>div{font:14px/1.5 Helvetica,Arial,sans-serif;color:#fff;background:#000;padding:1rem}#cookie-notification>div a{color:#fff;text-decoration:underline;margin-left:5px;white-space:nowrap}#cookie-notification>div button{margin-left:10px;white-space:nowrap}.videoWrap{height:0;padding:0 0 56.25% 0;position:relative}.videoWrap iframe{position:absolute;top:0;left:0;border:0;width:100%;height:100%}.pk-chats{position:fixed;bottom:10px;left:20px;z-index:9}.amp-chat-item{background:#fff;border-radius:50%;width:56px;height:56px;box-shadow:3px 3px 7px 0 rgba(0,0,0,0.2);margin-bottom:10px}.amp-chat-item svg{width:60%;height:60%}#autosuggest-list>div[role=”list”]{background:#efefef;z-index:9}#autosuggest-list>div[role=”list”]:empty{display:none}#productShownList.notloadmore .lmore-show{display:none}#productShownList.notloadmore .lmore-nomore{display:block}.widget-products .text-center .add-to-cart{margin-left:auto;margin-right:auto}.widget-products .text-center .product-title{max-width:100%}.gdpr_checkbox{margin-right:10px;min-width:15px}.product-favorite{position:absolute;bottom:20px;right:20px;z-index:9;background:#fff;border-radius:50%;padding:9px 9px 7px 9px}.product-favorite .product-like{background:none;color:#333}.product-like>svg{fill:transparent;stroke:#333;stroke-width:4px;width:30px;height:30px}.favorite .product-like>svg{fill:#f00;stroke:transparent}.lang-rtl .main-menu button>span{text-align:right}.sidebar-accordion section h4{background:#e1e1e1}.sidebar-accordion section>div{padding:10px 15px}@media(max-width:420px){amp-carousel article{width:100%}.cart-product .product-title{max-width:40%}}@media(min-width:421px){amp-carousel article{width:calc(50% - 30px);padding:0 15px}}@media(min-width:600px){.general-item .container .fixed-width,.general-item .header-top,.general-item .footer-wrapper>div,.main-menu button,body:not(#home)>main{max-width:580px;margin-left:auto;margin-right:auto}#productShownList div[role=”list”]{display:flex;flex-wrap:wrap;margin-bottom:50px}#productShownList div[role=”list”] .product-miniature{width:50%}}@-webkit-keyframes rotation{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes rotation{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.breadcrumb-container{background:#313131;color:#fff}.breadcrumb-container .fixed-width:after{background:-webkit-linear-gradient(0deg,rgba(49,49,49,0),rgba(49,49,49,1));height:100%;position:absolute;pointer-events:none;right:20px;top:0;width:60px;z-index:2;content:”“}.breadcrumb ol{display:flex;list-style:none;padding:0;margin:0;overflow:auto;font-size:.875em}.breadcrumb li{padding:10px 10px 10px 0}.breadcrumb li:last-child{padding-right:40px}.breadcrumb li a span:after{content:”→”;margin-left:10px}.breadcrumb li a,.breadcrumb li span{color:inherit;display:block;white-space:nowrap}.facet-title{background:none;border:0;border-bottom:2px solid #999;color:#444;font-size:15px;font-weight:400;letter-spacing:.08em;margin-bottom:10px;padding-bottom:5px;text-transform:uppercase;padding-right:10px}.facet-title svg{width:14px;height:14px}.facet>section{padding-bottom:20px}.facet ul{clear:both}.facet ul li{width:100%}.facet ul li label{padding:10px}.facet ul li:hover{background:#f1f1f1}.flex-label-wrap{cursor:pointer;position:relative;margin:auto;-webkit-tap-highlight-color:transparent;transform:translate3d(0,0,0);margin-right:10px}.flex-label-wrap span:empty{display:none}.flex-label-wrap:before{content:”“;position:absolute;top:-15px;left:-15px;width:48px;height:48px;border-radius:50%;background:rgba(34,50,84,0.03);opacity:0;transition:opacity .2s ease}.flex-label-wrap svg{position:relative;z-index:1;fill:none;stroke-linecap:round;stroke-linejoin:round;stroke:#c8ccd4;stroke-width:1.5;transform:translate3d(0,0,0);transition:all .2s ease}.flex-label-wrap svg path{stroke-dasharray:60;stroke-dashoffset:0}.flex-label-wrap svg polyline{stroke-dasharray:22;stroke-dashoffset:66}.flex-label-wrap:hover:before{opacity:1}.flex-label-wrap:hover svg{stroke:#4285f4}.facet-label .pk-check{display:none}.facet-label .pk-check:checked+.flex-label-wrap svg{stroke:#313537}.facet-label .pk-check:checked+.flex-label-wrap svg path{stroke-dashoffset:60;transition:all .3s linear}.facet-label .pk-check:checked+.flex-label-wrap svg polyline{stroke-dashoffset:42;transition:all .2s linear;transition-delay:.15s}.facet ul .color-label{width:40px;height:40px;display:inline-block;margin-right:10px;margin-top:10px}.facet ul .color-label .facet-label{padding:0}.facet ul .color-label .color{width:36px;height:36px;display:block;border:2px solid #ccc;text-indent:-9999px;padding:0}.facet ul .color-label .flex-label-wrap svg{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.facet ul .pk-check:checked+.flex-label-wrap .color{border:2px solid #666}.facet ul .color-label .flex-label-wrap svg path{stroke:transparent}.color-label .search-link{display:none}#subcategories ul{flex-wrap:wrap;justify-content:space-between}#subcategories ul li{width:48%;margin-bottom:20px;text-align:center}.category-name-amp{font-size:1.5em}.big-btn,.btn{background:#000}.big-btn,.btn{color:#fff}.price{color:#58595a}.main-menu{background:#000}.main-menu{color:#fff}#selector-menu section{background:#efefef}#selector-menu ul{color:#58595a}amp-sidebar,.autosuggest-container div[role=”list”]{background:#efefef}.close-section h4{color:#000}amp-sidebar{color:#58595a}header.general-item{background:#fff}header .header-top,header .header-top button{color:#58595a}#footer{background:#000}#footer{color:#fff}#product .product-price-amp .price{font-size:22px}.txt-block-text{color:#fff;background:#000;padding:10px;width:max-content;font-weight:500;text-align:center;margin:0 auto}.widget-amphtml .txt-block-text p{color:#fff;line-height:25px}.txt-block{text-align:center;margin:0 auto;position:relative;display:inline-block}.i-amphtml-carousel-slide-item>*{width:100%;height:auto}.widget-products .text-center .add-to-cart{margin-bottom:25px}body .big-btn{bottom:7px;padding:6px 30px;position:relative;display:block}.widget-products .text-center .add-to-cart{padding:15px}#colissimo-widget-container{height:auto}</style>

Best regards!

Comments

Fred 28 Jul 2020, 10:59

Hi, Joaquín Bosch Molina.
There is no such issue in AMP by default.
Please read carefully the error message and review your customer CSS

Joaquín Bosch Molina 28 Jul 2020, 17:27

Yes, I am sorry, you are right. This css code was in custom.css

I just deleted it.

Fixed.

Sorry!

Fred 28 Jul 2020, 18:51

you are welcome