davinam on "[Theme: Tracks] Live Customize Problem with Colors"

ساخت وبلاگ

Hi Davina,

Thanks for using Tracks!

What's happened is there is a syntax error about halfway into the CSS, and this is preventing everything that follows from working.

There are two errors in this part of the CSS:

@media only screen and (min-width : 481px) and (max-width : 1024px) { .site-title a img { max-height: 175px !important; } .site-title { margin-bottom: -20px !important; margin-top: -5px; { h1, h2, h3, h4, h5, h6 { color: #848484; }

First, the media query needs a closing curly brace so that it doesn't affect all of the CSS after it. I'm guessing that should only affect the logo part?

Secondly, there is an opening curly brace after the site title CSS instead of a closing curly brace. Here is how it should look once updated:

@media only screen and (min-width : 481px) and (max-width : 1024px) { .site-title a img { max-height: 175px !important; }
}
.site-title { margin-bottom: -20px !important; margin-top: -5px;
}
h1, h2, h3, h4, h5, h6 { color: #848484;
}

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 189 تاريخ : سه شنبه 4 خرداد 1395 ساعت: 6:48