• Resolved neverdowork

    (@neverdowork)


    Hey Community,

    I use a “back to marketplace”-button on all the sub-pages of [my account].

    The issue I’m facing is the login page – obviously a user/visitor is not supposed to be able to use the button to return to the shop before even logging in.

    Is there a way to remove/not display the button on that single page?

    Many thanks in advance!

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @neverdowork

    Thanks for reaching out!

    I understand that you have added the custom button Back to Marketplace on all the sub-pages in the My Accounts page, and you would like to delete it from the login page, correct?

    You can add the CSS code below under Appearance > Additional CSS:

    /* Hide Back to Marketplace button on the Login Page */ 
    
    .et_pb_row.et_pb_row_1 {
    	display: none;
    }

    Hope this helps!

    Thread Starter neverdowork

    (@neverdowork)

    This does remove the “back to marketplace”-button, but from all My Accounts sub-pages – not only login.

    I also tried it by addressing it with the unique article id (#post-243742), but that is also the same for all My Accounts sub-pages.

    Thank you anyway!

    Hi @neverdowork

    I can see you’re using the Divi Builder to add the button on the page. Now to hide the button you don’t need to use the CSS code, you can simply use the Divi Condition feature in the button module and visible the button only for login users.

    To do this, go to Button Module Settings > Advanced > Conditions > And add condition to show button only for login users.

    Take a look at this screenshot: https://screencast-o-matic.com/i/c0fXb2VaHqb

    For more detail about this feature, you can read this article

    I hope that helps!

    Thread Starter neverdowork

    (@neverdowork)

    Amazing hint, I did not know this divi-feature before!

    Works like a charm, thank you so much!

    Best,

    neverdowork

    Plugin Support Beauty of Code (woo-hc)

    (@beautyofcode)

    Hi @neverdowork ,

    Glad to hear that the suggestion above has worked for you ??

    Since this has been resolved, feel free to create a new topic should you need any further help.

    Cheers!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘remove/not display button on single [my-account] page’ is closed to new replies.