• Resolved tashawiginton

    (@tashawiginton)


    Hello. I do not want the calendar to adjust to screen size because I am only using for multi-day events. I have added to functions.php file and adjusted the sizing to no avail. It honestly seems to do absolutely nothing. This is the code I’m adding:

    add_filter( 'tribe_events_views_v2_view_breakpoints', 'customize_tribe_events_breakpoints', 10, 2 );
     
    function customize_tribe_events_breakpoints( $breakpoints, $view ) {
        // Extra small breakpoint (for mobile)
        $breakpoints['xsmall'] = 500;
     
        // Medium breakpoint (for tablet)
        $breakpoints['medium'] = 768;
     
        // Large breakpoint (for desktop)
        $breakpoints['full']   = 960;
     
        return $breakpoints;
    }

    I’ve tried sizes from 50 to 5000 and no change. Please help.

    • This topic was modified 2 years, 7 months ago by tashawiginton.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter tashawiginton

    (@tashawiginton)

    Okay, I think it just needed time, because it does appear to be working now.

    Now my question is how to I scale down the date in month view so that two digit dates don’t get broken into two lines?

    Link to what I’m seeing on mobile: https://ibb.co/zmQsxqT

    Plugin Support Abz

    (@abzlevelup)

    Hi @tashawiginton,

    Thanks for reaching out to us. Good to know that it is now working on your end, perhaps it just needed some time, or latency for it to be applied. Would be good to clear your browser cache or if you do have plugins enabled for caching, clear it as well.

    I would suggest doing a Custom CSS for this one. Go to Appearances > Customize > Additional CSS and insert this Custom CSS here, or you can apply it to your child theme:

    @media only screen and (max-width: 480px) {
      .tribe-events-calendar-month__day-date-daynum {
        font-size: 12px !important;
      }
    }

    Please clear your cache after applying the custom CSS. Let me know how it goes!

    Best,
    Abz

    • This reply was modified 2 years, 7 months ago by Abz. Reason: Ask for moderation
    • This reply was modified 2 years, 7 months ago by Abz. Reason: Ask for moderation
    • This reply was modified 2 years, 7 months ago by Abz. Reason: Ask for moderation
    • This reply was modified 2 years, 7 months ago by Yui.
    Plugin Support Abz

    (@abzlevelup)

    Hi @tashawiginton, we haven’t heard from you in a while, so I’m going to mark this as resolved. Feel free to start a new thread if you have any more questions!

    Cheers,
    Abz

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Breakpoints’ is closed to new replies.