SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Aug 2009
    Posts
    97
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How do I change background color of dropdown menu

    Hi

    Here is the site I am working on:
    http://ectpro.co/crane-construction/

    On the top menu dropdown, I need to change the background color from white to #8a0f11
    Divider Line to White
    and
    Text Color to #c58788

    I can't find where I change that in the stylesheets.

    Thanks.

    Kath

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    23,592
    Mentioned
    411 Post(s)
    Tagged
    6 Thread(s)
    In the head of your document, you have this, around line 47:

    Code:
    .header_color .main_menu ul, .header_color .main_menu .menu ul li a, .header_color .pointer_arrow_wrap .pointer_arrow {
    background-color: #FFF;
    color: #DDD;
    }
    You'll want to set the hover color here, too (also line 47):

    Code:
    #top .header_color .main_menu .menu ul li>a:hover {
    color: #FFF;
    }
    That's where you can change background and text color. You also have a long rule on the same line that sets the border-top color on the <a>s there.

    Why not move all these styles to your style sheet? Much easier to deal with there.


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
  •