Replace search form with my own - by equality

This topic has 8 replies, 3 voices, and was last updated 7 years, 8 months ago ago by Jack Richardson

  • Avatar: equality
    equality
    Participant
    July 13, 2016 at 13:50

    hello,
    i installed a plugin for ajax search form that work with a shortcode.
    When i put it to sidebar work fine,but when i put it to woosearchform.php appears like(see URL)
    How replace the search form with my own?
    Where exactly put the shortcode?

    7 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    July 13, 2016 at 14:43

    Hello,

    Please read here how to add shortcode in php file:
    https://wordpress.org/support/topic/how-to-use-shortcode-inside-any-php-file

    Regards,
    Eva Kemp.

    Avatar: equality
    equality
    Participant
    July 13, 2016 at 15:19

    ok,it’s worked,but now appearing both!
    If i try even with css to remove yours,not appear also my own.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    July 13, 2016 at 15:55

    Hello,

    Please provide FTP credentials in private content.

    Best regards,
    Jack Richardson.

    Avatar: equality
    equality
    Participant
    July 13, 2016 at 16:03

    is the following

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    July 13, 2016 at 17:27

    Hello,

    I’ve edited the file wp-content/themes/royal/headers/header-structure-3.php and added the code in line 41. Please check your site now.

    Best regards,
    Jack Richardson.

    Avatar: equality
    equality
    Participant
    July 13, 2016 at 17:58

    thank you!How can remove it to the left?

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    July 13, 2016 at 18:37

    Hello,

    Try to use this code in Global Custom CSS section:

    form.searchform {
        float: right;
        margin-right: 70%;
    }
    .sf_search, .sf_search .sf_input {
       width: 200px !important;
    }

    Best regards,
    Jack Richardson.

  • Viewing 8 results - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.