• Resolved robanna

    (@robanna)


    Ever since v 5.5 and up, I can’t style a single event page view.

    I’ve tried adding to \theme\tribe-events\tribe-events.css but nothing changes.

    I noticed there’s are new files in v5.5: tribe-events-single-full.min.css and tribe-events-single-skeleton.min.css so, I’m not sure if the above is the correct place to add new css to override those new files or not.

    Here’s what I’ve tried:

    .tribe-events-single-event-title {
        font-size: 36px;
        color: #75ca00;
        font-weight: 900;
        letter-spacing: 1px;
        text-transform: uppercase;
        margin: 0 0 20px;
        line-height: 1.3;
    }
    

    and because of BEM (https://theeventscalendar.com/knowledgebase/k/customizing-css/), I tried:

    .tribe-events { .tribe-events-single-event-title {
        font-size: 36px;
        color: #75ca00;
        font-weight: 900;
        letter-spacing: 1px;
        text-transform: uppercase;
        margin: 0 0 20px;
        line-height: 1.3;
    }
    }
Viewing 4 replies - 1 through 4 (of 4 total)
  • @robanna Something changed with the single event styling in 5.5.0, but apparently you can override the update by adding a WP constant to you wp-config.php.

    https://theeventscalendar.com/knowledgebase/k/configuring-the-events-calendar-with-constants/#tribe_bypass_single_event

    Bypass single event style changes
    The following constant can be added so that the updated single event styles can be overridden by any customizations that you’ve made there.

    define('TRIBE_EVENTS_SINGLE_VIEW_V2_DISABLED', true);

    @robanna

    Thank you for reaching out. @markbosky provided you with the perfect stopgap solution. Thanks Mark!

    With that in mind, we are hunting down the cause of this issue to make sure to quash it for good. Thank you for your patience as we do just that and we’ll post here as soon as we find the culprit and come up with a permanent fix ??

    Best regards,
    Geoff

    Thread Starter robanna

    (@robanna)

    Thanks you both of you. That seems to have done the trick.

    I’ll watch for a permanent solution.

    @robanna

    Hi!

    I just wanted to let you know that we’ve recently pushed an update that should resolve your issue regarding the styles.

    Please update all your plugins and test to see if your issue is indeed resolved.

    If it’s not, let us know!

    If we don’t hear from you, we’ll assume your issue was resolved.

    Thanks!

    -James

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘CSS for single view’ is closed to new replies.