How to Make Secondary Header Search Box Bigger in Extra Theme

Make Secondary Header Search Box Bigger in Extra Theme

In the secondary header of the Extra Theme, there is an option of using a search box. The search box is fixed in size and may be too narrow for some sites, especially where a user has to search for long words or phrases.

There is no customization option to increase the size of the search box. You can increase the size of the search box using the following CSS:

/* Set the secondary header search bar width */
.et-top-search .et-search-field { width: 200px !important; }

n the WordPress dashboard, go to Divi > Theme Options > Custom CSS to paste the above code. Click on the “Save Changes” button to save the custom CSS code.

Pro Tip: How to Add CSS Code Snippets to the Divi Theme

Leave a Reply

Your email address will not be published. Required fields are marked *

Altvise WP

WordPress plugins and practical tutorials, from the team behind Footnotes Made Easy.

Footnotes Made Easy Pro

Turn footnotes into proper academic citations. APA, MLA and Chicago styles, DOI and ISBN auto-fetch, and a reusable citation library.

Get new tutorials by email

A short email when we publish something new.

No spam. Unsubscribe at any time. By subscribing you agree to our Privacy Policy.

ChemiCloud web hosting