WordPress.org

Ready to get started?Download WordPress

Forums

Text showing through hover menu (3 posts)

  1. Nos402
    Member
    Posted 3 years ago #

    On this site, if you hover over "about the band", the heading text in the body of the page shows through the menu hovering over it. How can I stop this? I want the menu to overlay and cover up anything under it.

    Thanks!

  2. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #

    in style.css of your theme, find this style:

    ul.menu li ul
    {
    	position: absolute;
    	left:0px;
    	top: 10px;
    	padding:0;
    	margin:0;
    	display:none;
    	width:150px;
    	background:#cabf72;
    	list-style:none;
    z-index:1;
    }

    and try to add this z-index:1; at the end.

  3. Nos402
    Member
    Posted 3 years ago #

    Awesome! Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.