Site logo

Archived topic

Elementor Transparent and Sticky Navigation

11 replies · Started by Ben on May 21, 2017

Viewing posts 1–12 of 12

Hello!

I recently installed GeneratePress premium and Elementor pro on my staging server. I've merged my header with my navigation but am having two issues.

1. My current website is getkohort.com (Jupiter theme/Visual Composer). My staging site with GeneratePress is staging2.getkohort.com (user: kohort, password: stage17*). I'm in the process of moving everything over and I'm trying to get my navigation to be the same as my current website. I'm lost and can't figure out what I need to do to adjust the size of the background/buttons of the navigation. Whenever I add underline links or my CTA button they are way below or huge. I also can't figure out how to make my sticky navigation to not be transparent.

2. When I'm in Elementor and try to edit the first section, the navigation menu is so far down that it keeps me from being able to use the Elementor tabs at the top - meaning I can't delete or edit that top section. I think this might be solved if it's caused by the above.

I know some CSS/HTML so I'm not afraid to make some additions/edits - but I'm not a pro and I don't want to bug my developer if I don't have to (he's working on our app) and I'd rather learn myself. I appreciate any help! Thanks!

Hi Ben,

1. Your menu items are really tall. You can adjust this in Customize > Layout > Primary Navigation.

You can also give your navigation a background color in Customize > Colors > Primary Navigation. Then to make it transparent when necessary, do this: https://docs.generatepress.com/article/merging-header-navigation-content/

2. I've heard from users that they sometimes need to "un-merge" the header and content in order to edit the top sections in Elementor. This is something I'm trying to find a solution for.

Thanks, Tom!

1. Ok cool. So I had it set to 90px because that was the position I wanted it on the page and the size of the logo (I had pulled that 90 from the css of my previous site). I set it to 20px and that looks about right when I compare the CTA buttons, but now it's all the way at the top of the page and my SVG logo has disappeared - I currently have

.site-logo img {
width: 200px;
}

in my style.css file. Do I need to add or change something else to push that down?

2. That works. Thank you!

Try this:

.main-navigation .navigation-logo img {
    width: 200px;
    height: auto;
}

Thank you! That brought back my logo. Is there a way to move the logo and the navigation down a bit on the page? Right now it's at the very top of that page. The only way I've been able to move it down is with the line-height or padding, but both of those make the buttons huge again. I really appreciate your help!

Try this:

@media (min-width: 769px) {
    #site-navigation {
        margin-top: 10px;
    }
}

Is the page header container type set to Full width?

What about the navigation width (Customize > Layout > Primary Navigation)?

The page header container was set to full width.

The navigation width in primary was set to contain. I changed that to full-width which gives me a full-width sticky background - but my navigation items are on the edges of the screen. Can I move them back to where they were without losing the full-width bg?

https://www.dropbox.com/s/d89utbuxruvf0zx/navwidth_full.jpeg?dl=0

Is the inner navigation width set to contained?

Facepalm. Thank you! That was exactly what I was looking for.

You're welcome :)

This archived topic is closed to new replies.