Disable "YOUR ACCOUNT" link - by fredwerk

This topic has 18 replies, 4 voices, and was last updated 10 years, 2 months ago ago by Robert Hall

  • Avatar: fredwerk
    fredwerk
    Participant
    September 18, 2014 at 11:39

    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,

    17 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    September 18, 2014 at 11:55

    Hello,

    Add this code into custom.css file.

    .links li.my-account-link{
    display:none;
    }

    Regards,
    Robert Hall.

    Avatar: fredwerk
    fredwerk
    Participant
    September 18, 2014 at 12:00

    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.

    Avatar: Eva
    Eva Kemp
    Support staff
    September 18, 2014 at 14:07

    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.

    Avatar: fredwerk
    fredwerk
    Participant
    September 18, 2014 at 15:50

    Hi,

    I have done that but there is still the link.

    Avatar: Eva
    Eva Kemp
    Support staff
    September 18, 2014 at 15:56

    Hello,

    Please provide us with the link to your site and the credentials to FTP/wp-admin panel.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: fredwerk
    fredwerk
    Participant
    September 18, 2014 at 16:48

    Hi,

    Thanks,

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 18, 2014 at 17:25

    Hello,

    I’ve made the required changes. Please check your link now!

    Regards,
    Jack Richardson

    Avatar: fredwerk
    fredwerk
    Participant
    September 18, 2014 at 17:42

    Hi,

    OK.

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 18, 2014 at 18:07

    Hello,

    I’ve made the required changes. Please check your link now!

    Regards,
    Jack Richardson

    Avatar: fredwerk
    fredwerk
    Participant
    September 18, 2014 at 19:09

    Hi Jack,

    Could you let me know what the changes are? So I know for next time.

    Thanks, I checked it works fine now.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 18, 2014 at 19:28

    Hello,

    I’ve added this code into style.css of child theme:

    .my-account-link > a {
    pointer-events: none;
    }

    Regards,
    Jack Richardson

    Avatar: fredwerk
    fredwerk
    Participant
    September 21, 2014 at 18:37

    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,

    Avatar: Eva
    Eva Kemp
    Support staff
    September 22, 2014 at 11:34

    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.

    Avatar: fredwerk
    fredwerk
    Participant
    September 23, 2014 at 06:18

    Hi Eva,

    Once your are logged in, its the submenu for the very top menu bar, for YOUR ACCOUNT one (beside WISHLIST).

    Thanks,

    Avatar: Eva
    Eva Kemp
    Support staff
    September 23, 2014 at 14:04

    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.

    Avatar: fredwerk
    fredwerk
    Participant
    September 23, 2014 at 14:55

    Thanks, this seems to have done the trick.

    Avatar: Robert Hall
    Robert Hall
    Support staff
    September 23, 2014 at 15:12

    Hello,

    You’re welcome!

    Regards,
    Robert Hall.

  • Viewing 18 results - 1 through 18 (of 18 total)

The issue related to '‘Disable "YOUR ACCOUNT" link’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.