Updated to vantage premium 2.4.2 – the search in the masthead menubar now has a persistent drop down search box on first loading (see http://nearlylegal.co.uk/blog/ ). Is there a way to toggle this so that it appears on click on search icon rather than by default?
Also, on first updating to 2.4, the background header image was removed, despite the theme being a child theme. The background image had to be re-coded into the child theme style.css and using custom.css didn’t seem to over-ride it. I solved the problem, but it was an issue with the update.
Hi Nearly Legal
Sorry to hear about the hassles. Please can you check your child theme. Is there a searchform.php file in there? If so, please could you check searchform.php in the parent theme as there were updates made to that file.
Thanks
Hi – there is a searchform.php in the child theme. What am I checking for in the parent theme searchform.php ? And should it be taking precedence over the child theme version, which should be unchanged?
Sorry for not explaining further. I didn’t look into exactly what the guys changed there. Sure, your searchform.php will remained un-changed in the child theme. If however an adjustment was made to the JavaScript or CSS that the form uses you’ll run into a problem. My idea was to check the new searchform.php and merge it with your current searchform.php. So basically move whatever changes you made the file, over to the new version.
Here is the new version:
And here is the old version:
I’ll run a diff inspection in a moment and try help out a bit more :)
Perhaps you could let us know what you changed in searchform.php or just paste your version here. We can then help merge those changes into the new version. Should be the fastest way to proceed.
Thanks for this so far. I hadn’t changed anything. The behaviour and appearance of the in menu search changed with the 2.4 or 2.4.2 update.
This is searchform.php from the child theme
<form method="get" id="searchform" action="” role=”search”>
<input type="text" class="field" name="s" value="” id=”s” placeholder=”” />
<input type="submit" class="submit" name="submit" id="searchsubmit" value="” />
Sorry missed the code tags
Thanks for confirming. If you haven’t made any changes to searchform.php you should be able to remove it from your child theme. Can you perhaps give that a try?
Perfect – that worked. Thank you!
Super, glad that helped. All the best :)