WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: The Events Calendar] Grid view/CSS problem with 1.5.4 (3 posts)

  1. tlow87
    Member
    Posted 4 years ago #

    http://secularuh.org/?cat=8&eventDisplay=month

    I tried adding .right {float: none;} to the bottom of events.css, I tried moving <?php wp_head(); ?> to see if the calendar's CSS would supersede the templates, but no luck.

    What is it about the right 3 columns (the class="tec-thismonth right") that makes it do that? Thanks in advance!!

    http://wordpress.org/extend/plugins/the-events-calendar/

  2. justinendler
    Member
    Posted 4 years ago #

    I think I have it. A rule in your style.css is contributing float: right to our .right class. This is our fault for naming that class so generically. This is now fixed in trunk and will get released with 1.5.5 after testing.

    To fix yours in the meantime, you could replace both the css and js files in the plugin's /resources/ directory, or you could rename the plugin's .right class. For the fix, I renamed it to .tec-right

    The class is referenced in events.css and assigned to the html in events.js, so the easiest would be to swap out those two files.

    Let me know how this goes since it's barely tested. Post back if you need more help. Thanks for your patience and thanks for reporting.

    Justin

  3. tlow87
    Member
    Posted 4 years ago #

    Thank you! That worked great.

    Just changed .right to .tec-right in the events.css and events.js file, looks great now.

Topic Closed

This topic has been closed to new replies.

About this Topic