align for search input field

Home Forums Product Support Forums Ajax Search Pro for WordPress Support align for search input field

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12961
    doble
    doble
    Participant

    Hi there, please I can not align the input field. Please check this link:
    https://aventuracerdanya.com/alacarta/
    (If I change the layout and theme options it does not change, please help)
    Thanks!!

    https://aventuracerdanya.com/alacarta/

    #12967
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    The problem is originated in a theme script, which removes input placeholders, and replaces them with labels. It makes changes to the search input structure like so: https://i.imgur.com/cW6GRp3.jpg

    The problem is coming from the /wp-content/themes/salient/js/init.js file, probably from lines 13868 and 13869:

    convertPlaceholders();
    setTimeout(convertPlaceholders,500);

    These function calls are removing the placeholders (there might be more, I only found these). A possible solution would be to either remove or comment these lines in that file, like so:

    //convertPlaceholders();
    //setTimeout(convertPlaceholders,500);

    That will most likely solve the problem. In case you want to make changes to the file, I highly recommend having a back-up of your site before doing so, in case anything goes bad. For further information, you can also contact the theme developer as well.

    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.