Brandijoan Posted January 2, 2020 Share Posted January 2, 2020 Hi there, Is there any way that I can change my logo per page while using the avenue template? Thanks in advance! Brandi Link to comment
tuanphan Posted January 3, 2020 Share Posted January 3, 2020 You can do this with custom CSS or custom JavaScript. Avenue demo has no logo to check. If you can share site to your site, it will be better. Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Brandijoan Posted January 3, 2020 Author Share Posted January 3, 2020 @tuanphan Thank you for your response! my site is https://www.brandijoan.com Link to comment
ZellyDunsay Posted January 4, 2020 Share Posted January 4, 2020 I'm actually dying to know as well. I love the template, but I need just some some pages with a different logo, and background color. Link to comment
tuanphan Posted January 5, 2020 Share Posted January 5, 2020 On 1/4/2020 at 1:05 AM, Brandijoan said: @tuanphan Thank you for your response! my site is https://www.brandijoan.com add to Page Settings > Advanced > Header <script> $("#logo img").attr("src", "https://beaverhero.com/wp-content/uploads/2019/06/trees-3464777_640-min.jpg") </script> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Brandijoan Posted January 6, 2020 Author Share Posted January 6, 2020 Doesn't seem to be working? Link to comment
tuanphan Posted January 6, 2020 Share Posted January 6, 2020 11 hours ago, Brandijoan said: Doesn't seem to be working? Which page did you insert? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Brandijoan Posted January 6, 2020 Author Share Posted January 6, 2020 I tried inserting the code on the homepage and this page https://www.brandijoan.com/#/the-lorenzo-dress/ Link to comment
tuanphan Posted January 7, 2020 Share Posted January 7, 2020 6 hours ago, Brandijoan said: I tried inserting the code on the homepage and this page https://www.brandijoan.com/#/the-lorenzo-dress/ maybe missing a character, try again with this code <script> $("#logo img").attr("src", "https://beaverhero.com/wp-content/uploads/2019/06/trees-3464777_640-min.jpg"); </script> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Brandijoan Posted January 7, 2020 Author Share Posted January 7, 2020 Still not working - could it be because I have the code bellow inserted into my code injection? <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script> <div class="logoload"></div> <script> $(function() { var loadLogo = $('header').find('img').attr('src'); $('.logoload').css('background-image', 'url(' + loadLogo + ')'); }); </script> <style> .logoload { background-color: #eddad4; background-size: 150px; position: fixed; left: 0px; top: 0px; width: 100%; height: 100%; z-index: 9999; background-position: center; background-repeat: no-repeat; } </style> <script type="text/javascript"> $(window).load(function() { $(".logoload").delay(700).fadeOut("slow"); }) </script> Link to comment
tuanphan Posted January 7, 2020 Share Posted January 7, 2020 Add to Page Settings > Advanced > Header <style> #logo img { visibility: hidden; } #logo h1.logo a { background-image: url(https://beaverhero.com/wp-content/uploads/2019/06/trees-3464777_640-min.jpg); background-size: contain; background-repeat: no-repeat; background-position: center; display: block; height: 100%; } </style> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Brandijoan Posted January 7, 2020 Author Share Posted January 7, 2020 It worked! Thank you SO much! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.