Site logo

[Resolved] Replace my site logo with a different one on a specific page or category

Home Forums Support [Resolved] Replace my site logo with a different one on a specific page or category

Home Forums Support Replace my site logo with a different one on a specific page or category

Viewing 4 posts - 16 through 19 (of 19 total)
  • Author
    Posts
  • #2289868
    Michelle

    I added both sets of code into Snippets, hit “apply”, cleared my cache, and looked at the page. Nothing changed. The urls of the logo and the sticky header did not go to the url I replaced google.com with.

    I also re-enabled Primary Navigation. The mobile became no longer sticky, and tablet and desktop remained unsticky. When I disabled the Primary Nav again, the mobile sticky showed.

    #2289944
    Ying
    Staff
    Customer Support

    1 snippet is using 6619 as the ID, and the other two are using 1431 as the ID, can you make sure the IDs are correct?

    And try replace the ‘generate_retina_logo’ with 'generate_retina_logo' in the snippet called Replace RMW logo with DR logo on DR page.

    #2290099
    Michelle

    I changed the ID to the Category ID.

    I don’t know what you mean by this: “And try replace the ‘generate_retina_logo’ with ‘generate_retina_logo’ in the snippet”

    #2290114
    Fernando
    Customer Support

    Sorry, what Ying meant is the code I provided here: https://generatepress.com/forums/topic/replace-my-site-logo-with-a-different-one-on-a-specific-page-or-category/#post-2288057 has a slanted quotation mark which causes it not to work. This portion as mention by Ying: ‘generate_retina_logo’. The quotation marks are slanted as opposed to being straight.

    I corrected it now. Can you replace the current code you have in Replace RMW logo with DR logo for DR archive category with that?

Viewing 4 posts - 16 through 19 (of 19 total)
  • You must be logged in to reply to this topic.