Support » Themes and Templates » Percentage height not working.

  • Resolved MangledLollipop


    On my site, I’m trying to make the View Cart/Check Out link a % height. I’ve tried doing it on 4 different divs and it doesn’t seem to be working. I’ve also tried adding position:absolute and position:relative which failed to solve my issue as well.

    Any suggestions are welcome!

Viewing 6 replies - 1 through 6 (of 6 total)
  • esmi


    Forum Moderator

    Right now you can’t target that link and apply specific CSS as it doesn’t have a unique class or id.

    Ok. I made a class for it and updated my CSS. It’s still not working. =[



    Forum Moderator

    There’s still no unique class in that link. Only the same “menu” class that’s on all of the links.

    I think I worded it wrong. I’m trying to change the height of the View Cart/Checkout page, not the link. The link is fine the way it is. If you do not add an item to the cart and click on the View Cart/Checkout link, the page is all smooshed and says “Oops, there is nothing in your cart. Please visit our shop” and the navigation sidebar covers and goes past the left hand side of the footer.

    If I set an actual height, the content on the page, after an item is added, goes below the footer and doesn’t look all that hot. Which is why I want to use a percentage. Unless there is another method.

    Sorry if I confused you, I’m very new to this.

    Remove height:90%; and margin-left:20px; from .checkout and height:auto; plus position:absolute; from #menu

    Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Percentage height not working.’ is closed to new replies.