Top Bar Missing on Mobile and Child Theme Question

This topic has 10 replies, 4 voices, and was last updated 7 years, 2 months ago ago by Amzy Leel

  • Avatar: Marion2318
    Marion2318
    Participant
    September 14, 2017 at 19:26

    1) Hello, we have a top bar with some menu items and our social icons and on the mobile version it is missing. I can’t seem to find a setting in the Theme Option that will allow that to display on mobile.

    2) I was given some code to fix a Wholesale form / quantity issue and it was added to functions.php, but I want to add it to the Child Theme so I can safely update the Parent theme to the latest version. I’ve uploaded the child theme but when I activate it, although the site looks correct on the home page, when I click to any other page, the page is blank. Is there additional documentation on how to get the Child Theme to work correctly?

    Thank you for any help.

    9 Answers
    Avatar: amzy
    Amzy Leel
    Participant
    September 15, 2017 at 06:40

    Hi,

    Let us know your wp-admin login details to check this

    Avatar: Marion2318
    Marion2318
    Participant
    September 15, 2017 at 12:46

    Thank you!

    Please, contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 18, 2017 at 09:31

    Hello,

    1. There is no such option but you may add this code in Theme Options > Styling > Global Custom css:

    @media only screen and (max-width: 1030px){
    .top-bar {
        display: block !important;
    }
    .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 {
        display: none;
    }
    .top-links ul {
    
        float: none;
    }
    .languages-area>div:first-child {
        border: none;
        padding-right: 0;
        margin-right: 0;
    }
    }

    2. Did you already add own code into the child theme? Please try to remove that.
    https://codex.wordpress.org/Child_Themes

    Regards

    Avatar: Marion2318
    Marion2318
    Participant
    September 19, 2017 at 16:11

    Thank you Rose, that fixed the topbar from not displaying, although it’s only showing the left side of the top bar and not the links over on the right. But maybe there is not enough room for the others to show anyway. But thank you. I will revisit the child theme issue and see if I can get it to work again.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    September 19, 2017 at 17:01

    Hello,

    It’s possible to show right top bar widget area using additional custom CSS but don’t you think that top bar will be too large http://prntscr.com/gn3r2i ?

    Regards

    Avatar: Marion2318
    Marion2318
    Participant
    September 19, 2017 at 17:21

    Yes, it’s a lot to show but the shopping cart button is important to be able to see when shopping on mobile, so that’s why I asked.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    September 20, 2017 at 12:53

    So, do you need only shopping cart or all the content that right top bar has? Provide me temporary admin panel access to your site to add the new custom styles.

    Regards

    Avatar: Marion2318
    Marion2318
    Participant
    September 22, 2017 at 00:31

    I just revisited the site on mobile and when you click on a shopping page, it DOES add the cart icon to the title bar, below the top bar, so I think we are okay. I thought it was only visible in the green top bar, but it shows below on the shopping pages. Thank you, I think this will be fine. Thanks for your quick reply.

    Avatar: amzy
    Amzy Leel
    Participant
    September 22, 2017 at 05:16

    You are welcome.

    DO not hesitate to ask if you have any other questions (in new topic / post)

    Regards,

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

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

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