Changing search background for all pages

3 Commentaires

  • Madison Davis
    Zendesk Community Team

    Hi Dawn! The good news is this is a relatively easy change as far as custom coding to your theme goes :) 

    In the home_page.hbs file you'll see some lines of code at the top that reference the hero image (the background behind the search bar) and the search bar itself:

    Copy those lines of code and paste them into the pages where you want them to appear (i.e. article_page.hbs, section_page.hbs, category_page.hbs). 

    0
  • Dawn Anderson

    Hi Madison 

     

    Thanks for this! Great help! If I wanted to do the below, what changes would I need to make please?

    • Have a different image displayed for sections?
    • Have different wording on the image (figured out how to get the wording on the main box but want to change this when the customer enters a section so they know which section they are)

    Regards

    Dawn

    0
  • Madison Davis
    Zendesk Community Team

    Hey Dawn! For your first question, it looks like Ifra Saqlain outlined how to use a different hero image on the category page here: https://support.zendesk.com/hc/en-us/community/posts/360037392353-How-do-you-display-Banner-image-from-hero-unit-only-on-Home-Page- You would want to do the same but for your section page. 

    For your second question, could you clarify? Are you just looking to display the section title overlaid on top of the hero image? 

    0

Vous devez vous connecter pour laisser un commentaire.

Réalisé par Zendesk