Getting rid of global header search field in Elemental theme
The problem is now that the header of the page seems to comprise 3 fields or boxes (Global Header Site Title, Global header navigation and global header search)
im ok with the title and the navigation bar - but i dont need the global header search field at all.
As those fields are not "editable" from within the browser i think the problem is within the Header.php in the theme´s folder. But i just cant find the correct code:..
I need a way to
1. get rid of the search box so i have more space for the navigation bar
2. edit the sizes of the 3 elements (i couldnt find a solution for that within c5)
i know this is quiet a noob question and i´ve already checked for similiar problems ! help would be very much appreciated :)
thx in advance
The Global Header Search area is conditional. If it doesn't contain a block, it will only be viewable while in edit mode.
To create more space for the navigation bar, delete the Search block.
After deleting the Search block and publishing/saving, the area will not be displayed.
Are you still having an issue with it?
If you setup a temporary admin account on your site and private message me the details, I can take a look at it.
look all i need is the part of the code that is responsible for that search bar in the header.php of the standard elements theme...
Any changes made to the theme files in the concrete directory will be overwritten. To prevent this, you can use the Cloneamental theme.
This code displays the search area:
This code controls the width of the area that holds the navigation: