Kindly add the following CSS code in your theme’s style.css file and check by clearing your browser cache.
input[name=q] {display: none !important;}
Hope, this solved your issue!
Thread Starter
djlo
(@djlo)
Hi, the css code did hide the “keyword” field but left a space where it used to be.
So I’ve edited the search template file and placed style="display:none;" in that input field.
Maybe an option to show or hide that field can added in the future.
Thank you!
@djlo can you be specific as to where you put that style="display:none;" code and your additional code style="display:none;" ? Can you maybe include the part of the stack where you placed it? I am currently trying to accomplish the same thing.
Thanks!
Thread Starter
djlo
(@djlo)
@realstash I had to modify a couple files in order to hide the “keyword” field.
But before you modify anything it is recommended to follow these steps here –
https://pluginsware.com/documentation/customizing-acadp-templates/
So that you won’t lose the changes when the plugin updates.
I’ve modified acadp-public-search-form-inline-display.php and acadp-public-search-form-vertical-display.php so both the search widget and the search page won’t have “keyword”.
In those files you can find the “keyword” field and add style="display:none;" to it.
Hope this helps.