INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Change background color for submenu cells/options

Change background color for submenu cells/options

(OP)
I am working on a web site and need to change the background color of the drop-down menus. The theme being used is non-standard. However, I believe I have found the key area of code in one of the CSS files that belong to the site. It reads like this:

.arrow a:hover:before{content:url(../images/navhoverarrow.png); }
.arrow a:hover{padding-left:0px;}
.arrow a{padding-left:15px;}
.arrowactive a:before{content:url(../images/navhoverarrow.png); }
.arrowactive a{padding-left:0px;}

The navhoverarrow appears whenever a submenu option is selected; so I feel this is the correct area of code in which to make a change or addition. Thus far the changes I have tried have not had the desired result. Will somebody give me examples of possible CSS entries to make that may solve the problem?

Thank you in advance for your help.

RE: Change background color for submenu cells/options

this is really a css issue, not a wordpress issue. you would be better asking in the html and css forum.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close