Center Logo in header - by lisamarie - on WordPress WooCommerce support

3 replies2 participantsUpdated by Eva Kemp

  • Avatar: lisamarie
    lisamarie
    Participant

    Hello,
    I have read through the theme comments on the shop page. Someone asks how to centre their logo in the header. The reply was through css and that it is in the forum. I have looked through the forum and have not been able to find it.

    I was wondering if it might be possible if you could please provide me with the css. code so I can centre my logo in the header

    Sincere Regards,

    Please, contact administrator
    for this information.

    3 Answers

    Avatar: Eva
    Eva Kemp
    Participant

    Hello,

    Please try to use this code in custom.css file:

    .logo img {
     margin-left: 90%;
    }

    To create custom.css you need rename default.custom.css to custom.css in wp-content/themes/blanco directory via FTP and enable it in Blanco – Theme Settings, tick “Enable Custom CSS file”.

    Regards,
    Eva Kemp.

    Avatar: lisamarie
    lisamarie
    Participant

    thank you Eva 🙂
    It works on my desktop, However it has moved over in the mobile view and is no longer above the rest of the website info. Can you provide me with the necessary step to have it over the content for a mobile?

    Sincere Regards,

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Participant

    Hello,

    Please add this code in custom.css file:

    @media (max-width: 480px) {.logo img {
        margin-left: 0;
    }}

    Regards,
    Eva Kemp.

Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.

Login / Register