WordPress.org

Forums

Removing Borders from Menu - Twenty Twelve (2 posts)

  1. takenoturns
    Member
    Posted 1 year ago #

    I would like to remove the borders around the menu bar.

    I've tried everything found on here in the CSS stylesheet:

    This one:
    #access {
    box-shadow: none;
    }

    this one:
    #access {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    }

    and these ones:
    .main-navigation ul.nav-menu, .main-navigation div.nav-menu > ul { border-bottom: 0px; border-top: 0px;}

    .navbar .navbar-inner {
    -webkit-box-shadow: 0px 0px 0px ;
    -moz-box-shadow: 0px 0px 0px ;
    box-shadow: 0px 0px 0px transparent;
    background:none
    }

    I have no idea why it's not working. Please advise, thanks1

  2. joelymil
    Member
    Posted 1 year ago #

    Hmm, after looking at the Twenty Twelve theme, it looks like .main-navigation div.nav-menu > ul { border-bottom: 0px; border-top: 0px;} should be working.

    Are you able to post a link to your site so we can have a look at exactly what's going on?

Topic Closed

This topic has been closed to new replies.

About this Topic