Posted: 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 Can you point me toward CSS for these shortcodes? Kim, webmaster for rayrolando.com |
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. — |
|
|
I am so sorry but i just can’t figure this out :(. I still have 2 more needs: 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: Please advise. |
will hide the ticket selector.
will shorten the gap above the title. |
|
|
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? |
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. — |
|
|
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. |
Hi, did you need help making any other changes or have any questions about the [ESPRESSO_EVENTS] shortcode? — |
|
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.