Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1422278

    xdalex09
    Participant

    Hi there,

    I’m trying to center shiftnav bar logo as in attached image. Could you help?

    Thanks.

    #1422279

    xdalex09
    Participant
    This reply has been marked as private.
    #1422607

    Prasant Rai
    Moderator

    Hello There,

    Thanks for writing in1

    Your screenshot is not uploaded due to our file-size limit of 512KB.

    Thanks.

    #1425728

    xdalex09
    Participant

    Re-uploaded. Please check.

    #1425730

    xdalex09
    Participant

    I need to fit the logo within the toggle bar horizontally and vertically. I think this requires padding and scaling image.

    #1425993

    Rahul
    Moderator

    Hi There,

    Thanks for writing in!

    Please use the custom CSS code. You can add this under Custom > CSS in the Customizer.

    #shiftnav-toggle-main.shiftnav-toggle-main-align-center .shiftnav-main-toggle-content {
        width: 87%;
        left: 44px;
        padding-right: 58px;
        top: -5px;
    }

    Let us know how it goes.

    Thanks 🙂

    #1426194

    xdalex09
    Participant

    Thank you that issue was fixed!

    I have another question. I am using ubermenu for my main menu and shiftnav for my mobile menu. I had to add following code for ubermenu to ensure that content was not hidden underneath the menu:
    .masthead {
    min-height: 105px;
    }

    But now, when switching to shiftnav for mobile, I have big white space under menu. Screenshot attached.

    How can I address this?

    Thank.

    #1426240

    Jade
    Moderator

    Hi there,

    Please update the code to:

    @media (min-width: 980px) {
        .masthead {
            min-height: 105px;
        }
    }

    Hope this helps.

    #1426401

    xdalex09
    Participant

    Okay that worked perfect.

    On the previous issue, for ShiftNav, on mobile the logo is centered horizontally and vertically, but in tablet view, it does not center properly and logo goes over the top bar. Please assist, screenshot attached.

    #1426479

    Rahul
    Moderator

    Hi There,

    Thanks for writing in! Would you mind sharing the aspect ratio of the device which has this issue?

    Thank you in advance

    #1426480

    xdalex09
    Participant

    Issue exists for widths from 325 to 958px

    #1426488

    xdalex09
    Participant

    I was able to resolve by using px fix width vs. percentage. Thanks.

    #1426576

    Rahul
    Moderator

    We are happy to know that!

    Thank you for choosing X.

    Cheers!