Does this look familiar? -

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • kassi59
    Major General

    • Nov 2005
    • 2771

    Does this look familiar? -

    This is a wordpress search code. Im wanting to change the background to black..right now its white....I cant find anywhere in this script to change that...
    Any clues?

    <li id="search" style="font-weight:bold; padding-top:20px;">
    <label for="s"><?php _e('Search'); ?></label>
    <form id="searchform" method="get" action="<?php echo $PHP_SELF; ?>">
    <div>
    <input type="text" name="s" id="s" size="15" />
    <input type="submit" name="submit" value="<?php _e('Search'); ?>" />
  • kassi59
    Major General

    • Nov 2005
    • 2771

    #2
    Re: Does this look familiar? -

    Here I go answering my own questions again!...lol...maybe I shouldnt post so quickly...oh well, never know might help somone?!

    add this to the script and you will then get a black background!


    <li id="search" style="font-weight:bold; padding-top:20px;">
    <label for="s"><?php _e('Search'); ?></label>
    <form id="searchform" method="get" action="<?php echo $PHP_SELF; ?>">
    <div>
    <input type="text" name="s" id="s" size="15" style="color: fff; background: 000;" />
    <input type="submit" name="submit" value="<?php _e('Search'); ?>" />


    Watch out Navel!...lol..Imma gettin' this stuff!...lol
    Nah, not really Im still a baby....lol..no worries...hehe..

    Comment

    • FPRob
      Colonel

      • Aug 2006
      • 955

      #3
      Re: Does this look familiar? -

      And that is the first step into CSS Kassi :)

      The style you have applied (highlighted in red) is a CSS command. you have applied it directly to the form. It could also be applied to the page header to affect more than just the form background and it can also be placed in a sperate style sheet so it will affect the entire site :)

      FPRULES


      Comment

      • kassi59
        Major General

        • Nov 2005
        • 2771

        #4
        Re: Does this look familiar? -

        Wow Rob. I did all that?!...You make is sound so much better than the actual task. Im obviously very bad with terminology. Im a person that can do it, but cant explain it...or at least so as others can understand..lol..
        hmm...maybe Ill keep on playing..
        I have created a person safeguard>
        I have an empty txt file.
        before I do any changes to the script I copy and paste it to my txt file.
        then I go ahead and play.
        If I happen to do something wrong..
        I still have the original 'good' script all in tact to fix the one I may have messed up.
        works for me!..gives me more peace of mind and more creative energy to learn these things....not things..css!...lol

        Thanks for the post!

        Comment

        • bitznbats
          Sergeant Major

          • May 2006
          • 97

          #5
          Re: Does this look familiar? -

          That is an excellent tip with the txt file thanks for that (my attempts never go right the first time)!!
          www.silver-maple.ca Lakeside camping in beautiful Northern Ontario

          Comment

          • kassi59
            Major General

            • Nov 2005
            • 2771

            #6
            Re: Does this look familiar? -

            Originally posted by bitznbats
            That is an excellent tip with the txt file thanks for that (my attempts never go right the first time)!!
            Thanx! I usually add things in the wrong place or something!..So thats why I keep the 'good' script safe, while Im messing with the other. works really well. especially when you mess up and cant remember exactly WHAT you did!...lol

            Comment

            Working...
            X