Home › Forums › WoodMart support forum › Remove Downloads and add Payments from My account menu
Remove Downloads and add Payments from My account menu
- This topic has 5 replies, 2 voices, and was last updated 2 years, 6 months ago by Luke Nielsen.
-
AuthorPosts
-
May 26, 2022 at 10:17 pm #379155
julietteParticipantHello,
I would like to customize the menu of the My Account page by removing/hiding Downloads and adding payment methods.
I already tried a piece of code that was in another topic to remove downloads but it didn’t work :.xts-my-account-sidebar .woocommerce-MyAccount-navigation-link--downloads, .xts-header-my-account .xts-dropdown-account .woocommerce-MyAccount-navigation-link--downloads, .woocommerce-MyAccount-content .xts-link-downloads { display: none; }
Could you help me with this please?
Thank youAttachments:
You must be logged in to view attached files.May 27, 2022 at 11:56 am #379301
Luke NielsenKeymasterHello,
This piece of code is not related to the WoodMart theme. In order to hide the “Downloads” link, please add the below code to the “Global Custom CSS” area that is in Theme Settings -> Custom CSS.
.wd-header-my-account .wd-sub-menu .woocommerce-MyAccount-navigation-link--downloads, .woocommerce-account .wd-my-account-sidebar .woocommerce-MyAccount-navigation-link--downloads, .woocommerce-account .woocommerce-MyAccount-content .downloads-link { display: none; }
Keep me informed of any issues.
Kind Regards
May 27, 2022 at 12:13 pm #379311
julietteParticipantHello Luke,
Thank you for your reply. I will try this.
About my second question, adding “payment methods” to the menu in My Account, would you have some code for that as well please?Many thanks!
May 27, 2022 at 4:12 pm #379410
Luke NielsenKeymasterHello,
The “My account” sidebar is related to the WooCommerce so I suggest you follow the below link which explains how to add your custom link to it.
https://rudrastyh.com/woocommerce/my-account-menu.html
Keep me informed of any issues.
Kind Regards
May 27, 2022 at 5:16 pm #379439
julietteParticipantHello Luke,
I realized that the code you sent to hide the Download tab did not work. However I found another way following the link you shared: in Woocommerce > settings > advanced, simply erase the endpoint text of Downloads. The tab is now gone ๐
I’ll try to add the Payment Methods tab on my own then, based on the link you shared.
Thanks again
May 27, 2022 at 5:27 pm #379442
Luke NielsenKeymasterHello,
I’m glad that you found another solution.
I tried it on my side and it worked perfectly. I hope you sort this out.
Thank you in advance.
Kind Regards
-
AuthorPosts
Tagged: menu; donwloads, my account, payment methods
- You must be logged in to create new topics. Login / Register