Support

Home Forums Event Espresso Premium Customising CSS For Events Table View Template

Customising CSS For Events Table View Template

Posted: December 17, 2019 at 4:31 am

Viewing 5 reply threads


Phil Evans

December 17, 2019 at 4:31 am

Hi,

I’ve moved the CSS for Events Table View Template into my child theme to allow me to change the styles.

I’ve used the footable=false to set the above up to work.

However, the pagination is ignored and all events are displayed in a super long table. How can I keep the pagination while still having the CSS in my child theme?

Here’s the full shortcode set up

[ESPRESSO_EVENTS_TABLE_TEMPLATE footable=false table_pages=4 table_search=false category_filter=false reg_button_text=’Book Now’]

Thanks

Phil


Tony

  • Support Staff

December 17, 2019 at 6:30 am

Hi Phil,

Footable provides the pagination so you can’t disable it and use pagination with the current template.

What CSS are you using in your custom template?


Phil Evans

December 17, 2019 at 6:47 am

Hi Tony,

I’ve put the following into my theme’s child CSS. If I remove it the pagination returns.

http://wpbin.io/7eluu6

  • This reply was modified 4 years, 11 months ago by Josh. Reason: binned the large code block


Phil Evans

December 17, 2019 at 7:10 am

This reply has been marked as private.


Josh

  • Support Staff

December 17, 2019 at 12:32 pm

Hi Phil,

Tony mentioned this before but it bears repeating: footable=false removes the pagination. Here’s what you can do instead to remove the styles, but leave the other footable features in place:

[ESPRESSO_EVENTS_TABLE_TEMPLATE table_style=null table_striping=false table_pages=4 table_search=false category_filter=false reg_button_text='Book Now']


Phil Evans

December 17, 2019 at 11:57 pm

Thanks Josh. That’s working beautifully now.

Cheers

Phil

Viewing 5 reply threads

The support post ‘Customising CSS For Events Table View Template’ 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