calendar-table margin / padding css

Support for the WordPress Calendar plugin
null42
Posts: 2
Joined: Thu Sep 25, 2014 7:28 am

calendar-table margin / padding css

Unread post by null42 » Thu Sep 25, 2014 7:35 am

greetings. fyi, the default margin / padding css for the calendar-table class is incorrect:

Code: Select all

    .calendar-table table,tbody,tr,td {
        margin:0 !important;
        padding:0 !important;
    }
this will override tbody, tr, and td site wide. it should be something along the lines of:

Code: Select all

    .calendar-table table,
    .calendar-table tbody,
    .calendar-table tr,
    .calendar-table td {
        margin:0 !important;
        padding:0 !important;
    }
thanks for the plugin!

Narwal
Posts: 1
Joined: Tue Feb 16, 2016 12:13 pm

Re: calendar-table margin / padding css

Unread post by Narwal » Wed Feb 17, 2016 11:28 am

null42 wrote:greetings. fyi, the default margin / padding css for the calendar-table class is incorrect:

Code: Select all

    .calendar-table table,tbody,tr,td {
        margin:0 !important;
        padding:0 !important;
    }
this will override tbody, tr, and td site wide. it should be something along the lines of:

Code: Select all

    .calendar-table table,
    .calendar-table tbody,
    .calendar-table tr,
    .calendar-table td {
        margin:0 !important;
        padding:0 !important;
    }
thanks for the plugin!
I noticed this too null42. I'm not sure if your code is correct either as something seems to be off in the margin for me. Is there an updated version of this Calendar plugin?

User avatar
Kieran
Posts: 2067
Joined: Sat May 26, 2007 1:55 pm
Location: London
Contact:

Re: calendar-table margin / padding css

Unread post by Kieran » Sun Feb 18, 2018 8:48 pm

Thanks for reporting this, I'll look into it

Perhaps if you both provide me a link to your sites then I can see what works and what doesn't using Chrome/Firefox? Many thanks.

User avatar
Kieran
Posts: 2067
Joined: Sat May 26, 2007 1:55 pm
Location: London
Contact:

Re: calendar-table margin / padding css

Unread post by Kieran » Sat Dec 28, 2019 6:00 pm

Just an FYI, version 1.3.14 has just been pushed out and it contains these CSS fixes to the default style. Using the style reset tick box will allow you to pick these up if you've previously had issues with these

Post Reply