-
AuthorPosts
-
October 13, 2018 at 3:17 am #1020919
Hello,
When in the theme’s general styling, in the main menu and header tabs the Enfold logo is Visible. Is there a way to replace this logo with another?
October 13, 2018 at 3:24 am #1020921Hey bobfurgo,
The default logo will be deactivated when you upload your own logo.
Upload a blank png to disable the default logo.
You can also try adding the below CSS to hide the logo
.logo { display: none; }
Hope this helps :)
Best regards,
VinayOctober 13, 2018 at 3:27 am #1020924Hi Vinay! Thanks for the quick response. I’m actually talking about the logo in the main menu and header tabs within the wp backend in the theme’s general styling.
October 13, 2018 at 2:10 pm #1021050Hi,
Try going to this folder in your theme and replacing the image with your own that is the same size./enfold/images/layout/logo_modern.png
Best regards,
MikeDecember 20, 2019 at 8:59 pm #1168321thanks! is there a way to add something to child theme’s php so it doesn’t get overwritten with updates? Also i uploaded it and replaced the older file but nothing happened. it still shows the enfold logo in the header and main menu area when looking at theme settings
- This reply was modified 5 years ago by bobfurgo.
December 21, 2019 at 12:27 am #1168358Hi,
I couldn’t login because I don’t have the .htaccess password but I was able to download your “logo” via ftp, I assume it was not working for you due to caching? Anyways I wrote this script for your child theme to replace the theme panel demo logo, the script only fires in the WordPress admin panel. You will need to upload your image somewhere safe like the media library and change the url in the script, then add the script to your child theme functions.php file in Appearance > Editor:function custom_pr_logo(){ ?> <script> (function($){ $(document).ready(function(){ $("#wpbody-content #pr-logo").attr("src","http://test.test/wp-content/uploads/2019/12/logo_modern.png"); }); })(jQuery); </script> <?php } add_action('admin_head', 'custom_pr_logo');
Then clear your browser cache and any cache plugin, and check.
Best regards,
Mike -
AuthorPosts
- You must be logged in to reply to this topic.