Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1081617
    JW & Co.
    Participant

    Hello!

    I am trying to slide the background image on the home page of homeandhealthy.joshuaweatherstone.com up under the topbar. I would like the navbar to be on top of it. Suggestions?

    Thanks,
    Josh

    #1081774
    Joao
    Moderator

    Hi Josh

    Please add the following code to Appereance Customizer Custom CSS

    
     .x-navbar {
                position:absolute;
                width:100%;
                background-color:transparent !important;
                box-shadow: none;
                border: 0;
           }
           body.x-navbar-fixed-top-active .x-navbar-wrap {
                height: auto;
           }

    Hope it helps

    Joao

    #1081864
    JW & Co.
    Participant

    Hello,

    Sorry I did not communicate very well. I would still like the navbar to be blue and on top of the photo, but I want the top of the photo to replace the white topbar. So the order is this:
    1. Topbar is actually the top of the image peeking above the navbar.
    2. Navbar stays as is on top of the image.
    3. Image continues below.

    Is what I want more clear now?
    Josh

    #1082050
    Joao
    Moderator

    Hi There,

    I think in that case the easiest would be to cut a slice of the top of the picture and use as a background image on the topbar.

    Just add the following code to Appereance Customizer Custom CSS:

    .x-topbar {
    background-image: url(http://homeandhealthy.joshuaweatherstone.com/wp-content/uploads/2016/07/Stay-Independent.jpg);
    }

    Hope that helps

    Joao

    #1083151
    JW & Co.
    Participant

    Works beautifully! You’re a genius.

    Thanks,
    Josh

    #1083375
    Jade
    Moderator

    You’re welcome Josh.

    #1083581
    JW & Co.
    Participant

    I spoke too soon! Is there a way to apply this effect only to the home page topbar?

    Thanks,
    Josh

    #1083747
    Joao
    Moderator

    Hi Josh!

    Are you taking back I am a genius ? Ah Josh you hurt my feelings :p lol 🙂

    Josh please try this code instead:

    .home .x-topbar {
    background-image: url(http://homeandhealthy.joshuaweatherstone.com/wp-content/uploads/2016/07/Stay-Independent.jpg);
    }

    Hope that helps

    Joao

    #1084846
    JW & Co.
    Participant

    Joao,

    I never doubted that you were a genius. 😉 Thanks – this works!

    Josh

    #1084985
    Joao
    Moderator

    Hi Josh! 😀

    Let us know if you need help with anything else.

    Joao

  • <script> jQuery(function($){ $("#no-reply-1081617 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>