Tagged: x
-
AuthorPosts
-
July 14, 2016 at 12:04 pm #1087094
GDBEParticipantHi there, I would like to use an alternate logo for the blog page only. I have tried custom css using the page ID and that did not work. I also tried a custom _brand.php page using this code here: `if(is_blog()) {
$site_logo = ‘<img src=”http://ashlandhealthrx.com/wp-content/uploads/2016/07/TBR-LOGO.png” alt=””>’;
}`and it threw an error, I guess it doesn’t like the is_blog statement?
Any ideas?Thank you!
July 14, 2016 at 12:04 pm #1087095
GDBEParticipantThis reply has been marked as private.July 14, 2016 at 3:57 pm #1087438
Nabeel AModeratorHi there,
Thanks for writing in! Please add the following jQuery script in your Customizer via Appearance > Customize > Custom > Edit Global Javascript
jQuery(document).ready(function($){ $(".blog .x-brand img").attr("src", "http://ashlandhealthrx.com/wp-content/uploads/2016/07/TBR-LOGO.png"); });Change the image URL in the above code. Don’t forget to clear your browser’s cache after adding the code. Let us know how this goes!
July 15, 2016 at 9:22 am #1088543
GDBEParticipantGot it to work. I did the change yesterday. Is there a way instead of doing this, to replace the navigation text for the blog with the logo?
Thank you!
July 15, 2016 at 2:39 pm #1088982
Nabeel AModeratorHi again,
Regretfully, at this time I am not entirely certain what it is you would like to accomplish based on the information given in your post. If you wouldn’t mind providing us with a little more clarification on what it is you’re wanting to do (a link to a similar example site would be very helpful, or perhaps some screenshots), we’ll be happy to provide you with a response once we have a better understanding of the situation.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1087094 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
