Many websites today will not have labels next to their input boxes anymore. Instead they place the text inside the input box. Contact Form 7 plug in can do this out of the box, but the user has to erase what is in the box before they can type in their information. This is a) annoying and b) not user friendly at all. Fortunately there is a hack that makes this work. Special thanks to emj for this solution.
Note that this is a bit of a hack, so not sure how it will work as you upgrade to newer versions.
First: add this javascript to header.php
Second: in the contact form 7 plugin folder, edit file /modules/text.php
Third: find line 76
$html = ‘‘;
Fourth: between ‘input’ and ‘type’, add:
onFocus=”clearText(this)” onBlur=”restoreText(this)”
That should do it. It isn’t perfect, but it works pretty well.
Which Google Ads campaign should i use for my Business?
Many people associate Google Search Ads, but there are several different types of Google Ads campaigns that you can use for your business, and the best option for you will depend on your specific goals and target audience. Here are a few options to consider: Search ads: Search ads appear in the search results when…
Are Google Ads worth it for small business?
Yes, Google Ads can be a great option for small businesses. Google Ads allows businesses to reach their target audiences and engage with potential customers, increasing their online visibility. Additionally, Google Ads can be tailored to the specific needs of small businesses, allowing them to target the right people and optimize their campaigns accordingly. Google…
Are Google Display Ads as effective as Google Search Ads?
Google display ads and Google search ads can both be effective at reaching potential customers and achieving your marketing goals, but they work in different ways and may be more effective in certain situations. Here are some key differences between Google display ads and Google search ads: Placement: Google search ads appear in the search…