This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Form reset sytle

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #29491
    obje73obje73
    Participant

    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

    #29492
    Ernest MarcinkoErnest Marcinko
    Keymaster

    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!

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.