Posted: May 31, 2017 at 2:53 am
Hi, |
|
Hi there, Which version of Divi are you using? If you can send a copy over to me I’ll install it locally and investigate, you can use support[at]eventespresso.com (Note you’ll likely need to host the zip on something like dropbox and send a link we can use to download the file as it is likely to large to be accepted within an email) |
|
Hi Tony, Thanks. I’m using the latest version of Divi 3.0.47. Did you mean to send a copy of the theme? If yes, I just sent it by WeTransfer to support@eventespresso.com. .espresso-venue-dv { .espresso-venue-dv .event-venues-h3 { I found this on the events list page too when I tried to style the buttons. In the end I got it working by putting the CSS in the page specific CSS option. This isn’t possible for the single event page though as it’s not a page that I’ve created with Divi. Any thoughts much appreciated! Thanks |
|
Regarding the CSS I don’t see either of those rules within the current stylesheet loading on the site. Adding that to Chromes inspector stylesheet works as expected – http://take.ms/pDg7m So it appears the CSS is not loading? |
|
That’s what I don’t understand. It’s there on my child theme stylesheet and in the Divi options panel for good measure. Can’t think why it’s not loading. |
|
Ok, my mistake, the CSS is loading but there are multiple syntax errors in the child CSS file.
Neither does Any CSS after either of those rulesets is ignored. |
|
I fixed those errors and nothing changed. |
|
You also have syntax errors in that location, which again is the problem.
If you are adding the code directly to Divi I’d recommend using a decent editor before using the code such as SubLime Text to help highlight these issues easily. |
|
Sorry – I just copied and pasted that bit over and missed the final parenthesis. I didn’t realise that mistakes higher up mean that things at the bottom of the CSS don’t work. Thank you so much for your good advice. Will use a code editor for sure from now on. I see now that the single event page CSS snippet is working. And the register now button is styled too! Is this picking up the same CSS as that for the buttons on the events page? If yes, then something isn’t quite working – I think the button border, because I can see a strange shadowy bit of something around the register now button? Do you have any thoughts on the sidebar issue? |
|
The sidebar is added by the Divi theme and Event Espresso doesn’t control that, but you can hide the sidebar with some CSS or contact Elegant themes for support. Example CSS for hiding Divi’s sidebars follow. To hide Divi’s sidebars on all single posts:
To hide Divi’s sidebars only on single Event Espresso posts:
The shadow border on the Register now button happens because the button is actually an input, and you can remove border with:
|
|
The support post ‘Remove sidebar from single event page and registration page’ 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.