Home › Forums › Calendar Products › Events Calendar PRO › The size of mini calendar widget in sidebar
- This topic has 7 replies, 2 voices, and was last updated 11 years, 7 months ago by
Geoff.
-
AuthorPosts
-
September 19, 2014 at 12:35 pm #753516
jmko
ParticipantHi there,
how can I adjust the size of the mini calendar widget in the side bar? Currently it looks strange because it goes all the way to the right edge where as all the other plugins have empty space on the right.
Many thanks
JSeptember 19, 2014 at 2:25 pm #753688Geoff
MemberHey there, Johanna! Welcome to the forums and thanks for getting in touch. We hope you’re enjoying the plugin so far. 🙂
You can change the width of the calendar widget by placing the following in your theme’s CSS (style.css):
.tribe-mini-calendar-wrapper {
width:Â 100%; /* Adjust to the size the fits */
}Give that a shot and let me know if it works for you.
Cheers!
GeoffSeptember 19, 2014 at 2:45 pm #753712jmko
ParticipantHi G,
thanks for a quick response. Unfortunately adding this code to style.css did not change the width of the widget. I also tried with a fixed amount but no change:
What could be issue..?.tribe-mini-calendar-wrapper {
width:150px;
}September 19, 2014 at 2:47 pm #753718Geoff
MemberAre you able to send me a link to the page you’re referring to? I’d like to check it out and see if I can pinpoint it there. Thanks!
September 19, 2014 at 2:59 pm #753736jmko
ParticipantThis reply is private.
September 21, 2014 at 5:40 am #756847jmko
ParticipantAny news on this?
September 22, 2014 at 9:20 am #759099Geoff
MemberHi there Johanna, sorry for the delay. Our support hours are closed over the weekend but we do make it a point to reply within one business day. 🙂
Thanks for the link, that’s super helpful! Â I wasn’t able to pin it down to something that can be fixed in the plugin’s CSS. The CSS in your theme is overriding the table styles for the widget and that the grid layout used by the theme has an issue displaying tables in the sidebar. For example, the .tribe-mini-calendar-wrapper class for the plugin fits the column perfectly (see the shaded area in this screenshot) but the table is allowed to extend past the column.
The CSS for the plugin sets the calendar widget to 100%, which means it will automatically fill 100% of the space it is provided. That leads me to believe that there is something else going on in your theme’s CSS that is overriding that from fitting properly.
Are you comfortable working with your theme’s CSS to pin down where that is happening? Unfortunately, I was unable to o it from my end, but perhaps the person who created the grid layout knows exactly where to look.
Geoff
October 8, 2014 at 7:42 am #796540Geoff
MemberHi there Johanna, it’s been a while so I’m going to go ahead and close this thread. If we can help with anything else, though, please don’t hesitate to create new a new thread and we’ll help you out. 🙂
Cheers!
Geoff -
AuthorPosts
- The topic ‘The size of mini calendar widget in sidebar’ is closed to new replies.
