Cyber Week Sale! Get $20 off GP Premium, $40 off our new Lifetime license, and 45% off license renewals/extensions! Learn more

[Resolved] Menu drop down height

Home Forums Support Menu drop down height

  • This topic has 7 replies, 2 voices, and was last updated 5 years ago by Tom.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #152278
    Janette

    Hi,

    I first have to say that I am totally impressed by your products and website.

    I am using Generate Press premium. The primary navigational menu’s drop down buttons are up to high and they are covering the parent link that they come from. How can I lower them?

    Thank you!

    #152290
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Are you using a child theme? If so, I think this may be the problem: https://generatepress.com/knowledgebase/child-theme-working/

    Let me know 🙂

    #152296
    Janette

    I am using a child theme and it does not contain: @import url(“../generatepress/style.css”);

    I compared the css file you sent with what I am using. I am not finding a difference in the CSS. The top edge of the drop down is just above the text for the link on the navigation bar.

    I’ll look it over more carefully to see what is affecting the height of the drop down. There must be a difference.

    -Janette

    #152297
    Janette

    I Found it:

    .main-navigation ul ul {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    display: none;
    float: left;
    position: absolute;
    top: 3.2em;
    left: 0;
    z-index: 99999;
    width:200px;
    text-align:left;
    }

    changed it from 2.5em

    #152298
    Tom
    Lead Developer
    Lead Developer

    Hmm.. That shouldn’t be happening. Any chance you can link me to your site?

    #152369
    Janette
    #152378
    Janette

    I didn’t mind looking for the code. I probably changed a margin or something working with the css. I appreciate how well organized and lightweight your template is. I enjoy css so this works well for me.

    I appreciate this great template!!!

    #152428
    Tom
    Lead Developer
    Lead Developer

    Did you re-add all of the parent CSS to your child theme CSS? It looks like it’s overwriting the CSS generated by the theme.

    If you delete the top: 3.2em part completely, it should work perfectly.

    The child theme CSS should only include your custom CSS – none of the parent stuff.

    Let me know 🙂

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