We’re with you. JoomShaper is offering a 20% Discount on all plans due to the impact of COVID-19

Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

How to route search results to different page or other solution to avoid 2 search boxes?

Featured Lock Resolved Issue
Hi folks,

When I search something in the search box located in "menu-right" module, the results show on the main body along with another - long - search box.

This ia bit awakward as you can see in my photo.

I would like to avoid showing the search box in the "menu-right" module, when there are results below with another search box.

Can I disable the "menu-right" module when results are viewed?
I think probably the most practical solution would be sending the results to a different page without that module.

But how can I achieve that?
Thanks for any tips.
cheers.

toomanysearchbuttons.jpg

Attachments (1)

  • toomanysearchbuttons.jpg
    toomanysearchbuttons.jpg 34.2 KB

9 Answers

Toufiq - Staff

More than a month ago #Permalink
Hi there,

Thanks for your query. Please add this CSS code inside your custom.css file.


.view-search .top-search-wrapper {
display: none;
}


-Thanks

Carlos Moreira

More than a month ago #Permalink
Dear Toufiq,

Thanks so much but I think I informed you wrong. Sorry.

I put the search module in the "menu-right" position, not the "logo-right".

Can you please review your reply?

PS: my file is called mycustom.css , not custom.css.

Carlos Moreira

More than a month ago #Permalink
Dear Toufiq,

Thanks so much but I think I informed you wrong. Sorry.

I put the search module in the "menu-right" position, not the "logo-right".

Can you please review your reply?

PS: my file is called mycustom.css , not custom.css.
. I confess I am still not expert on dealing with simultaneous CSS classes :p

Carlos Moreira

More than a month ago #Permalink
Dear Toufiq,
Furthermore, I checked my home page source code, and I cannot see any element with class "top-search-wrapper".

What might be going on? Your kind help is appreciated!

Toufiq - Staff

More than a month ago #Permalink
Hi there, Would you please share your site URL? I will help you definitely. Thanks

Carlos Moreira

More than a month ago #Permalink
Hi there, Would you please share your site URL? I will help you definitely. Thanks


Dear Toufiq, the site is http://www.minhodigital.pt

To get over the login prompt I have to share with you some login details. May I send them privately? How?

Carlos Moreira

More than a month ago #Permalink
Hi Toufiq,

I already found out how to do it. Now I discovered how to use multiple classes. My search box was styled with a "topsearch" class, that's why I couldn't find it.

Thanks a lot for your support.

Toufiq - Staff

More than a month ago #Permalink
Hi Toufiq,

I already found out how to do it. Now I discovered how to use multiple classes. My search box was styled with a "topsearch" class, that's why I couldn't find it.

Thanks a lot for your support.


Hi there, You are most welcome & Thanks


There are no replies made for this post yet.
Be one of the first to reply to this post!

123

Templates

327485

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us