Last active
January 18, 2024 00:38
-
-
Save mrkdevelopment/c514ec9442c14ce3ce8bb7dabc8c4b9b to your computer and use it in GitHub Desktop.
Fix Events Calendar for Kadence Theme - width too wide issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media screen and (min-width: 1280px) { | |
.tribe-events.alignwide { | |
max-width: var(--global-content-width) !important; | |
margin-left: calc( 50% - ( var(--global-content-width) / 2 )) !important; | |
margin-right: calc( 50% - ( var(--global-content-width)/ 2 )) !important; | |
padding: 0 var(--global-content-edge-padding) !important; | |
} | |
} | |
@media screen and (max-width: 1279px) { | |
.tribe-events-view.alignwide { | |
margin: 0 auto; | |
padding: 0 var(--global-content-edge-padding); | |
width: auto; | |
} | |
} | |
.tribe-events .tribe-events-calendar-series-archive__link:hover .tribe-events-series-archive__icon { | |
color: var(--wp--preset--color--theme-palette-1) !important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Getting The Event Calendar plugin to work well with any theme can be a challenge.
With this snippet we fix 2 quirks:
Follow the link below for a complete tutorial and video guide.
How to Fix The Event Calendar Page Width in Kadence Theme