• Resolved Walton

    (@walton)


    I have a site that uses WooCommerce. I’m trying to customize pages that are created from product attributes. So, I have a product attribute “writer” (I sell books) and I’ve created archive pages for them, such as:

    https://www.alphabetpublishingbooks.com/writer/cristian-spiteri/

    If you go to that page, there’s a huge space where my theme would normally put a header image. I’m trying to either add a custom header image or get rid of the header image space. Is there any way to target all pages with the attribute “Writer” in CSS? Or ideally, if I could put a different header on each writer’s page, that would be amazing. I don’t see any unique tags in there to help me.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support RK a11n

    (@riaanknoetze)

    Hi there,

    While we don’t know how you’ve gone about customising those pages, the easiest way to hide that section would be to use the following custom CSS in your settings under Appearance > Customize > Additional CSS:

    
    #page-site-header {
      display: none;
    }
    

    Ideally one would narrow that CSS down to just specific pages but there’s no unique classnames in the body tag, which means the CSS above will be applied site-wide.

    Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Customizing Archive Pages’ is closed to new replies.