Support

Home Forums Event Espresso Premium Can I change a shortcode

Can I change a shortcode

Posted: January 11, 2021 at 1:10 pm

Viewing 1 reply thread


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;
}
Viewing 1 reply thread

The support post ‘Can I change a shortcode’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso