Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1163932
    ZenXMed
    Participant

    Hello,
    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.

    #1163933
    ZenXMed
    Participant
    This reply has been marked as private.
    #1164154
    Friech
    Moderator

    Hi 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!

    #1164682
    ZenXMed
    Participant

    It worked! 😀 Thank you so much for your quick response. Cheers, Priscilla.

    #1164830
    Prasant Rai
    Moderator

    You are most welcome. 🙂

  • <script> jQuery(function($){ $("#no-reply-1163932 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>