Support

Home Forums Event Espresso Premium display date on one line

display date on one line

Posted: July 30, 2012 at 7:42 pm


Jimmy Haines

July 30, 2012 at 7:42 pm

My date shows up like this: (start date and end date are the same)

Date:
August 22, 2012

I want this:

Date: August 22, 2012


Josh

  • Support Staff

July 31, 2012 at 7:42 am

Hi Jimmy,

Unless the registration_page_display.php template has been edited, those should be on one line. Compare the registration_page_display.php template to a stock copy of the same file from a freshly downloaded copy of Event Espresso.

Here’s a screenshot of the page source:
enter image description here

If the registration_page_display.php template has not been altered, something (possibly a theme function or a function from another plugin) is adding these br tags. The br tag will break each line.

You could quickly rule these out by installing the theme test drive plugin and checking the same page while testing another theme like twentyeleven. Plugins can be ruled out by temporarily deactivating them.


Jimmy Haines

July 31, 2012 at 7:46 am

Thanks. I think its a theme thing…. Any way to force just that to go up a line with css?


Josh

  • Support Staff

July 31, 2012 at 7:52 am

.start_date br {display:none;}


Jimmy Haines

July 31, 2012 at 8:32 am

You are the man! Wicked smart. Thanks a lot!

The support post ‘display date on one line’ 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.

Do NOT follow this link or you will be banned from the site!
[i]
[i]