-
AuthorPosts
-
May 1, 2017 at 8:52 am #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!
May 1, 2017 at 2:12 pm #785729Hey!
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,
YigitMay 1, 2017 at 4:04 pm #785819Hey 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.
May 1, 2017 at 4:14 pm #785829Hi,
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,
YigitMay 1, 2017 at 4:31 pm #785839Not working :(
I created a temporary login for you.
Thanks in advance!
May 1, 2017 at 7:46 pm #785940Hi,
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,
YigitMay 2, 2017 at 3:45 pm #786450Sure.
May 3, 2017 at 6:31 am #786912Hi,
We added the following code in the Quick CSS field.
.search .date-container { display: none !important; }
Best regards,
IsmaelMay 3, 2017 at 8:47 am #786971Hi 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 7 years, 7 months ago by blancocapell.
May 3, 2017 at 12:45 pm #787088Hi,
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 7 years, 7 months ago by Rikard.
May 3, 2017 at 12:51 pm #787096Hi Rikard,
It’s the same code Ismael sent me. Anyway, I tried it and it still doesn’t work :(
Cheers,
May 3, 2017 at 1:33 pm #787120Hi,
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 websiteBest regards,
YigitMay 3, 2017 at 5:05 pm #787245We 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?
May 3, 2017 at 5:36 pm #787255Hi,
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,
YigitMay 3, 2017 at 5:46 pm #787257Nice!
Thanks Yigit, ask for a raise :)
May 3, 2017 at 5:49 pm #787260Hi,
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 -
AuthorPosts
- The topic ‘Remove date from search results not working’ is closed to new replies.