Add font to Typography & More visual customization for Menu

Home Forums Support Add font to Typography & More visual customization for Menu

Home Forums Support Add font to Typography & More visual customization for Menu

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #258038
    Farokh

    Hi

    It would be great to be able to directly add new fonts to typography

    Also, Menu customization can be more advanced

    #258148
    Tom
    Lead Developer
    Lead Developer

    This should help: http://docs.generatepress.com/article/customizing-the-google-font-list/

    What exactly could be more advanced about the menu customization?

    #258158
    Farokh

    Fonts> I mean other than Google fonts. To be directly added to Typography

    Menu> I mean more options like Transparency. Also, it would be great to change menu item background colors look like rounded buttons rather than square blocks

    #258161
    Tom
    Lead Developer
    Lead Developer

    Other fonts need to be added using @font-face: https://css-tricks.com/snippets/css/using-font-face/

    Full transparency is achievable in the menu by deleting the background color. Semi-transparency for background colors is coming in the next version.

    This might help for rounded menu items: https://generatepress.com/forums/topic/rounded-navigation/#post-53826

    #258167
    Farokh

    Thanks

    How can the menu back ground color be deleted?

    #258168
    Tom
    Lead Developer
    Lead Developer

    Simply delete the value in the background field in Customize > Colors > Primary Navigation.

    #258204
    Farokh

    For rounded menu items, I used this css mentioned in your post, it only gives me the left side of the left item in a rounded shape.

    I was more like looking for all menu items have rounded back ground

    .main-navigation .menu li:first-child a {
          -webkit-border-top-left-radius: 15px;
          -webkit-border-bottom-left-radius: 15px;
          -moz-border-radius-topleft: 15px;
          -moz-border-radius-bottomleft: 15px;
          border-top-left-radius: 15px;
          border-bottom-left-radius: 15px;
    }
    #258218
    Farokh

    I am looking for something like this http://www.mehradgroup.com

    #258307
    Tom
    Lead Developer
    Lead Developer

    Try this:

    .main-navigation .main-nav > ul > li > a {
        border-radius: 5px;
        margin-right: 5px;
    }
    #258403
    Farokh

    It’s almost perfect, only the BOX which contains primary sub-navi items opens to the right (instead of left), putting sub-items of one primary item under a different primary item

    #258404
    Farokh

    sorry this was for another post, my apologies

    #258421
    Farokh

    Thank you for the css

    .main-navigation .main-nav > ul > li > a {
        border-radius: 5px;
        margin-right: 5px;
    }
    #258511
    Tom
    Lead Developer
    Lead Developer

    You’re welcome 🙂

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.