Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #230762

    I’d like to change the logo when the navigation is fixed (header-scrolled class).

    How can I go about doing this?

    #230764

    Also, I can’t seem to center my alternative responsive logo using this method:

    @media only screen and (max-width: 767px) {
    .responsive .logo {
    background: url('http://ksha.com/KSHA_logo_mobile.png') no-repeat;
    position: relative;
    }
    
    .responsive .logo img {
    margin: 0 auto;
    display: none;
    }	
    }

    I can only add padding, but how can I make it center?

    #230791

    Hey!

    Please try following code to center your logo

    div .logo { left: 35%; }

    To change the logo when scrolled, You are going to need to hire a freelance developer on Microlancer or Codeable for that kind of customization as it is beyond the scope of support we can provide. You can also request quote here.

    Cheers!
    Yigit

    #230792

    Thanks! No clues for me at all on the header-scrolled?

    #230794

    Hi!

    You can add your second logo in Header.php file within a div with a class and add custom CSS code such as following to Quick CSS

    .your-logo { display: none; }
    .header-scrolled .your-logo { display: block; }

    Using that class you can add animations for smoother transition

    Cheers!
    Yigit

    #230799

    Perfect! Thank you so much.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Alternate Logo for Fixed Navigation’ is closed to new replies.