Allow full width template but boxed contents

Home Forums Calendar Products Events Calendar PRO Allow full width template but boxed contents

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1155302
    Dennis
    Participant

    Hi there, many of my sites pages have a top banner stretching full width. If I choose this page template from the events calendar settings page, then the top banner stretches nicely. However, the calendar page contents also stretches full width and that’s not want I want. I want this to be kept in the boxed width. Is there a way to achieve this?

    #1155630
    Cliff
    Member

    Hi Dennis.

    We do not provide theme styling support, but we may be able to give some quick help if you provide a link to your Events page and a non-Events page that has the full width top banner layout.

    #1155685
    Dennis
    Participant

    Hi Cliff,
    Awesome:

    Non-events page: https://thehighfivecompany.com/en/discover/resellers/
    Events page: https://thehighfivecompany.com/en/events/

    Basically, the banner should stretch full width, the body (with the events calendar contents) should be wrapped in:
    [row]
    [col span=”1/1″]

    ** Events calendar body **

    [/col]
    [/row]

    #1156104
    Cliff
    Member

    Dennis, please try adding this custom CSS:

    body.post-type-archive-tribe_events #tribe-events-pg-template {
    max-width: 100%;
    }
    body.post-type-archive-tribe_events #tribe-events-content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    }

    Let me know how it goes for you.

    #1156235
    Dennis
    Participant

    Hi Cliff,

    Works like a charm! Awesome, many thanks for your help!

    Regards, Dennis

    #1156247
    Dennis
    Participant

    Hi Cliff,

    I was too quick… the events page is now okay, but the single event page not. How do I alter the custom CSS to accommodate the single events pages also to be the same?

    Many thanks in advance!

    #1156342
    Cliff
    Member

    Please replace what you had with this:

    body.post-type-archive-tribe_events #tribe-events-pg-template,
    body.single-tribe_events #tribe-events-pg-template {
    max-width: 100%;
    }
    body.post-type-archive-tribe_events #tribe-events-content-wrapper,
    body.single-tribe_events #tribe-events-content {
    max-width: 1000px;
    margin: 0 auto;
    }
    #1156372
    Dennis
    Participant

    Perfect! Thanks Cliff!

    #1156384
    Cliff
    Member

    You bet. Have a great weekend!

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Allow full width template but boxed contents’ is closed to new replies.