Genesis Full-width not working

Home Forums Calendar Products Events Calendar PRO Genesis Full-width not working

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #63546
    evossman
    Participant

    I’m using events calendar pro with Genesis News theme and trying to get a full-width page to show up. I’ve tried every combination of display settings with no luck. I’ve tried a few “views” pages me theme as well but can’t force the full-width. Does anyone know of a trick?

    #63695
    evossman
    Participant

    I’ve tried the following but it turns all category (not just event category) pages into full-width. https://theeventscalendar.com/tutorial-integrating-the-events-calendar-w-genesis/
    /*—————————————————————*/
    /* Set Custom Layouts
    /*—————————————————————*/
    add_filter(‘genesis_pre_get_option_site_layout’, ‘set_layouts’);
    function set_layouts($layout) {

    if ( is_front_page() ) {
    $layout = ‘full-width-content’;
    }

    return $layout;
    }

    #63700
    evossman
    Participant

    Sorry, that should be if(tribe_is_month)

    #63728
    evossman
    Participant

    Okay, I think I solved it. I had to check for the post_type ‘tribe_events’.

    if(get_post_type() == ‘tribe_events’). That makes every event calendar post, day, single, or category page full width. You can play around with get_post_type() == ‘tribe_organizer’ and ‘tribe_venue’ to set the widths.

    I also had to pull in tribe-events.css and add some padding to make it have some padding.
    #tribe-events-pg-template{
    padding: 20px;
    }

    You also need to set the display to default event template either in full styles or tribe events styles.

    Hope this helps someone.

    #63740
    Rob
    Member

    Hey, thank you for this evossman! This will definitely be of value to folks as we have a number of people who are struggling to get the plugin properly integrated with certain Genesis installations. Sorry that you had to figure this out on your own without any assistance from the team, but if we can do anything else in the future please just let us know. Thanks again for posting the solution.

    #980501
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Genesis Full-width not working’ is closed to new replies.