Home › Forums › Calendar Products › Events Calendar PRO › Allow full width template but boxed contents
- This topic has 9 replies, 3 voices, and was last updated 7 years, 7 months ago by Cliff.
-
AuthorPosts
-
August 24, 2016 at 7:00 am #1155302DennisParticipant
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?
August 24, 2016 at 8:34 pm #1155630CliffMemberHi 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.
August 25, 2016 at 12:49 am #1155685DennisParticipantHi 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]August 25, 2016 at 4:19 pm #1156104CliffMemberDennis, 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.
August 26, 2016 at 2:01 am #1156235DennisParticipantHi Cliff,
Works like a charm! Awesome, many thanks for your help!
Regards, Dennis
August 26, 2016 at 2:43 am #1156247DennisParticipantHi 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!
August 26, 2016 at 8:27 am #1156342CliffMemberPlease 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; }
August 26, 2016 at 9:11 am #1156372DennisParticipantPerfect! Thanks Cliff!
August 26, 2016 at 9:33 am #1156384CliffMemberYou bet. Have a great weekend!
-
AuthorPosts
- The topic ‘Allow full width template but boxed contents’ is closed to new replies.