This topic has 18 replies, 4 voices, and was last updated 10 years, 2 months ago ago by Robert Hall
Hi,
When I am logged in here: http://www.exclusivefashiondesigns.com/my-account/ In the top bar I have: WISHLIST, YOUR ACCOUNT, LOGOUT.
How can I disable YOUR ACCOUNT link?
I have added the links to the accounts as a submenu.
Many thanks,
Hello,
Add this code into custom.css file.
.links li.my-account-link{
display:none;
}
Regards,
Robert Hall.
Hi,
I still need the text YOUR ACCOUNT but not linked to any page. So I can hover it but is not clickable.
The code you sent me hides the link completely. It needs to be visible.
Hello,
To remove the link from My account item you need delete the code <?php echo get_permalink( get_option('woocommerce_myaccount_page_id') ); ?>
in the file wp-content/themes/legenda/framework/theme-functions.php (line 1061).
Regards,
Eva Kemp.
Hi,
I have done that but there is still the link.
Hello,
Please provide us with the link to your site and the credentials to FTP/wp-admin panel.
Thank you.
Regards,
Eva Kemp.
Hi,
Thanks,
Hello,
I’ve made the required changes. Please check your link now!
Regards,
Jack Richardson
Hi,
OK.
Hello,
I’ve made the required changes. Please check your link now!
Regards,
Jack Richardson
Hi Jack,
Could you let me know what the changes are? So I know for next time.
Thanks, I checked it works fine now.
Hello,
I’ve added this code into style.css of child theme:
.my-account-link > a {
pointer-events: none;
}
Regards,
Jack Richardson
Hi again,
Many thanks for your previous help 🙂
However I do have a bit of an issue, when the submenu appears and I move the cursor on it, it disappears very quickly, and I don’t have time to click.
Can we delay the fade out of the submenu? So it appears for longer?
Thanks,
Hello,
I’ve just checked submenus and they are clickable and don’t disappear.
What browser are you using for checking? Is it for the main or fixed header?
Thank you.
Regards,
Eva Kemp.
Hi Eva,
Once your are logged in, its the submenu for the very top menu bar, for YOUR ACCOUNT one (beside WISHLIST).
Thanks,
Hello,
Thank you for explanation.
Please try to use this code in custom.css file:
.submenu-dropdown {
top: 41px !important;
}
Thank you.
Regards,
Eva Kemp.
Thanks, this seems to have done the trick.
Hello,
You’re welcome!
Regards,
Robert Hall.
The issue related to '‘Disable "YOUR ACCOUNT" link’' has been successfully resolved, and the topic is now closed for further responses