Tagged: x
-
AuthorPosts
-
September 6, 2016 at 10:47 pm #1163932
ZenXMedParticipantHello,
The logo on all my pages are reversed white, except for the blog index page and all subsequent posts. I see that you’ve suggested in other discussions to modify the _brand.php file, but apparently I should be able to do this through CSS alone. Could you tell me how to do this? I believe the post ID is 277, and have written the following CSS in the Customizer:.page-id-277 x-brand.img {
display: block;
-moz-box-sizing: border-box;
background: url(http://zenmedical.com/wp-content/uploads/2016/09/Logo-Horizontal-Colour.png) no-repeat;
width: 300px;
height: 100px;
padding-left: 250px;
}Thanks in advance.
September 6, 2016 at 10:48 pm #1163933
ZenXMedParticipantThis reply has been marked as private.September 7, 2016 at 4:12 am #1164154
FriechModeratorHi There,
Thanks for writing in! Add this on your Custom > Global JavaScript on Customizer.
(function($) { $( ".blog .x-brand img, .single-post .x-brand img" ).attr( "src", "http://zenmedical.com/wp-content/uploads/2016/09/Logo-Horizontal-Colour.png" ); })(jQuery);Hope it helps, Cheers!
September 7, 2016 at 11:01 am #1164682
ZenXMedParticipantIt worked! 😀 Thank you so much for your quick response. Cheers, Priscilla.
September 7, 2016 at 12:38 pm #1164830
Prasant RaiModeratorYou are most welcome. 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1163932 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
