Community Forums › Forums › Retired StudioPress Themes › Search going of whack for some terms (i.e. my name!)
Tagged: search funtion of out whack
- This topic has 5 replies, 2 voices, and was last updated 2 years, 1 month ago by
Shobha22.
-
AuthorPosts
-
February 22, 2021 at 5:08 pm #503176
Shobha22
ParticipantHi:
I use the Genesis Framework Agency Pro theme on my site at https://solohacks-academy.com.If I use the a Search widget (even just the default one) in the sidebar, it works for searching all the words I can think of typing in ... except if I type my own name in it such as "Shobha" or in full form as "Shobha Ponnappa" ... when the entire layout goes wonky!!!!!
You can try it. I have no clue why this is happening, as I am not a techie. Could anyone please help me fix this.
I should think when type my own name in the search field I should get an archive that shows any posts where I have referred to myself by name, isn't that so? And why does the layout go out of whack?
Thanks for your urgent assistance,
https://solohacks-academy.com/how-to-be-a-pro-at-copywriting-landing-pages-5-key-tips/
Regards,
Shobha Ponnappa
Child Theme: Agency ProFebruary 24, 2021 at 7:24 am #503196Victor Font
ModeratorI can tell you what's happening, but not why. When I view your search results source code in Firefox, I can see that you have some malformed HTML.
There are quite a few places where you have header tags and content wrapped in paragraph tags. The problem starts here:
<p><h3 style="color: #4a70ad;">Create A Membership Site Online By Mastering Six Key Aspects: Value-Creation, Strategy, Business Model, Technology, Member Experience, And Marketing.</h3> </p>
Just about every other header tag on the page has this as well.
You also have an out of place closing div tag after your privacy policy link. This suggests that you have some custom HTML that is wrong.
Neither the Genesis Framework nor your Studio Press theme would generate this bad HTML. I suggest you look for plugin conflicts, maybe a typo in any custom code, or an error with your pagebuilder, if you're using one, that is.
Regards,
Victor
https://victorfont.com/
Call us toll free: 844-VIC-FONT (842-3668)
Have you requested your free website audit yet?February 24, 2021 at 8:06 am #503200Shobha22
ParticipantThanks for the suggestions, Victor. But I have one doubt. If the HTML was the issue, then other search pages should also be having layout issues. But while worrying about this I found another possible reason, and would be grateful for your opinion on this.
My name appears on a page in default layout, as well as on some other pages in full width layout. I tried the search on other similar words (e.g. "bestselling book") which appears on a full width page. Again the layout goes out of whack. But if I search a word that only appears on default page layout (content on left with sidebar on right), then the search results are fine.
So there is some issue with the theme with respect to search done on full width pages. If this is so, is there any way to correct this?
Thanks and regards.
February 24, 2021 at 3:11 pm #503205Victor Font
ModeratorNo, I don't think so. I revisited your site and did some searches on other keywords. The bad HTML is on all of your search results pages. View the page source code in your browser tools and you'll see the bad HTML for yourself. I use Firefox because it's easier to see bad HTML. Bad HTML is highlighted in red.
Regards,
Victor
https://victorfont.com/
Call us toll free: 844-VIC-FONT (842-3668)
Have you requested your free website audit yet?February 24, 2021 at 5:59 pm #503208Shobha22
ParticipantOK, thanks so much. I'm going to have to clean out the HTML fully. Appreciate your advice.
February 25, 2021 at 8:41 am #503213Shobha22
ParticipantVictor, there is definitely some fault in the Genesis themes with respect to search function on full-width pages. A programmer by the name of Sridhar Katakam specifically had an article on this problem as many Genesis users had the same problem.
This is where I found the solution:
He had therein supplied a code to slightly modify search.php (with some tweaks in css also) so that the theme is made to show search results as a list instead of its default format. Now the search is working absolutely fine.
You can see it at work on my site:
https://solohacks-academy.com/?s=shobha+ponnappaJust thought I would put this in the forum so that other people having the same problem can know there is a solution.
-
AuthorPosts
- You must be logged in to reply to this topic.