Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2006
    Posts
    42
    Plugin Contributions
    1

    Default Background colour of drop-down boxes

    Hi All,

    How do I change the background colour of drop-down boxes please?

  2. #2
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,739
    Plugin Contributions
    0

    Default Re: Background colour of drop-down boxes

    Code:
    FORM, SELECT, INPUT {
    	display: inline;
    	font-size: 1em;
    	margin: 0.1em;
    	}
    
    TEXTAREA {
    	float: left;
    	margin: auto;
    	display: block;
    	width: 95%;
    	}
    
    input:focus, select:focus, textarea:focus {
    	background-color: #ababab;
    	}
    The above sections of your stylesheet will handle the background colors of the drop downs. Just add background-colors statement where you need them.
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  3. #3
    Join Date
    Dec 2006
    Posts
    42
    Plugin Contributions
    1

    Default Re: Background colour of drop-down boxes

    Sorry, I should have said I'm a complete newbie at all this and need very basic instructions!

    Where it says background colour above, I just change it to the colour I want?

  4. #4
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,739
    Plugin Contributions
    0

    Default Re: Background colour of drop-down boxes

    yes, use the hex code for the color you want.
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  5. #5
    Join Date
    Dec 2006
    Posts
    42
    Plugin Contributions
    1

    Default Re: Background colour of drop-down boxes

    Thank you, all sorted now

 

 

Similar Threads

  1. Colour Drop Down List
    By Dingbat1 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 12 Sep 2011, 09:41 PM
  2. background colour of page underneath boxes
    By Sushigal in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 30 Apr 2009, 06:31 PM
  3. Colour of Attribute Drop Down Menus
    By stevearinsal in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 30 Mar 2008, 05:52 AM
  4. Drop down menu - change colour?
    By pb4 in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 6 Dec 2007, 05:16 PM
  5. Change Colour of Drop Down Search & Currency Boxes when clicked
    By ---kate--- in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 6 Aug 2007, 04:18 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR