Tagged: x
-
AuthorPosts
-
March 29, 2016 at 7:40 am #856740
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.
March 29, 2016 at 9:10 am #856860Hi 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 🙂
March 29, 2016 at 7:24 pm #857730It has worked,
Thank you!
March 29, 2016 at 10:49 pm #858009You are most welcome. 🙂
-
AuthorPosts