Display Top Bar on Mobile - by BHI - on WordPress WooCommerce support

This topic has 2 replies, 2 voices, and was last updated 5 years, 10 months ago ago by Rose Tyler

  • Avatar: bluehiveinteractive
    BHI
    Participant
    May 31, 2018 at 23:11

    Could you tell me how I can display the top bar on mobile?

    I realize on some site there would be a lot of content in and it wouldn’t look right, but we just want to show whats in the widget section for Top Bar Left – which is phone and 1 link. We would hide the right top bar widget area still (newsletter and social media)

    We can re-style with css as needed, but just need help figuring out how to get it to display on mobile in the first place.

    Thanks

    Please, contact administrator
    for this information.
    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 1, 2018 at 07:59

    Hello,

    You can use this code to show the top bar on mobile:

    @media only screen and (max-width: 1030px){
    .top-bar {
        display: block;
    }
    .top-bar .languages-area {
        display: block;
        max-width: 100%;
        text-align: center;
        width: 100%;
        float: none;
    }
    .top-bar .top-links .topbar-widget {
        display: inline-block;
    }
    .top-bar .top-links {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }
    .top-links ul {
    
        float: none;
    }
    }

    Regards

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.