This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko 3 years, 2 months ago.
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Form reset sytle
This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko 3 years, 2 months ago.
Hi and thanks for your great plugin,
In order to have maximum control over styling, is there any option to get a ‘no-theme’ search form? I mean very raw, minimal code.
Because setting up CSS styles through the plugin options is already nice but lacks some features to perfectly match my existing website design. Also, overwriting an existing search form theme seems really hard considering the number of ID’s and classes used.
Do you have any idea?
Thanks by advance
Hi!
Actually, you can completely turn off the stylesheet loading via a small custom code snippet, when using the latest version of the plugin (4.19.4).
Try adding this custom code to the functions.php in your theme/child theme directory. Before editing, please make sure to have a full site back-up just in case!
add_filter( 'asp_load_css', 'asp_stop_load_css', 10, 1 );
function asp_stop_load_css( $stop ) {
return true;
}
This will fully remove the search styling files, so you can build your own set of CSS rules instead. I hope this helps!
Best,You must be logged in to reply to this topic.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |