+ Reply to Thread
Results 1 to 6 of 6

Thread: Does this look familiar? -
      
   

  1. #1
    kassi59's Avatar
    kassi59 is offline Major General
    Join Date
    Nov 2005
    Location
    West Burke Vermont
    Posts
    2,773

    Question 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'); ?>" />

  2. #2
    kassi59's Avatar
    kassi59 is offline Major General
    Join Date
    Nov 2005
    Location
    West Burke Vermont
    Posts
    2,773

    Default 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..

  3. #3
    FPRob's Avatar
    FPRob is offline Colonel
    Join Date
    Aug 2006
    Location
    Near some trees
    Posts
    955

    Default 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 :)

  4. #4
    kassi59's Avatar
    kassi59 is offline Major General
    Join Date
    Nov 2005
    Location
    West Burke Vermont
    Posts
    2,773

    Default 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!

  5. #5
    bitznbats's Avatar
    bitznbats is offline Sergeant Major
    Join Date
    May 2006
    Location
    Ontario, Canada
    Posts
    97

    Default 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

  6. #6
    kassi59's Avatar
    kassi59 is offline Major General
    Join Date
    Nov 2005
    Location
    West Burke Vermont
    Posts
    2,773

    Thumbs up Re: Does this look familiar? -

    Quote 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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49