• Hi, I’m setting up WooCommerce, and when I add a product image, it then also becomes the header image. I don’t like the way the “featured image” works, and for the rest of the site I have a different page template that doesn’t use the featured image concept. Is there any way to point WooCommerce to use this template, or, ideally, have no header image at all (just the navigation bar) on my product pages please?
    I have tried a few things like
    .single-post .custom-header {
    display: none !important;
    }
    and
    .page-id-516 .custom-header {
    display: none !important;
    }
    but to no avail… Thank you in advance ??

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • I think this is what you’re looking for

    .single-product .custom-header {
    	display: none;
    }
    Thread Starter feralhipichik

    (@feralhipichik)

    Thanks (@jarretc) you’re a legend! The only trouble I’m having is that a small part of the top of the page is now sitting behind the navigation bar… Is there some way to move it down the page a fraction? Thanks!

    Yes, try this

    .single-product .site-content {
    	margin-top: 85px;
    }
    Thread Starter feralhipichik

    (@feralhipichik)

    Awesome, thank you!! Wish you a perfect weekend ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WooCommerce featured image on product page’ is closed to new replies.