Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • jmmartinromero Friend
    #985245

    Hi,

    I want to center my logo on the top as the attached image indicates, but only when the resolution of the screen is less than 992px.

    How can I do?

    Thank you.

    Regards.


    1. centrar_logo
    pavit Moderator
    #985251

    Hi

    Add to your custom.css file this

    @media (max-width: 991px) {

    .logo-image a {
    margin-left:70px;
    }
    }

    Hope it helps


    1. Screenshot-at-nov-10-17-59-07
    jmmartinromero Friend
    #985283

    Hi,

    But it is not responsive!

    Please something better. I prefer reponsive.

    Thank you.

    Regards.

    pavit Moderator
    #985779

    Please something better. I prefer reponsive.

    Hi there

    You can set margins for all widths using

    @media (max-width: 480px) and (min-width: 320px) {
    .logo-image a {
    margin-left:70px;
    }
    }
    
    @media (max-width:768px) {
    .logo-image a {
    margin-left:70px;
    }
    }
    
    @media (max-width: 991px) {
    .logo-image a {
    margin-left:70px;
    }
    }

    and change margins values for each resolution –

    Regards

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

This topic contains 3 replies, has 2 voices, and was last updated by  pavit 7 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum