Support

Home Forums Event Espresso Premium Can I change a shortcode

Can I change a shortcode

Posted: January 11, 2021 at 1:10 pm


Rob van Lidth de Jeude

January 11, 2021 at 1:10 pm

Good evening,
I have installed Events Table View Template Add-on.
I would like to change a few things, specifically regarding use of colours. Can I change that myself.
Kind regards, Rob


Josh

  • Support Staff

January 12, 2021 at 10:24 am

Hi Rob,

Yes you can.

The simplest way to change the colors is use the predefined “Metro” color scheme. This is done by adding a parameter to the shortcode: table_style=metro.
e.g.
[ESPRESSO_EVENTS_TABLE_TEMPLATE table_style=metro]

-or-

You can set the table to use no styles and your WordPress theme’s styles for HTML tables will be used instead.

e.g.
[ESPRESSO_EVENTS_TABLE_TEMPLATE footable=false]

From there, if you want to add more styles you can add more CSS to your theme’s stylesheet or add CSS into your site’s Customizer/Additional CSS panel. For example, to change the colors of the table heading, you’d add the following:

.espresso-table-header-row {
    background-color: #460c0c;
    color: #fff;
}

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: publish

Updated by  Josh 1 week, 6 days ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!