Home>Support>customizing calendar

customizing calendar

By Violet Long, 10 years ago. Last reply by Daniel, 10 years ago.
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].

I simply want to customize the background color of the wp-calendar to my site color, #083f00, but using custom CSS does not change the number part of the calendar. What do I need to do?

I added this custom CSS:

#mycalendar tbody, tr, td {
background: #083f00;
}

But the calendar remains grey.

URL: http://www.esl-studio.com

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

  1. 10 years, 2 months ago Magus
    Hi, I Work Here

    Hi Violet

    Your CSS snippet is correct but gets overridden by the defaults. If you change it to this then it should work

    #mycalendar tbody, tr, td {
     background: #083f00 !important;
     }
    

    Let us know how you get on

    Magus

  2. 10 years, 2 months ago Violet Long

    Many thanks, Magus! I saw the “!important” on other posts and foolishly assumed it was not important. Wrong! It works.

  3. 10 years, 2 months ago Daniel
    Hi, I Work Here

    Hi Violet

    Am glad you are making progress there :-)

    Always feel free to open a new thread whenever you require support

    @Magus much appreciated

    Cheers

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