WordPress.org

Ready to get started?Download WordPress

Forums

Simple Menu Background Image (1 post)

  1. Jay Hoffmann
    Member
    Posted 3 years ago #

    Hello, I am trying to get a menu up within one of my wordpress pages, in the html itself. You can see it here:

    http://digitalfilmacademy.com/wordpress/about

    For some reason though, I cannot seem to get the background image that is behind the menu buttons to work. My css reads like this:

    #navmenu ul {
    margin: 0; padding: 0;
    list-style-type: none; list-style-image: none;
    }

    #navmenu li {
    display: inline;
    }

    #navmenu ul li a
    {text-decoration:none; margin: 4px;
    padding: 5px 20px 5px 20px; color: blue;
    background-image:url('images/abt.jpg')
    }

    #navmenu ul li a:hover {
    color: purple;
    background-image:url('images/abt.jpg');
    }

    I have also tried a direct path to the images with the full url but this does not work either. Is there something wrong with my css? It seems pretty basic.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.