Support

Home Forums Event Espresso Premium Headings in Event Details in Single Event page do not seem to follow CSS

Headings in Event Details in Single Event page do not seem to follow CSS

Posted: April 9, 2015 at 6:03 am

Viewing 7 reply threads


Joost

April 9, 2015 at 6:03 am

In the event details I’ve added some simple HTML for sub headings (for instance <h3>Privacy</h3>. However, the only thing that happens is that I see an indent, no change of font type or size. See

http://www.plukdeliefde.nl/events/pluk-de-liefde-feest/

With Firebug I can see that this page should be controlled via style.css (and note that I have eliminated quite a lot of clutter via display:none statements in style.css). But the styling does not seem to follow that.

What do I miss? How can I get proper headings?


Tony

  • Support Staff

April 9, 2015 at 6:41 am

Hi Joost,

The headings are following the rules that apply to those headings.

Are you wanting the headings to use the same font as the entry title? So they would look something like this – http://take.ms/IHyCw


Joost

April 9, 2015 at 7:18 am

Thanks Tony for your very quick reply! Actually, I’d like to have it like the ‘Privacy’ heading on this page: http://www.plukdeliefde.nl/huisregels-polyborrel-amsterdam/. This is a normal page with handwritten code. The html code for that heading is <h3>Privacy</h3>, exactly the same as in the text for the event details. But it just looks very different.


Tony

  • Support Staff

April 9, 2015 at 7:54 am

Ok I see the issue.

Fixing this will require a small theme file edit (or creating a child theme) although I will create a ticket for this to be included within the iced_mocha theme.

Open up \iced-mocha\content\espresso\content-espresso_events-details.php

On line 5 you’ll find this:

<div class="event-content">

Change it to this:

<div class="event-content entry-content">

That should apply any styles you use within post/page content to the event content.

So it should then look something like this – http://take.ms/MLtcr


Joost

April 9, 2015 at 8:07 am

Hi Tony, thanks for a quick reply again. Yes, that’s indeed the result I am looking for. However, I seem to miss the essential part of your answer. In what should I change that line?

I only see this part of your answer:

<div class=”event-content”>

Change it to this:


Tony

  • Support Staff

April 9, 2015 at 8:13 am

Sorry, the forum editor saw the HTML and didn’t display correctly.

I have edited my post above to fix this.


Joost

April 9, 2015 at 8:23 am

Yes, now it is correct. Thanks Tony for your excellent support!!


Tony

  • Support Staff

April 9, 2015 at 8:25 am

You are most welcome, Joost.

If you have any further problems just let us know.

Have a great day 🙂

Viewing 7 reply threads

The support post ‘Headings in Event Details in Single Event page do not seem to follow CSS’ 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