nimadude
Forum Replies Created
-
Forum: Plugins
In reply to: [MaxButtons - Create buttons] button does not resize when resizing windowoh perfect, that worked, thanks! This should be the default!
- This reply was modified 9 years, 1 month ago by nimadude.
Forum: Plugins
In reply to: [MaxButtons - Create buttons] button does not resize when resizing windowHow do I make it a percentage for all displays?
Forum: Plugins
In reply to: [Login for Google Apps] Cookie filterwhere do we paste that code?
function my_gal_set_login_cookie($dosetcookie) {
// Only set cookie on wp-login.php page
return $GLOBALS[‘pagenow’] == ‘wp-login.php’;
}
add_filter(‘gal_set_login_cookie’, ‘my_gal_set_login_cookie’);I finally figured out the issue. My theme stylesheet was inserting line breaks for every p. I guess your calendar code inserts the calendar in a p? Had to turn off line breaks for p, which meant I had to manually enter line breaks for the entire website but hopefully this will be the last time I’ll need to worry about that!
I also used the following code to remove some of the extra spacing:
.simcal-default-calendar-list .simcal-event-details { overflow: visible!important; } .simcal-default-calendar-list .simcal-event-details .simcal-event-description, .simcal-default-calendar-list .simcal-event-details p { margin: 0 0 0em!important; } .simcal-default-calendar-list .simcal-event-details br{ display:none!important; }Courtesy of sfldoc and Nick Young. Thanks to both of you for your help.
thanks for the help sfldoc – that worked in removing the br tags, but created another problem – the dates were now stuck on same line as the title. I tried adding br tags in the calendar itself but those get removed by the editor – is this something your plugin is doing or related to wordpress itself?
Also, though it removed the br tags, the gap at the very beginning of the list still remained – which leads me to now believe it is related to padding/margins?
thanks for your help!
I think I’ve figured out the issue – your calendar inserts a
<br>before and after each event – can you make it stop doing that? it is making a large gap at the start of my list and end of my listadding !important to your code suggested above helped, but still some margins left before the event start!
hmmm, I’ve played around a bit and it seems to change when I modify the calendar css elements (e.g .simcal-default-calendar-list .simcal-event-details lineheight), but I can’t get the container size to change. Do you know what css element you used to specify the container size for each list event?
Thanks!
Yes, I am talking about the list view one.
Unfortunately that didn’t change anything for me :(. It feels like you’ve changed the container for each event to be static, whereas before it would adjust depending on how much stuff was inside each event – are you able to change it to before?
this isn’t unique to that calendar- all my calendars have this issue.
That particular one is:
[if-not-all-day]
[link newwindow=”true”][start-date][/link]
[start-time] – [end-time]
Please click the above course date for more details.[/if-not-all-day]
[if-all-day]
[link newwindow=”true”][start-date][/link]
Please click the above course date for more details.[/if-all-day]I’ve tried making it more basic and it didn’t help. Another calendar with same issue:
[link newwindow=”yes”][title][/link]
[start-date] – [end-date offset=”-60″]
[if-start-location][start-location-link newwindow=”yes”][start-location][/start-location-link][/if-start-location]Any problems with my code?
Forum: Plugins
In reply to: [Simple Calendar - Google Calendar Plugin] broken span eventsI just tried making it show 20 events, again only shows 4. Looks like it is capped at 4 on this page