-
AuthorPosts
-
March 9, 2016 at 8:43 pm #595816
I am looking to replace the logo on a few pages on my site. I know how to do this based on the link below to the normal header, but when I use the Transparent Header option within the page it defaults back to the logo I have specified in my Enfold settings for Transparent header.
How do you get this to work for both types of headers?
- This topic was modified 8 years, 9 months ago by sublime5o.
March 11, 2016 at 5:31 pm #596955I hate to do this but it is already more than 15 pages deep without any acknowledgment. BUMP.
March 15, 2016 at 11:29 pm #598692Hi!
Sorry for the late reply. That is going to be a little bit more complicated than changing normal logo. Can you please point out your page where you would like to apply this change? Changing logo with combination of sublogo could work – http://kriesi.at/documentation/enfold/add-subtext-to-logo-replace-logo-with-site-title/
Cheers!
YigitMarch 15, 2016 at 11:55 pm #598709Sure. It is actually going to be around 3-5 pages. But here is the main page in the private content below.
March 15, 2016 at 11:57 pm #598710Hi!
If you do not mind, can you please create a temporary admin login and post it here with secondary logo and secondary transparent logo you would like to use?
Regards,
YigitMarch 16, 2016 at 12:03 am #598713Here ya go.
- This reply was modified 8 years, 9 months ago by sublime5o.
March 19, 2016 at 10:31 am #600651Hi!
It’s not working because the url is still set to localhost. Please check the code.
http://localhost/bowl/wp-content/themes/tonawanda-child/images/backalleybbq-logo.png
Best regards,
IsmaelMarch 19, 2016 at 2:25 pm #600701Sorry about that. I have updated the image URL. Now it shows up but only have you scroll down the page. It should be in place the entire time.
March 25, 2016 at 6:53 am #603568Hey!
I’m sorry but I can’t reproduce the issue. Did you set the logo as the “transparency Logo”? Note that it will only display if you set the page to have a transparent header.
Regards,
IsmaelMarch 28, 2016 at 5:12 pm #603925Yes. I did give you guys wp-admin access, if you can check and see what you think.
March 29, 2016 at 4:41 am #604235Hey!
Alright. We added this code in the functions.php file:
// different logo add_action( 'wp_footer', 'ava_custom_script_logo' ); function ava_custom_script_logo() { if(is_page( array( 'back-alley-bbq', 'menu' ) ) ) { ?> <script type="text/javascript"> (function($){ var a = function() { $('.logo .subtext img').attr('src', 'http://dev.hostsites.me/bowl/wp-content/themes/tonawanda-child/images/backalleybbq-logo.png'); } a(); })(jQuery); </script> <?php } }
Remove browser cache before checking the page: http://dev.hostsites.me/bowl/back-alley-bbq/
Best regards,
IsmaelMarch 30, 2016 at 3:20 pm #605213Perfect. All set. This can be closed.
-
AuthorPosts
- The topic ‘Replace Logo on several pages (Transparent Header and normal header)’ is closed to new replies.