[Resolved] niche template

Home Forums Support [Resolved] niche template

Home Forums Support niche template

Viewing 7 posts - 16 through 22 (of 22 total)
  • Author
    Posts
  • #1433569
    David
    Staff
    Customer Support

    You’re welcome

    #1451794
    David

    Hi David

    When I add an item to cart, and it puts the total next to the cart item, it pushes the logo off center – what’s the best way to fix this?

    Thanks
    Dave

    #1451889
    David
    Staff
    Customer Support

    And there was me trying to be smart lol and avoid absolute positioning of the branding.
    Try adding this CSS:

    .navigation-branding, .site-logo.mobile-header-logo {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 0;
    }
    #1451924
    David

    Thanks David, I had to change it to 49.2% for the sticky logo to align up with the b icon at the bottom of the header.

    It now ignores the 10px padding I had on inside-navigation now though. Also any ideas how I can vertically align the B icon on the sticky nav? looks a bit odd having the big space underneath.

    #1452037
    David
    Staff
    Customer Support

    Try removing the top: 0; property from the CSS i provided above.

    #1452068
    David

    Thanks David 🙂

    #1452074
    David
    Staff
    Customer Support

    You’re welcome

Viewing 7 posts - 16 through 22 (of 22 total)
  • You must be logged in to reply to this topic.