• salam lisa

    (@salam-lisa)


    Hi there,

    just wondering if this theme can adjust the size of the header height in woocommerce plugin. because when the page goes on cart page the header looks so big and it takes alot of space where customer has already seen the header page before in home page and they might want to see the price and buy the product. so basically what i want is hide the header image in cart page and make it visible in other pages. hope this is clear for you

    thanks
    lisa

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi Lisa

    You should be able to do this with CSS by using the page id and display:none .

    If you post a link to your site we can suggest the exact code you’ll need.

    I hope that helps!

    Luke the Daft Duke

    Thread Starter salam lisa

    (@salam-lisa)

    does that mean in CSS i have to add .page and then whatever the page id no. is and { display: none;} am i right
    sorry my site is not live

    I’m using woocommerce plugin and there is a cart page where i don’t want to see the header height at all
    so please let me know how I would do it

    thanks
    lisa

    Yes, so first you would have to find the page-id of the cart page and then target the header.

    Similar to this:

    .page-id-1 header {
      display:  none;
    }

    ??

    Thread Starter salam lisa

    (@salam-lisa)

    does this CSS go in twentyfourteen theme or woocommerce plugin CSS

    Thread Starter salam lisa

    (@salam-lisa)

    I got it where it goes. but it removes the navigation buttons and I want to make banner to be invisible in cart page id

    Thread Starter salam lisa

    (@salam-lisa)

    I mean banner with logo should be invisible

    Thread Starter salam lisa

    (@salam-lisa)

    not navigation buttons

    Thread Starter salam lisa

    (@salam-lisa)

    never mind I fixed it

    thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘height of the header’ is closed to new replies.