• Home
  • WordPress Themes
    • eCommerce
    • Corporate
    • Multipurpose
    • Blog
  • Support
    • WoodMart support
    • Basel support
    • Space support
  • Documentation
    • WoodMart
    • Basel
    • Hitek, Luman, Antares
  • Demo
    • WoodMart
    • Basel
    • Hitek
Login / Register
Checkout
Checkout
Menu

Home / Forums / Basel support forum / Custom sticky header?

Home › Forums › Basel support forum › Custom sticky header?

Custom sticky header?

  • This topic has 5 replies, 2 voices, and was last updated 6 years, 9 months ago by Artem Temos.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • June 1, 2016 at 3:51 am #1148

    cruzcycling
    Participant

    Hi guys,

    I was just wondering whether it was possible to change the design of the sticky header, to be different to the header we’ve applied to the website.

    Currently we’re using the ‘Logo centre’ header, with our standard company logo up top. We’d like for that logo to change to another one of our logos (and centre align it too) in the sticky header. Please advise as to whether this is possible and how we could achieve this. Thank you very much for your time.

    Regards,
    Dominic

    June 1, 2016 at 5:16 pm #1153

    Artem Temos
    Keymaster

    Hello,

    Thank you for using our theme.

    We have prepared some CSS code that may do the necessary adjustments on your web-site to make sticky header look as you want to. This part add to Custom CSS section in Theme Settings -> Custom CSS

    .sticky-header .container {
        display: flex;
        -webkit-display: flex;
        display: -ms-flex;
        justify-content: space-between;
        -webkit-justify-content: space-between;
        justify-content: -ms-space-between;
        align-items: center;
        -webkit-align-items: center;
        -ms-align-items: center;
        height: auto;
        min-height:60px;
    }
    .sticky-header .container:after,
    .sticky-header .container:before {
        content:none;
    }
    .sticky-header .right-column,
    .sticky-header .main-nav {
        width:40%;
    }
    .sticky-header .main-nav {
        order: -1;
        -ms-order: -1;
        -webkit-order: -1;
        text-align: left;  
    }
    .sticky-header .site-logo {
        width:20%;
        text-align: center;
    }
    .sticky-header .site-logo img {
        max-width:100%;
    }

    And this part add only for mobile devices

    .sticky-header .right-column,
    .sticky-header .site-logo {
        width:auto;
    }
    .sticky-header .right-column {
        flex-shrink: 0;
        -ms-flex-shrink: 0;
        -webkit-flex-shrink: 0;
        -moz-flex-shrink: 0;
    }
    June 2, 2016 at 4:39 am #1162

    cruzcycling
    Participant

    Thank you, admin!

    That worked like a charm. If you don’t mind, I have another question now that we’ve implemented the change.

    What would we have to change in the CSS to center the nav menu, and have the logo on the left side, just for the sticky header only?

    Much appreciated,
    Dominic

    June 2, 2016 at 4:00 pm #1167

    Artem Temos
    Keymaster

    Hi,

    Just remove all the code we have provided to you and logo will be on the left side with menu center. 🙂

    June 3, 2016 at 6:29 am #1180

    cruzcycling
    Participant

    Oh, right. Haha should’ve known that. Okay well I think that’s it from me for now. Thanks for all your help. You can go ahead and mark this thread as solved. Have a good one!

    Regards,
    Dominic

    June 3, 2016 at 4:36 pm #1182

    Artem Temos
    Keymaster

    You are welcome, write us when you have any difficulties or issues with our theme.

    And we would be glad if you will rate our theme with 5 stars on themeforest in case you are satisfied with our theme and customer service http://themeforest.net/downloads

    Thank you in advance 🙂

  • Author
    Posts

Tagged: custom, header, layout, logo, sticky header, web design

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Custom sticky header?’ is closed to new replies.

  • You must be logged in to create new topics. Login / Register

Your request can't be resolved for a long time? Contact our general support manager.

Contact form
Recent Replies
  • tim.meulendijk on Stripe Payment Plugin conflicting with theme 5 minutes ago
  • Artem Temos on Upgrade/Downgrade Woocommerce subscription not working – Goes to empty cart 6 minutes ago
  • Artem Temos on Frequently Bought Together on multilingual website 7 minutes ago
  • Artem Temos on Stripe Payment Plugin conflicting with theme 10 minutes ago
WoodMart 7.1
Create your WordPress website.
  • Resources
    • Video tutorials
    • Blog
    • Contact us
    • Refund Policy
    • Terms of Service
  • Social links
    • Facebook
    • Twitter
    • Instagram
    • YouTube
    • Telegram

@ XTemos studio. 2022   WordPress development from 2015.

Privacy Policy

  • Home
  • WordPress Themes
    • eCommerce
    • Corporate
    • Multipurpose
    • Blog
  • Support
    • WoodMart support
    • Basel support
    • Space support
  • Documentation
    • WoodMart
    • Basel
    • Hitek, Luman, Antares
  • Demo
    • WoodMart
    • Basel
    • Hitek
  • Login / Register

Sign in

close

Lost your password?

No account yet?

Create an Account