Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #856740

    Pablo F
    Participant

    Hi,

    As you can see at http://www.adagiodistribucion.es/hk-audio I have set up a custom logo (each brand shows its own logo), with this code in the JS Cornerstone customizer:

    jQuery(".page-id-864 .x-brand img, .single-post .x-brand img").attr("src","http://www.adagiodistribucion.es/media/hk-audiologo.png");
    jQuery(".page-id-864 x-topbar-inner,.x-container,.max width.p-info").attr("src","http://www.adagiodistribucion.es/media/hk-audiologo.png");
    jQuery(document).ready(function($){$(".page-id-864 a.x-brand").attr("href", "http://www.adagiodistribucion.es/hk-audio");});

    How can I manage the height of the logo to fit the height of the navigation section?

    Thank you.

    #856860

    Thai
    Moderator

    Hi There,

    Please try adding the following CSS:

    .page-id-864 .x-brand,
    .single-post .x-brand {
        margin-top: 0;
    }
    .single-post .x-brand img,
    .page-id-864 .x-brand img {
        height: 80px;
        width: auto;
    }

    Hope it helps 🙂

    #857730

    Pablo F
    Participant

    It has worked,

    Thank you!

    #858009

    Prasant Rai
    Moderator

    You are most welcome. 🙂