AMP Custom CSS isue
-
The CSS on my template is different than what is coming up on page. Here’s the CSS on my template:
<style>
#grid-footer {
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
grid-gap: 5px;
background-color:#D3D3D3;
}
@media (max-width: 399px) {
#grid-footer {
grid-template-columns: 1fr 1fr;
}
}@media (min-width: 400px) and (max-width: 700px) {
#grid-footer {
grid-template-columns: 1fr 1fr 1fr;
}
}
</style>But it is showing as:
#grid-footer{display:grid;grid-template-columns:1fr 1fr 1fr 1fr 1fr;grid-gap:5px}@media (max-width: 400px){#grid-footer{grid-template-columns:1fr 1fr}}@media ((min-width: 401px) and (max-width: 800px)){#grid-footer{grid-template-columns:1fr 1fr 1fr}}.footer-grid{text-align:center;font-weight:bold;margin:5px}And it coming up as a validation error on Search Console.
The page I need help with: [log in to see the link]
The topic ‘AMP Custom CSS isue’ is closed to new replies.