• Love this theme, working great for my site. Wondering if anyone has suggestions on how to make the menu sticky and possibly have the head image shrink on scroll. I looked at a few plugins but didn’t seem to work just right.

    I did use siobhyb’s suggestion and changed my CSS to hide the logo on all pages except the homepage.

    Always looking for more I guess. ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi @pvantienen,

    I’m glad the theme’s working well for you!

    Do you have an example of a site that behaves in the way you described? (With the header image shrinking on scroll.) I’m not completely sure if I understand what you’re after but, from the face of it, the changes you’re trying to make sound pretty advanced and may go beyond the scope of support that this forum is intended for.

    If you can share a link to your site and clarify the behaviour you’re trying to achieve (preferably with examples) then I’ll be happy to see how I can help, though.

    Thread Starter pvantienen

    (@pvantienen)

    Sure, thanks! I suspect it may be too much work for this theme, there is another theme that has exactly what I am looking for, but I don’t need all the bells and whistles of that theme. ??

    Here is my site: https://www.pickeringkarate.ca

    Here is a demo of a theme with the nav that I really like.

    https://www.kriesi.at/themedemo/?theme=enfold-overview

    Thanks!

    Thanks so much for clarifying, @pvantienen. ??

    Give the following custom CSS a try to see if it gets your menu to look the way you want it to:

    @media screen and (min-width: 1281px) {
        header#masthead {
            position: fixed;
            width: 100%;
            left: 0;
            top: 0;
            background: #fff;
            padding: 24px 165px 0;
        }
    }

    The above will fix the menu to the very top of your site on devices that are 1281px in width or larger.

    Hope it helps!

    Thread Starter pvantienen

    (@pvantienen)

    Thanks! it’s getting closer. I do like the effect but it now seems to be covering some of the page below. I change the background colour to transparent just so I can see just how much.

    Any suggestions?

    Much appreciated.

    Adding a margin-top of 127px (the height your navigation takes up) to your main #content area should resolve that:

    @media screen and (min-width: 1281px) {
        header#masthead {
            position: fixed;
            width: 100%;
            left: 0;
            top: 0;
            background: #fff;
            padding: 24px 165px 0;
        }
    
        #content {
            margin-top: 127px;
        }
    }

    Hope that’s helps!

    Thread Starter pvantienen

    (@pvantienen)

    Fantastic! Thanks!

    You’re most welcome. ?? Feel free to start a new thread if any extra questions come up.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Sticky menu, resizing header image’ is closed to new replies.