[Resolved] Can the Submit Button on a Custom Search be made sticky
This support ticket is created 4 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
Tell us what you are trying to do?
My custom search will have a long list of search criteria to choose from. I want to know if I can make the submit button sticky so that it always appears on the bottom page for the user while scrolling down the search criteria options.
Is there any documentation that you are following?
No
Yes, I could still use some help please. I tried the method you wrote above and no results. I created a new search in a grid with three columns, the left empty for spacing, the center has the search criteria and the right one has the search button and the reset search button.
I would like to confirm that the search button settings in the block editor, under advanced, is where I enter the "sticky" CSS label for the search button block, in the ID field. Should it have quotations or no quotations? I tried it both ways and no result.
The ID is set to sticky (without quote), and I did press the enter key and then saved/updated the page. The CSS that Nigel shared with me had already been added in a custom HTML block directly below the button block, as it appears in my previous screenshot. It is not working at all.
Here is the link to the new page this is on: hidden link
Please advise...
One additional question related to this search that has come up, is can we also set it so that once the user presses the search button, the page automatically scrolls to the section where the results are instead of the the top of the page?
We entertain only one question per ticket. This will help other users searching on the forum as well as help us to write correct problem resolution summery. Lets resolve issues one by one.
I see the page you shared and I can see in middle column you have added the search filters and we have to scroll a lot to reach to the search button.
What if we create a three column grid and to each column we add one search filter so in one row we will have three filters? If you want I can show you by moving the search filers but for that I will require access details.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
I understand about the one question per ticket, and will work to get this one resolved first. Thanks.
I do know that the list of search filters is long, but the owner of the site does not want them separated into three columns in a grid, he wants it long in one column, with a floating search button that always appears to the right of the search filters. It is actually already set up in a three column grid. The left column is empty, the center column has the long list of search filters, and the right column has the search/submit button. I don't want to move any search filters, only get the search button to float so it is always visible to the right of the search filters.
I got it, there is no such feature available but if you can share access details I will try to add some CSS and see if I can be helpful to you that should allow you to fix this issue, if no, you will require to contact CSS experts on this.
But first let me try and see.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
I realize I had one more question that has to do with this specific issue. Is there a way to stop the button from being fixed/sticky after a certain point in scrolling, once we reach the end of the search criteria?