Home>Support>Errors with CSS

Errors with CSS

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

This clip shows the 2 errors I’m receiving with SiteOrigins CSS. http://goo.gl/uCqCLV I’m new to the whole CSS thing so I hope someone can provide a workable solution.

TIA

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 3 months ago Alex S
    Hi, I Work Here

    Hi Gail,

    1. The highlighted text isn’t correct. Your selectors cannot include CSS properties.

    The correct CSS for this would be:

    ul li span {
        display: block;
        box-sizing: border-box;
    }

    2. The issue here is you’re trying to use a hex without telling the browser you’ve set a hex.

    The correct CSS would be:

    .primary-button:hover {
        background-color: #ffd304;
    }
    

    I recommend giving the MDN Getting Started with CSS guide a read.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More