Support

Home Forums Event Espresso Premium Calendar Add-on: only show event title Reply To: Calendar Add-on: only show event title

Reply To: Calendar Add-on: only show event title

Author Replies
Josh # Posted on May 4, 2018 at 1:39 pm

Hi Sherry,

There are a few color options in the Promotions setting page. Beyond those, if you have a hex color code you can add CSS like this:

.ee-promo-upcoming-promotions-main-dv {
background-color: #f48c28 !important;
}

The other two changes can be made by editing the promotion banner’s template file. Here’s the steps to do that:

1) Like Tony mentioned before, you copy the upcoming-promotions-grid.template.php template from the promotions add-on plugin folder, and put the copy into your active WordPress theme.

To move the date, you move this code below the code for the title:
<div class="ee-promo-upcoming-promotions-dates-dv smaller-text"><?php echo $promo_dates; ?></div>

Then to change the text, you find this:
<b class="smaller-text"><?php printf( __( 'Applies to the following %1$s(s):', 'event_espresso' ), $promo_scope ); ?></b><br />

and change it to this:
<b class="smaller-text">Applies to the following:</b><br />

Do NOT follow this link or you will be banned from the site!