• Resolved reneerio303

    (@reneerio303)


    Hi,
    I found a post that was marked resolved on this issue however, the resolution itself was not posted there. Here is the link to that one: https://wordpress.org/support/topic/removal-of-all-event-times/

    I added a reply requesting that info but, since it is marked resolved, it may not have made it to you. I’ve copied my question(s) here:

    Would someone provide that css code here. I am in need of doing the same thing (hiding the start and end time as well as the “all day” text/sticker).

    Our events are 8 days long with arrival and departure days at both ends and I want to leave the time designation completely off as well.

    http://dev.marbleretreat.org/calendar-schedule-marble-retreat/

    I would also like to limit the excerpt length that shows in Stream mode so that it doesn’t cut the bottom half of the next line of text off in the middle. I will start a new thread on that one if you’d like, but you will be on the page with Stream mode as default for above request…

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hi,

    1. Please try the following code:

    #ai1ec-calendar .ai1ec-event-time {display: none;}
    .ai1ec-allday-badge {display: none;}

    2. Your inquiry requires changes in the code, which unfortunately we cannot help with as part of our support. We’ll keep this topic open for a few days for other user to chime in if possible. Thanks for your understanding.

    Ben

    • This reply was modified 7 years, 4 months ago by Benjamin.
    Thread Starter reneerio303

    (@reneerio303)

    Hi Benjamin,
    Thanks for the quick response however, the suggested code is not removing the badge anywhere. I tried a couple of variations to it with no luck.

    Alternatively, I thought I could simply change the text and background of the badge to the same color as the background and basically camouflage it but am getting mixed results between the different views.

    In the Theme Options > Calendar general > All Day Badge color, I can change the background of the badge to the same color as the page it is sitting on and that piece is hidden in Agenda and Month views, but Doesn’t change the background of the badge in Stream view.

    And text colors for the ALL DAY text are also different depending on view.

    Ideally I would like to remove the time altogether (badge and text).

    It is possible that you put the code in the wrong place, please try to change position in the style.css file.

    Thread Starter reneerio303

    (@reneerio303)

    Hi Benjamin,
    I did put that code in the css of my Avada child theme. When that didn’t work, I also used Firebug to add more selectors to target each view directly in hopes that would work but didn’t have any luck.

    When I am in my developer tool, I can change the “display: in-line block;” to “display: none;” in the .ai1ec-allday-badge rule and it removes it, so I am not sure why it is not removing it when I add it to my style sheet, unless… am I supposed to be changing it in an All-in-One-Calendar style sheet and not my child theme css? If that is the case, where will that style sheet be?

    I have re-added the code you provided to my child style sheet for your viewing of the results (I added !important after testing without): http://dev.marbleretreat.org/calendar-schedule-marble-retreat/action~agenda/request_format~json/

    Thanks for your help with this. Clients are getting antsy and deadlines are looming 🙂

    Thread Starter reneerio303

    (@reneerio303)

    Hi Benjamin,
    Just wanted to follow up with you regarding the css you provided to remove the All Day badge (well, the time designation completely).

    Did you get a chance to look at it after I added that code back in? Can you help?

    The site is live now so it is becoming more pressing that I remove that misleading information.
    http://marbleretreat.org/calendar-schedule-marble-retreat/ and here http://marbleretreat.org/event/january-10-2017/?instance_id=9 and wherever it is showing up.

    Please try:

    #ai1ec-container .ai1ec-allday-badge {display: none;}
    .ai1ec-allday-badge {display: none;}
    Thread Starter reneerio303

    (@reneerio303)

    Hi Benjamin,
    I dropped that into my css and the all day badge is still showing up everywhere. I updated the plugin (even though the changes were not related to the badge) and tried again with the same results.

    I believe that the code you provided should have removed the badge so I am unsure of next steps.

    When I add display: none to the css while using my developer tools, the badge is removed but when I add the same to the css in my child theme, it is not. Here is what I changed while in firebug (ONLY added display: none; to that bit):

    .ai1ec-single-event .ai1ec-time .ai1ec-field-value .ai1ec-allday-badge, .ai1ec-multi-event .ai1ec-time .ai1ec-field-value .ai1ec-allday-badge {
    display: none;
    font-size: 0.75em;
    line-height: 1.4em;
    }

    I cleared my cache and tried again and still no change – all day badge is still there. I also tried adding every selector for the contact info to try to target the badge without success.

    Do I need to go into the plugin files? What next?
    Thanks!

    This code should hide badge, probably this is not the correct file, do you see style.css file in Dashboard > Appearance > Editor?

    Thread Starter reneerio303

    (@reneerio303)

    That’s exactly where it is going. Emailed you screen shots of the style.css and all places the badge is showing up (which is everywhere since it is not removing the badge).

    I’ve also been trying to change the telephone number on the event post page to be white like the Email link below it and can’t get to it either. I’m new to wordpress but not to html and css.

    Thanks Benjamin

    Where did you send the screenshot, because I do not see your email.

    Thread Starter reneerio303

    (@reneerio303)

    Well, I had replied to your email (twice) before realizing it was going to noreply@wordpress.org Sorry!

    I’m not sure how to upload the files here as I’m not seeing an attachments option. Please advise and I will send asap.

    Thank you! Sorry for the confusion too!
    Renee

    Thread Starter reneerio303

    (@reneerio303)

    Good morning Benjamin,
    I am following up again on the all day badge issue. Would you please advise me where to send screenshots? The site is live now and the “all day” designation is misleading. I need to be able to remove the time designation altogether. Please help.
    Thank you,
    Renee

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Remove time designations from All in One Calendar’ is closed to new replies.