• Resolved CorneliusJr

    (@corneliusjr)


    Greetings!
    I need the calendar to appear in a fixed width on all devices regardless of screen size or orientation. The user will scroll and zoom in or out as needed.
    (I know it goes against best practices, so please don’t waste your time or mine trying to tell me why I shouldn’t do this.)

    Thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The width of the calendar depends on the width of the container which is controlled by your theme. Can you provide a link to your calendar page?

    Thread Starter CorneliusJr

    (@corneliusjr)

    I deeply appreciate your reply! Here is a link. We are transitioning from free-standing PHP Calendar (AKA Web Calendar) because the latest update of PHP killed it on my server, plus this just seems like an objectively superior solution. I appreciate any help. I used browser dev tools to try to pin down the container, but had no luck.

    https://ddinstcal.com/wordpress/calendar-sandbox/

    First edit the calendar page and change the template to “Full Width” instead of the default template. Then go to Events > Settings and click on the Formatting tab then click on the Calendar section and then change the Default Calendar Size to Large (instead of Responsive). This should now be closer to what you want.

    Then add the following custom CSS to make it a fixed width:

    .em.em-calendar {
    width: 1050px;
    }

    To add the custom CSS click on Customize and then click on Additional CSS and there you can add the custom CSS.

    • This reply was modified 3 weeks, 6 days ago by joneiseman.
    Thread Starter CorneliusJr

    (@corneliusjr)

    Thank you so much; that code snippet is exactly what I needed! Worked perfectly! Once I get this calendar working as needed, I will pay it forward by finding someone on the forums that I can help, and also make a donation for this amazing product. You have saved me probably hours of more searching and tinkering. I can’t thank you enough.

    • This reply was modified 3 weeks, 5 days ago by CorneliusJr.

    Just so you know, I am not the owner of the plugin and I don’t receive any compensation from the plugin owner.

    Thread Starter CorneliusJr

    (@corneliusjr)

    I understand that. I would be happy to buy you a coffee or whatever if that’s a thing around here. ??

    Thread Starter CorneliusJr

    (@corneliusjr)

    Thanks again! Marking as “Resolved.”

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.