Support

Home Forums Event Espresso Premium formatting shortcodes

formatting shortcodes

Posted: July 29, 2015 at 8:26 am

Viewing 7 reply threads


rayrolando

July 29, 2015 at 8:26 am

Hello,

I added a shortcode from EE to add events to our homepage. You can see at the bottom of the page: https://rayrolando.com/

Where it says “Upcoming Events
Enchanted Q&A: An Evening of Healing with the Archangels & Ascended Masters” that is an EE shortcode and I would like to get rid of the space above “Upcoming Events” and also lesson the title size.

Can you point me toward CSS for these shortcodes?

Kim, webmaster for rayrolando.com


Lorenzo Orlando Caum

  • Support Staff

July 29, 2015 at 8:51 am

Hello,

You can inspect any element on a page using a free tool like Chrome Developer Tools (available with Google Chrome) or Firebug (available as a web browser extension).

This will show you the CSS that is handling the styling including the file and line number. Then you can add new styling to your child theme’s stylesheet or via a plugin that adds an additional stylesheet to your WordPress site such as My Custom CSS or Reaktiv CSS Builder.

Try this CSS to override the heading margin from your theme:

.home .page h1.page-title {margin-top: 0;}

Then refresh the page to see the changes.


Lorenzo


rayrolando

July 30, 2015 at 2:07 pm

I am so sorry but i just can’t figure this out :(. I still have 2 more needs:
1. Can I get rid of the ticket selector so it just shows title and description?
You can see on our homepage there is a ticket selector….https://rayrolando.com/
The event is tonight however so if someone checks this after tonight it might not be there.

2. In the event widget in our sidebar I have spent hours can’t figure out the CSS to get rid of the space/gap aboce the event title. See here:
https://rayrolando.com/about-ray/

Please advise.


Josh

  • Support Staff

July 30, 2015 at 3:26 pm

.tkt-slctr-tbl-wrap-dv {display: none;}

will hide the ticket selector.

.ee-upcoming-events-widget-title-h5 {margin: 0;}

will shorten the gap above the title.


rayrolando

August 3, 2015 at 3:02 pm

thank you SO much. I know you don’t have to support these customizations so I really appreciate that you did.

I do have one more inquiry about it- is there any way to include the event start and end date/time? I tried putting start_date=”true” in the shortcode and that didn’t work…is this possible?


Lorenzo Orlando Caum

  • Support Staff

August 3, 2015 at 3:15 pm

Hi, the date times are not part of the ticket selector so that is not available at this time. We have a list of valid parameters here:

https://eventespresso.com/wiki/ee4-shortcodes-template-variables/#event-listings

The one that you mentioned is used for sorting events when using the [ESPRESSO_EVENTS] shortcode.


Lorenzo


rayrolando

August 4, 2015 at 10:21 am

Ok, thank you. If I may, I’d like to add a request for this feature in case there are others wishing for the same.


Lorenzo Orlando Caum

  • Support Staff

August 4, 2015 at 11:12 am

Hi, did you need help making any other changes or have any questions about the [ESPRESSO_EVENTS] shortcode?


Lorenzo

Viewing 7 reply threads

The support post ‘formatting shortcodes’ 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