If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
I have tried to change the default value of the search form text by editing search_form.php like this:
<form method=”get” id=”searchform” action=”<?php bloginfo(‘home’); ?>/”>
<div><input type=”text” class=’rounded text_input’ value=”<?php echo wp_specialchars($s, 1); ?>” name=”s” id=”s” />
<input type=”submit” class=”button ie6fix” id=”searchsubmit” value=”.” / class=”default value” value=” search in my site”>
It did not work, so i cleared the code I input, and now the php file is the same as original.
However, now all the elements in the header have been moved a little downwards and the footer looks moved aswell, thus making it look messy, the menus, the search box, etc…: http://www.autonocion.com
I’m not sure if you understand me, so I made a screenshot with blue rectangles on the messed up stuff:
I have not changed any kind of code regarding heidth or width, just the search_form.php.
How could I revert the moved-down effect? Because I have no idea where to look at, I just modified search_form and reverted it back to the original code.
Thanks in advance,
I think you have a structure error or something similiar – x is to maybe try to upload the original php files again. However a quick fix is to add following code to style.css (at the very bottom):
I uninstalled and re-installed the theme and now it seems to be looking fine.
Thanks anyway :)
The topic ‘Problem with theme – stuff is messy’ is closed to new replies.