[Resolved] Help Centering Navigation Icons.

Home Forums Support [Resolved] Help Centering Navigation Icons.

Home Forums Support Help Centering Navigation Icons.

  • This topic has 10 replies, 2 voices, and was last updated 4 years ago by Leo.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1238562
    Matt

    Is there any way to add a centering option to the desktop version of the search and basket icons on the desktop version only. I have mobile version of these icons removed. The vertical centering is off and it would be nicer looking to center it from the side of the page and the “my account” menu option.

    #1238590
    Leo
    Staff
    Customer Support

    Hi there,

    Any chance you can link us to the site in question?

    You can edit the original topic and use the private URL field.

    The current URL isn’t a valid URL.

    Let me know 🙂

    #1238604
    Matt

    edited

    #1238605
    Matt

    I have 2 topics open for 2 separate issues. Same website so use the same login and pass to view the website.

    #1239295
    Leo
    Staff
    Customer Support

    Can you try setting the menu item height to 50px in GP’s customizer and see if that works?
    https://docs.generatepress.com/article/menu-item-height-width/

    #1239916
    Matt

    I changed the menu item height from 60px to 50px as requested and there is no change in the icons.

    #1240380
    Leo
    Staff
    Customer Support

    It looks like GP’s style is getting overwritten by Megamenu:
    https://www.screencast.com/t/ukXadvmoo

    When I changed that to 50px, the icons align:
    https://www.screencast.com/t/RZiO4lYq

    Are you able to change that within the plugin?

    #1241464
    Matt

    I found the line height option in mega menu that is set to 1.2px and when I change it to 50px it breaks the whole menu and background. https://imgur.com/a/F2sLF2q

    Also I saw this setting which was already 50px.

    View post on imgur.com

    #1241800
    Leo
    Staff
    Customer Support

    Ok try adding this CSS:

    .main-navigation ul li a {
        line-height: 50px;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    #1242015
    Matt

    fixed!

    #1242044
    Leo
    Staff
    Customer Support

    Glad to hear!

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