[Support request] Center the logo on certain pages

Home Forums Support [Support request] Center the logo on certain pages

Home Forums Support Center the logo on certain pages

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1097250
    Kim

    Hi, we want to center the logo on some pages (“Woocommerce My Account” for example), by default it’s on the left. Is this somehow possible?

    Many thanks in advance 🙂

    #1097315
    Leo
    Staff
    Customer Support

    Hi there,

    Where would the navigation go?

    #1097848
    Kim

    On these Pages there would be no navigation.

    #1097868
    David
    Staff
    Customer Support

    Hi there,

    Woocommerce adds specific classes to the body for example:

    .woocommerce-account .inside-header {
        text-align: center;
    }
    .woocommerce-account #site-navigation {
        display: none;
    }

    If you wanted to target the checkout then the selector is .woocommerce-checkout so this would apply to the Account and Checkout:

    .woocommerce-account .inside-header,
    .woocommerce-checkout .inside-header {
        text-align: center;
    }
    .woocommerce-account #site-navigation,
    .woocommerce-checkout #site-navigation {
        display: none;
    }
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.