Welcome, Guest
Username: Password: Remember me
Discussion about the Another Events Calendar plugin for WordPress.

TOPIC: how to differently style the date and the time

how to differently style the date and the time 8 months 3 weeks ago #1196

  • veronique m
  •  veronique m's Avatar
  • Offline
  • New Member
  • Posts: 16
  • Karma: 0
Hello,

First of all, thanks for the plugin.

My question is about the views (grid/blog/table).
Do you think it would be possible not to have the date and time on one single row?
And even to have additional spans around the date/time output for ease of CSS formatting.

So, instead of having :
28 janvier 2017 17 h 45 min - 19 h 00 min

<p class="aec-margin-top aec-no-margin-bottom">
<span class="glyphicon glyphicon-calendar"></span>
8 janvier 2017 9 h 30 min - 16 h 00 min
</p>


Rather having something like :
28 janvier 2017 <br>
17 h 45 - 19 h 00 *

<p class="aec-margin-top aec-no-margin-bottom">
<span class="date">8 janvier 2017 </span><br>
<span class="time">9 h 30 - 16 h 00 </span>
</p>


Thanks a lot for your response,

Veronique



* the "min" (for minutes) is not necessary to me
The administrator has disabled public write access.

how to differently style the date and the time 8 months 3 weeks ago #1197

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 271
  • Thank you received: 57
  • Karma: 14
Thanks for your suggestion :)

Our next version(coming out next week) will have additional spans around the date/time output for ease of CSS formatting. So, you can write some CSS code and bring the time to the next line or style as whatever you need.

* the "min" (for minutes) is not necessary to me
Actually, the string "min" comes from the Time Format you've configured under your WordPress Settings page. You just need to adjust the setting "Time Format" to remove this.
The administrator has disabled public write access.
The following user(s) said Thank You: veronique m
Time to create page: 0.125 seconds