Working with search text


show more Working with search text provides you with in-depth training on Web. Taught by Joseph Lowery as part of the Dreamweaver and WordPress: Core Concepts show less
please wait ...

Working with search text

The remaining issues that I have to work with on the Search widget are all text related. First, there is a label, Search for, that we don't need. Then there are some placeholder texts that should be in the input field that isn't. Finally, there is a mysteriously placed search term that's overlaying our graphic, which we don't want. To deal with these issues we are going to combine some basic CSS as well as some PHP functions.

So let's take care of the CSS-based solution first, and that's changing the label to a display none. Now I just want to affect the label that's in the Search form. So I'm going to enter #searchform and then a space and the tag name label, with our opening and closing curly braces. Now let's set the display property to none. And if I click back in this section, refresh the page automatically for the stylesheet, we can see that the label is no longer visible.

The next two issues, as I mentioned, are putting in the placeholder text in the inp...

Working with search text
Video duration: 5m 49s 5h 44m Intermediate Updated Oct 23, 2012

Viewers:

Working with search text provides you with in-depth training on Web. Taught by Joseph Lowery as part of the Dreamweaver and WordPress: Core Concepts

Subject:
Web
Software:
Dreamweaver WordPress
Author:
please wait ...