Search Results Page Displays To Far Right Side Of Page Instead Of In Main Content Area. - Question | JoomShaper

Search Results Page Displays To Far Right Side Of Page Instead Of In Main Content Area.

SC

Shirley Craig

Helix Framework 1 year ago

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.

https://screenrec.com/share/I518RaPYiy

0
4 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #101905

Hi Shirley,

Ok, I see... It looks that somebody from your "team" added & used that

.search {
  margin-left: 880px;
}

to extra default.css file.

info_56_2023.jpg

yes, small mistake! Easy correct 4 you.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #101906

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.

0
SC
Shirley Craig
Accepted Answer
1 year ago #101954

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?

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #101963

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.

0