Posted: June 11, 2015 at 2:03 am
|
Hi, I am using event espresso shortcode for displaying events on the bases of category slug but when I viewed the page it’s design is a mess. I want to modify the style and template so can you tell me how can I do that (which event espresso file is responsible for displaying the category slug shortcode template ) Thank you |
Hi Omar, Can you post up the shortcode you are using please? Can you post some details on what parts of the design is a mess, or maybe link us to the page? Event Espresso uses your sites theme and injects the event details into the content so it depends on what parts of the page are causing problems. |
|
|
Hi Tony, I am using this shortcode [ESPRESSO_EVENTS category_slug=”free-events”] The page link is : http://digitalblocks.me/dev/event-espresso-short-code/ I want the images to be on the left side (width 200px) while the right side have the event title and view details will be replaced by Book now (will be having a different styling ) |
Hi Omar, here are two resources for working with the starter templates for Event Espresso 4: https://gist.github.com/lorenzocaum/0a35fe4997992fdb1dc5 https://eventespresso.com/2014/02/developers-corner-theming-event-espresso-4/ The [ESPRESSO_EVENTS] shortcode uses the event listings archive template. — |
|
|
Hi Lorenzo, Thanks for your help regarding templates |
|
Hi Lorenzo, on category event page i can see the view details button and on the event page the register now button, how can i change the text of these buttons without jumping into the event espresso code. Thank you |
|
and also if i want to restyle these buttons how would i do that |
Hi Omar, have you tried any of these solutions: https://eventespresso.com/topic/change-action-button/#post-141922 For the styling, you could use CSS to change the appearance for the buttons. Here is an example that you could use: .ticket-selector-submit-btn { border-top: 1px solid #96d1f8; background: #65a9d7; padding: 5px 10px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0; -moz-box-shadow: rgba(0,0,0,1) 0 1px 0; box-shadow: rgba(0,0,0,1) 0 1px 0; text-shadow: rgba(0,0,0,.4) 0 1px 0; color: white; font-size: 14px; text-decoration: none; vertical-align: middle; } .ticket-selector-submit-btn:hover { border-top-color: #28597a; background: #28597a; color: #ccc; } .ticket-selector-submit-btn:active { border-top-color: #1b435e; background: #1b435e; } — |
|
|
Hi Lorenzo, The custom function on this page can be used for EE4? (for changing view details to book now) Thank you |
Hi Omar, it is wrapped in a language domain so the messaging could be changed by using a gettext filter. — |
|
The support post ‘Restyling of page having event espresso 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.