Removing Dates from Header in Detail Page

This topic contains 10 replies, has 3 voices, and was last updated by  Graeme Barrie 8 years, 1 month ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #365936

    Graeme Barrie
    Expired Member
    Post count: 23

    Is it possible to remove the event dates from the header area of the details page and replace it with the event name?

    #365994

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    it’d be easy to hide the dates, but not that easy to replace them with the event title. The 1st can be easily done with CSS, the latter would require a code customization.

    Thanks

    #366017

    Graeme Barrie
    Expired Member
    Post count: 23

    Do you know where it is in the CSS? The only reference of it I found was in the mobile section and when I removed it, it only removed the formatting of the text.

    #366026

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    you should never remove css from the main style.css file. After every update your changes will be lost.

    Please add this css to design > scripts > custom css:

    
    
    .gde-recurring-cont.gde-recurr-cont-act {
        display: none;
    }

    Thanks

    #366146

    Graeme Barrie
    Expired Member
    Post count: 23

    Thanks Paolo, I tried making a child theme but it was giving me errors saying supreme-directory isn’t a parent theme. I’ve added the code as you suggest but it didn’t remove the dates.

    #366148

    Kor
    Moderator
    Post count: 16516

    Hi there,

    I’d like you to know that the Supreme Directory is already a child theme and which is why you’re getting that error. Could you please share your Website URL with me so I could tell you the correct CSS snippet to do this? Also, please share Wp-admin access so that I could check on the CSS you’ve inserted and see if you’re doing it correctly.

    Thanks!

    #366152

    Graeme Barrie
    Expired Member
    Post count: 23

    If you email me directly, I will send you the site details.

    Thanks,
    Graeme

    #366162

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    we need them here in a private reply, we don’t share an email address between all of us.

    Setting the reply as private will make it readable only by forum moderators.

    Thanks

    #366183

    Graeme Barrie
    Expired Member
    Post count: 23
    This reply has been marked as private.
    #366192

    Kor
    Moderator
    Post count: 16516

    Hi there,

    Thanks for sharing the credentials. I’ve applied custom CSS code below to remove the “Event Dates”. You can find the custom CSS code in GD > Design > Scripts > Custom Style CSS.

    
    
    .featured-area .gde-recurring-cont {
        display: none!important;
    }
    #366226

    Graeme Barrie
    Expired Member
    Post count: 23

    Thanks!

Viewing 11 posts - 1 through 11 (of 11 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount