Support

Home Forums Event Espresso Premium ESPRESSO_MY_EVENTS. Styling Problems

ESPRESSO_MY_EVENTS. Styling Problems

Posted: September 11, 2021 at 9:28 am


Omar Paloma

September 11, 2021 at 9:28 am

I can’t get the styling to work on my site. The table rows and legend description text color are sometimes white on white. Sometimes it starts out black then changes to white once the page is fully loaded. I can see, looking at the CSS via “inspect element ” that the css is being inherited from #et-boc > div > div > div > div > div > div.et_pb_module.et_pb_text.et_pb_text_9.et_pb_text_align_left.et_pb_bg_layout_light > div > div > div > table

But I cannot figure out how to change the CSS no matter what I do.

Can you help?


Omar Paloma

September 11, 2021 at 9:31 am

This reply has been marked as private.


Tony

  • Support Staff

September 13, 2021 at 4:44 am

Hi there,

Seems Divi is set to load a dark layout, but then your site is loading white. There are more sections than just Event Espresso being affected by this.

The above selector isn’t the correct one for this issue, it’s:

.et_pb_bg_layout_dark,
.et_pb_bg_layout_dark h1,
.et_pb_bg_layout_dark h2,
.et_pb_bg_layout_dark h3,
.et_pb_bg_layout_dark h4,
.et_pb_bg_layout_dark h5,
.et_pb_bg_layout_dark h6 {
    color: #fff!important;
}

To fix the issues specifically with EE My Events section you can use something like this:

.et_pb_bg_layout_dark .espresso-my-events,
.et_pb_bg_layout_dark .espresso-my-events h3,
.et_pb_bg_layout_dark .espresso-my-events h6 {
    color: #000!important;
    text-align: left;
}

You can add that in Divi’s custom CSS section.

However, I’m not sure why Divi is set load as a dark theme/layout and then text is being manually fixed when this happens, seems you don’t actually need a dark layout?


Omar Paloma

September 18, 2021 at 7:12 am

That zoomed past my CSS knowledge. I can add the this to the Custom CSS pages but I am curious.. I know you are NOT tech support for Divi, but how did you determine that Divi was loading a dark layout? For sure, not my intent and I’ll want to change that globally and any knowledge my may have could help.

You must be logged in to reply to this support post. Sign In or Register for an Account

Event Espresso