Home>Support>Errors with CSS

Errors with CSS

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. 8 years, 6 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