• Resolved nowustec

    (@nowustec)


    Hey guys,

    in the orders menu (all german) with empty orders is shown a link and a button. Hov to remove this button because shop should be invisible at all.

    Zum Shop
    is shown in console.

    The button is:

    .woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button

    Hope all data you need is given to help me out.

    Thanks in advance

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Unfortunately, I cannot see anything as I have to be logged in (is my guess). I don’t see a button on the link you gave me except a login form or register a new account form.

    However, a little bit of CSS added to the Additional CSS tab in the customizer might do the trick for you. Ultimately, if you want to hide the button (always), then you would choose the class of the element and do display: none;

    Example:

    .myclass {
    display: none;
    }

    Be careful though of what buttons you hide because the classes you listed above are global…meaning they are used in other places too. The classes you listed are:

    .woocommerce #respond input#submit,
    .woocommerce a.button,
    .woocommerce button.button,
    .woocommerce input.button

    So, you would need to decide which of those is to be hidden, but also, if it’s for a specific page, look at your source code on the body tag for the page ID or class, and use that with the button class you are hiding.

    Example:

    .woocommerce-account .woocommerce input.button {
    display: none;
    }

    .woocommerce-account is a class on the body tag of the page you are referencing–where I see the login and register new account page.

    Thread Starter nowustec

    (@nowustec)

    Yeah u r right is only visible when created account and looged in. My fault. But is not possible to set a snip here.

    But u r also right with the buttons. I thought so, that CSS would help. But thought also can comment out in functions.php or where ever else :))))

    The advise is perfect, can try class after class to see which is right. And sometimes is hard to see the tress in middle of a forest ??

    Thanks a lot @roughpixels I will find out which is the right.

    Best,
    Michael

    You are very welcome, and good luck ??

    Regards,
    Andre

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Button Change’ is closed to new replies.