Hiding Address Details In Account Section

Topic summary

A Shopify store owner wants to hide address details from the customer account section because users are mistakenly editing it, thinking it will change their subscription address (Recharge).

Solution provided:

  • Add custom CSS code to the theme’s style.css file (Online store > Themes > Edit code)
  • Initial code snippet hides the address sidebar section
  • Follow-up request to also hide “primary address” label
  • Updated CSS code provided to hide both the address section and the “primary address” heading using .account-sidebar__content h4.has-padding-top selector

Outcome:
The issue was successfully resolved with the updated CSS code. The solution uses display: none !important to hide the unwanted address elements from the account page.

Summarized with AI on November 15. AI used: claude-sonnet-4-5-20250929.

Hello Team

Do you know how I can hide the address section? People edit it thinking it will change their Recharge subscription address

Hi @EXALTLDN

Could you share your store link?

Here you go! https://www.exalt.co.uk/

Thank you

Go to your Online store > Themes > Edit code > open style.css file, add this code at the bottom

.account-sidebar__content h4:nth-child(2),
.account-sidebar__content .account-sidebar__address {
display: none !important;
}

Thank you! Do you know how i can hide “primary address”

Hello, did you see my Q below? Thank you

Hi, please update code to this

.account-sidebar__content h4.has-padding-top,
.account-sidebar__content .account-sidebar__address {
display: none !important;
}

Amazing! Thank you!

1 Like

You are most welcome.