The Joomla search results page displays to the far right of the page. The search results page should show (was showing) in the main content area and now it's on the right. This is not in a module position. I tested the search in Joomla Protostar and it displays fine.
Search results page displays to far right side of page instead of in main content area.
4 replies
Hi Shirley,
Ok, I see... It looks that somebody from your "team" added & used that
.search {
margin-left: 880px;
}
to extra default.css file.

yes, small mistake! Easy correct 4 you.
NEXT TIME please use Code Inspector tool from your browser to investigate from where "crazy" design is come from. >> https://www.joomshaper.com/blog/which-line-of-css-i-have-to-edit-code-inspector-in-action
you're welcome. You can close that topic.
Thank you, however, I placed the margin code in there to position the search bar in the top position to the right of the page, otherwise it displays behind the logo like this:
https://screenrec.com/share/9zanNC63RU
How to position the search bar where I need it in the upper right and still have the search results come up normally?
With regards to "ALT also is a tragedy in most cases" ...do you mean that I need to place descriptive text into the ALT tags for all images?
Sorry, but joomshaper support is not here to teach CSS and SEO. Support Policy rules.
If you really have to use left-margin but for
#sp-search { }
not.search {} as you did.
But I would use different style than margin.