Soulipsyz
Soulipsyz

Reputation: 95

Wordpress Search Button Vertical Aligning not Horizontal

I'm trying to get the Search Form Hero to look like this:

https://revolution.themepunch.com/wordpress-search-form-hero/

But the search button is always below the input field like this:

http://cheeky.travel/landing-2/

My hunch is it has something to do with vertical-align but not sure. This is the HTML:

<form role="search" method="get" id="searchform" class="revtp-searchform"        action="https://cheeky.travel"><input type="text" value="" name="s" id="s" placeholder="What are you looking for?" /><input type="hidden" value="product" name="post_type" /><input type="submit" id="searchsubmit" value="Search" ></form>

Any ideas? I've tried to use span and row and nothing changes. Thanks!

Upvotes: 0

Views: 152

Answers (1)

Hareesh Sivasubramanian
Hareesh Sivasubramanian

Reputation: 1260

You'll have to add float:left to the input field.

Upvotes: 1

Related Questions