• I used the code below to hide the “show more” buttons in the woocommerce product catalog, it worked but on the “my account” page it hides the “login” and “register” buttons on there as well! D:

    It seems as though this code is causing the “my account” buttons to hide so, is there a way to show the “login” and “register” buttons but continue hiding the “show more” buttons on the catalog page?

    .woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce #content
    input.button,.woocommerce-page a.button,.woocommerce-page button.button,.woocommerce-page input.button,.woocommerce-page #respond
    input#submit,.woocommerce-page #content input.button{
    display:none;
    }

    link to “my account” page https://floordesignrugs.com/my-account/

    https://www.ads-software.com/plugins/woocommerce/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor royho

    (@royho)

    Please post the URL link to the button you want to hide so I can see.

    Thread Starter Noicedangel

    (@noicedangel)

    Here you go, I want to hide the “read more” buttons on all products
    https://floordesignrugs.com/collections/

    The code does work to hide the “read more” but it also hides the “login” and “register” buttons on My Accounts page, which I want to stay visible

    Thank you for your time and help!

    Caleb Burks

    (@icaleb)

    Automattic Happiness Engineer

    Hello,

    Try this custom CSS. It is more specific and should not target your other buttons:

    ul.products li.product a.button {
    display:none;
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘"Login" and "Resigster" buttons not showing on "My Account" page’ is closed to new replies.