Home › Forums › Calendar Products › Events Calendar PRO › CSS changes for Events Calendar Widget
- This topic has 8 replies, 3 voices, and was last updated 10 years, 9 months ago by
Support Droid.
-
AuthorPosts
-
November 17, 2012 at 12:21 pm #28214
zeke
ParticipantLoving the plugin – just feeling like an idiot because I’m having a couple of CSS issues that I can’t seem to track down…
Was able to reduce the width of the calendar to fit our modified theme, but not the month/next/prev links – also issues with vertically aligning the next/prev arrows after shrinking the calendar.
Finally-can’t seem to find anywhere to edit/add the title for the calendar in the sidebar – empty field on the site and am having problems finding where in the dashboard to enter it.
Otherwise-thanks for this great plugin + add ons – loving it!November 19, 2012 at 6:36 am #28232Barry
MemberHi Zeke – to change the position of the next/previous month links in the mini calendar widget you could target:
a.tribe-mini-ajax.prev-monthAnd
a.tribe-mini-ajax.next-monthIn your CSS rules and adjust the top property if you are concerned with vertical alignment, for example:
a.tribe-mini-ajax.next-month { top: 7px; }November 19, 2012 at 6:49 am #28233Barry
MemberFinally-canโt seem to find anywhere to edit/add the title for the calendar in the sidebar โ empty field on the site and am having problems finding where in the dashboard to enter it.
Ahh, looks like a bug, unfortunately. I can see the error and could let you know what to change as a workaround – however that would mean editing core plugin code.
Alternatively you may need to wait until the next release.
November 19, 2012 at 6:57 am #28234Barry
Member(As a sidenote, our reference for this problem is #18703)
November 19, 2012 at 7:09 am #28237zeke
ParticipantThanks for the response Barry – was able to adjust the vertical positioning just as you said – thanks!
Still need to reduce the width of the “month/next/prev” links as they push out too far past the calendar itself.
Also – not really sure what to do about the reference number you indicated above – is that for your internal use? I couldn’t find a mention of it anywhere on the forum-(Don’t mind editing the core code btw – I just don’t want to muck it up ๐November 19, 2012 at 7:15 am #28239Barry
MemberYeah so for the first issue (width of the nav links area) you probably want to add a new rule along these lines:
div.tribe-events-widget-nav { width: 100px }Obviously change the actual width to suit!
For the other issue, yes that reference number is primarily for internal use but it also means you (or others) could refer to this problem from another thread and we’d have a quick way of looking it up to check on progress.
Last but not least – please back up any files you edit before committing any changes! – however you should locate this file:
events-calendar-pro/lib/widget-calendar.class.php
And locate this line (should be line 55):
require_once( TribeEventsPro::instance()->pluginPath . 'admin-views/widget-admin-calendar.php' );Change require_once to require like so:
require( TribeEventsPro::instance()->pluginPath . 'admin-views/widget-admin-calendar.php' );And you should be good to go!
November 19, 2012 at 7:37 am #28241zeke
ParticipantAwesome Barry – thanks – worked like a charm!!
November 19, 2012 at 7:54 am #28243Barry
MemberExcellent!
July 7, 2015 at 6:26 am #978190Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘CSS changes for Events Calendar Widget’ is closed to new replies.
