Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #785585

    Hi guys,

    I want to remove the date from the search results and from the search pop-up on the header, but none of the CSS snippets I can see in some of the threads here in the forums are working.

    For example, that doesn’t have any effect:

    .search-results .date-container, .search-results .date-container + .text-sep {
        display: none!important;
    }

    I’m putting them on the Quick CSS box; am I doing something wrong?

    Thanks!

    #785729

    Hey!

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    .ajax_search_excerpt {
        display: none;
    }
    

    Best regards,
    Yigit

    #785819

    Hey Yigit!

    I’m sorry, but it doesn’t work. I have it implemented in the English version of my website, if you wanna check it out.

    #785829

    Hi,

    Please flush caching and refresh your page a few times. If that too does not help, please create a temporary admin login and post it here private so we can look into it :)

    Best regards,
    Yigit

    #785839

    Not working :(

    I created a temporary login for you.

    Thanks in advance!

    #785940

    Hi,

    Can you please post FTP logins here privately as well? Editor is missing under Appearance tab. I would like to check style.css file of your child theme :)

    Best regards,
    Yigit

    #786450

    Sure.

    #786912

    Hi,

    We added the following code in the Quick CSS field.

    .search .date-container {
        display: none !important;
    }

    Best regards,
    Ismael

    #786971

    Hi guys,

    Thanks, but it still doesn’t work and I cleared cache. Are we talking about the same thing? I’d like to remove the date from this kind of pages: https://www.naikare.es/en/?s=encontrar
    In the previous page it should work, since the latest code is implemented.

    Best,

    • This reply was modified 2 years, 8 months ago by  blancocapell.
    #787088

    Hi,

    When I check this CSS in the browser it work, are you sure that all the caches are removed from both the server and the browser?

    .search .date-container {
      display:none !important;
    }

    Best regards,
    Rikard

    • This reply was modified 2 years, 8 months ago by  Rikard.
    #787096

    Hi Rikard,

    It’s the same code Ismael sent me. Anyway, I tried it and it still doesn’t work :(

    Cheers,

    #787120

    Hi,

    I added the code to top of Quick CSS field without any spaces as following

    .ajax_search_excerpt {display: none !important;}

    and flushed cache and that worked – http://i.imgur.com/Lr21giT.jpg
    Please review your website

    Best regards,
    Yigit

    #787245

    We are almost there! That worked for the pop-up (thanks!) but not the search results page.
    I am trying wiith this:
    .search .post-meta-infos {display: none !important;}

    and this:
    .search .date-container {display: none !important;}

    And nothing happens. Any ideas?

    #787255

    Hi,

    I changed the code to following one and flushed cache

    .search .date-container,.ajax_search_excerpt {display: none !important;}
    

    Please review your website again :)

    Best regards,
    Yigit

    #787257

    Nice!

    Thanks Yigit, ask for a raise :)

    #787260

    Hi,

    You are welcome! :)

    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)

    Best regards,
    Yigit

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

The topic ‘Remove date from search results not working’ is closed to new replies.