Form reset sytle

This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 3 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #29491
    obje73
    obje73
    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 Marcinko
    Ernest 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!

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.