Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1273579
    lholcomb
    Participant

    Hello, I found in the forum where you can add a custom logo to one specific page with this code:

    jQuery(".home .x-brand img").attr("src","YOUR_WHITE_LOGO_IMAGE_URL_HERE");

    Is .home simply replaced with the page title? I tried that and can’t seem to get that work.

    #1273593
    Nabeel A
    Moderator

    Hi there,

    Thanks for writing in! In the above code .home is the class name of the home page, If you need to do it on a page other than home than you’ll need to find the Page ID first and replace it with .home You can go through this article to find out page Id’s https://community.theme.co/kb/how-to-locate-post-ids/ and then you can use it like this:

    jQuery(".page-id-312 .x-brand img").attr("src","YOUR_WHITE_LOGO_IMAGE_URL_HERE");

    Note that page-id-312 is the page ID.

    Hope this helps!

    #1273598
    lholcomb
    Participant

    Great, thanks! I will give that a go!

    #1273607
    Jade
    Moderator

    You’re most welcome.

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