How to change each Product category header (Banner)

Comments

  • Hello,
    Unfortunately, that's not possible.
    You would have to change that with CSS or by the theme files customization.
    To change that with CSS, you have to "catch" the id of page and replace the header_wrapper's background image with your new image.
    Thanks
  • can you show me the example 
  • Sure, you have to catch the element by body tag and id of it, see screen: http://prntscr.com/olvyli
    (In archive pages, it's named term, not page-id)

    And then, find the element where the background image appear, in your case it's the #Header_wrapper and create a CSS for it.
    Like this:
    body.term-21 #Header_wrapper{background-image:url(...)}

    Remember, that all CSS code should be pasted in the Theme Options > Custom CSS & JS >CSS
    If you don't know the CSS rules, you should take a look at the W3Schools tutorials.
    HTML and CSS basics are really friendly ;)
    Thanks
  • Hi Pablo, 

    I have almost the same request. 
    Still no easier option to change the subheader image of a product category and a single product site? very cumbersome is that the subheader image has to be changed for each product page also. 

    Could you please check... 
    for example.
    This is the site for category Birds

    when you click on the button "see other products" than you get to the product category

    and if you click on a product you get to the single product and here there is no term id. 

    it would be great if i can use for each category the same image, else the user get confused. 

    would be great if you could build this option in a new update.  
    what do you think does it make sense? 
    i think it would be a very useful upgrate.  

    Thank you for your feedback. 
    john
  • Every category has their own unique class, check in "body" tag:

    But, as you noticed, it is not applied in single products, and it's normal thing - items does have unique class too, but it will not inherit the name of category.
    In case of products, there will be post-id type:

    Thanks


Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.