Centering Responsive Logo in Header

Home Forums Jevelin Theme Centering Responsive Logo in Header

Home Forums Jevelin Theme Centering Responsive Logo in Header

This topic contains 3 replies, has 2 voices, and was last updated by  Shufflehound Support 1 month ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • wingman
    Participant

    Hello,

    Trying to center the logo within the header, using header template 9. Looks like classes – sh-header-mobile-navigation tie the logo, cart icon & drop down together. Is there a way to assign a separate class to let logo respond to margin (auto, 0) type of styling?

     

    Thanks!

    Hi @wingman,

     

    I hope you are well today and thank you for your question.

     

    In the header template 9 the logo is by default displayed in the centre as displayed on the below page.

     

    https://jevelin.shufflehound.com/header/ninth-heade/

     

    Could you please share me your site URL where it is not displaying so that i can help you to centre align it?

     

    Best regards,
    Shufflehound team

    wingman
    Participant

    Hello,

    Sure… http://wingmanfx.com. It is centered nicely on desktop, however reponsive sizes push the logo to the left. ¬†Would like to center logo only, as if entire class centers, it centers the drop down, shopping cart icon & logo as a whole…

     

    Thanks!!

    You have to develop custom Code to centre align it on mobile devices.

    You can make it a bit centre aligned by adding the following CSS code in the Custom CSS code option of your theme on the below path but for more accurate result you have to develop more custom code.

     

    Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code

     

    .sh-header-mobile-navigation .sh-table-cell.sh-group .header-logo {
        float: right;
    }

     

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