Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #941068

    I was having a problem with no padding before my logo in the header. I added some css from the forum and this worked great on desktop view but not on the smaller devices. I’ve tried some other device based css to try and sort this but I can;t get it to work. Its fine on the tablet and mobile views on Customise but not on desktop. The code I am using is:

    */
    PADDING ABOVE LOGO THAT IS DEVICE SENSITIVE
    https://kriesi.at/support/topic/logo-spacing-above-and-below-logo-in-header/

    /*

    @media only screen and (min-width:1024px) {
    .header-scrolled .logo img {
    padding-top: 0;
    }
    .logo img {
    padding-top: 24px;
    }

    Thanks

    #941294

    Hey ehdavies,

    Please try the following in Quick CSS under Enfold->General Styling:

    .logo img {
        padding-top: 20px !important;
    }

    Best regards,
    Rikard

    #942146

    Hey Rikard. Thanks for looking at this. It works on desktop, laptops – but Its not doing what I want on all screen sizes. On tablets and mobiles, when I use the Customise view option the logo is, the logo is not centred horizontally on the burger menu. Can you provide some more advice please. Thanks Huw

    #942389

    Hi,

    Please try this as well:

    @media only screen and (max-width: 767px) {
    .logo img {
        padding-top: 0 !important;
    }
    }

    Best regards,
    Rikard

    #942442

    Thats fixed it Rikard – many thanks!

    Huw

    #942911

    Hi,

    Great, glad we could help. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #942912
    This reply has been marked as private.
    #942963

    Hi,

    Sure thing. Glad we could help!
    Please take a moment to review our theme and show your support https://themeforest.net/downloads
    To know more about enfold features please check – http://kriesi.at/documentation/enfold/
    Thank you for using Enfold :)

    Best regards,
    Ismael

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Logo position changing with screen size’ is closed to new replies.