WordPress.org

Ready to get started?Download WordPress

Forums

Search form in default template (8 posts)

  1. Cena
    Member
    Posted 10 years ago #

    This *might* be helpful...
    http://wordpress.org/support/3/877

  2. Dougal Campbell
    Member
    Posted 10 years ago #

    In your template, on your buttons, add class="button", so that you get something like:

    <input type="submit" name="submit" value="search" class="button" />

    Then in your CSS add a rule like this:

    #menu input.button { border: 1px outset black; }

    You can make the border 2px or 3px instead of 1px, if you need to.

  3. NuclearMoose
    Member
    Posted 10 years ago #

    BLINK! Ahhh! The light comes on! Thank you both for your most excellent help. It is much appreciated.
    Craig.

  4. Anonymous
    Unregistered
    Posted 10 years ago #

    Perhaps you have a different version from what I have. I haven't messed with that portion of the default template yet, but might have done something in the CSS that does that. It's actually something that I'm planning on changing eventually. :-) I did have to do some CSS coding to get the dropdown category list in the menu to look right.
    Anyway, glad you got it worked out for you. BTW, I like your watermark moose icon thing on your page that sits behind the posts. Very appropriate.

  5. Cena
    Member
    Posted 10 years ago #

    Hey, that *is* pretty neat. How'd you do it, Craig?

  6. NuclearMoose
    Member
    Posted 10 years ago #

    Cena,
    The watermark image is really easy to do. In the wp-layout.css file, I edited the body element like this:
    body, td {
    background: url(/b2-img/NukeMooseBackground.jpg) #fff no-repeat fixed 20% 50%;
    color: #000
    font-family: Georgia, Verdana, 'MS Trebuchet', serif;
    margin: 0;
    padding: 0;
    You adjust the percentages until you get the right "location" for the graphic. BTW, a CSS guru told me that my pages lacked a color declaration for the foreground, which is what the color:#000 is for. He turns his text purple when he checks his site for proper coding. If he sees the purple text, he knows that he forgot to declare the color. This helps get you closer to STRICT validation, rather than just TRANSITIONAL. It's funny to see all of the "purple" text sites out there. I was also told that it's a good habit to ensure your page is starting out clean and fresh by setting margin and padding to "0." Also, if you declare values that are "0" when you mean "zero pixels" you can save yourself two keystrokes and omit the "px." This works for ZERO only.
    HTH.
    Craig.

  7. NuclearMoose
    Member
    Posted 10 years ago #

    BTW, the text in the WP forum is "purple." :)
    Craig.

  8. Cena
    Member
    Posted 10 years ago #

    Thanks, I'm gonna try that out after this Thanksgiving madness is over. :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.