Tagged: x
-
AuthorPosts
-
September 25, 2016 at 12:32 pm #1189877
kaylaadriannaParticipantHi,
My client isn’t loving the layout of the search page for his website and I’m wondering how I can change the size of the images so that they don’t dominate the search results like the currently do. Ideally, I’d like to have the same layout as my MEDIA/Archive or Blog page.
He’d also like to have the text of the 404 page changed when a search comes up with no results because it currently looks like the user has made an error (it’s not clear that what they’re looking for isn’t there).
Can you help?
September 25, 2016 at 12:33 pm #1189878
kaylaadriannaParticipantThis reply has been marked as private.September 25, 2016 at 1:25 pm #1189916
RupokMemberHi there,
Thanks for writing in!
#1. You can add this under Custom > CSS in the Customizer.
.search-results article.hentry { clear: right; float: left; margin-right: 4%; margin-top: 30px; margin-bottom: 30px; width: 48%; } .search-results article.hentry:nth-child(2n) { margin-right: 0; }Hopefully this will make the search result page similar to the blog/media page.
#2. You can use our “Custom 404” extension from X Addons menu and use your own content for the 404 page. See this for more information – https://community.theme.co/kb/extension-custom-404/
Hope this helps.
September 26, 2016 at 8:58 am #1190838
kaylaadriannaParticipant1. The code for the the search page didn’t work. Is it possible that another custom code I’m using is interfering?
2. Thank you!!
September 26, 2016 at 10:53 am #1191002
RahulModeratorHey There,
Thanks for writing back!
Possible! Can you please remove the previous custom code and check it again with the given code? Let us know if this works.
Thank you.
September 26, 2016 at 12:59 pm #1191169
kaylaadriannaParticipantThanks for the suggestion. I placed the code before the other customizations and it worked!
I turned on Custom 404, created a new page to redirect to, but I still get the same(old) error page when I search for something like “bunnies” that couldn’t possibly show up in my search results. Any idea what’s going on?
September 26, 2016 at 11:37 pm #1191767
RupokMemberHi there,
I am not quite certain about the issue. Are you referring the search result page when there is no result? – http://prntscr.com/cmt55t
It’s not actually 404 page rather “No result” page. If you want to change this, you will need template change with Child Theme.
Let us know what you are referring.
September 27, 2016 at 4:21 pm #1192939
kaylaadriannaParticipantIf a visitor uses the search function to look up an article and the search turns up no results, the visitor gets sent to that “Nothing to show right now” page. I would like them to see a custom message and possibly a list of other articles they can read instead. I don’t have a child theme installed.
September 28, 2016 at 12:00 am #1193406
RupokMemberHi there,
Thanks for writing back. As I mentioned, it’s a “No result” page and you can only change this through Child Theme if you want. You need to edit the file /framework/views/global/_content-none.php.
Hope this helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1189877 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
