Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #18904

    Hello,

    I have a red main menu and with this code I have made the text white:

    #top .main_menu .menu a {

    color: #ffffff;

    }

    The problem that now occurs is that the submenu background is white and the text is also white because of that code.

    What can i do to make the color of the text in the drop down menu black?

    Thanks!

    #101321

    Hi!

    You can use following css code:

    #top .main_menu .menu ul.sub-menu a {
    color: #000;
    }

    Best regards,

    Peter

    #101322

    Thanks, that did it.

    Another question that came up:

    How can i make divider lines between menu items? For example I want to make it look like this: Home | Blog | Contact

    So between the items the “|” but not at the last one.

    Thanks!

    #101323

    Hi,

    Please add this to your custom css or quick css located in Propulsion > Theme Options > Styling … bottom of page.

    #top .main_menu .menu li {
    border-right: solid 1px #ccc;
    margin: 10px 10px;
    padding: 10px 10px;
    text-align: center;
    margin-right: auto;
    margin-left: auto;
    }
    .main_menu ul:first-child > li > a {
    margin-left: 10px 20px 20px 20px;
    padding: 0 10px 3px 0;
    }
    #top .main_menu .menu li:last-child {
    border-right: solid 0px #ccc;
    }

    Thanks,

    Nick

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Color of the text in the drop down menu’ is closed to new replies.