Support » Theme: Storefront » Storefront handheld footer bar title attribute

  • Resolved cl0ne



    I saw the article ( for customizing the handheld footer navigation on the Storefront theme. While very helpful in creating and removing items, it doesn’t show how to modify the existing ones.

    By default, there’s a “My Account” nav item on the bar but it doesn’t contain a title attribute. I would like to add this to take advantage of the default tooltip function that tells users what that link is.

    Any help would be greatly appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • HI @clone,

    YOu have to customize storefront_handheld_footer_bar_account_link() function of parent theme on to child theme functional file.

    	 * This function overwrites storefront_handheld_footer_bar_account_link() of parent theme
    	function storefront_handheld_footer_bar_account_link() {
    		echo '<a href="' . esc_url( get_permalink( get_option( 'woocommerce_myaccount_page_id' ) ) ) . '" title="'. esc_attr__( 'My Account', 'storefront' ) . '">' . esc_attr__( 'My Account', 'storefront' ) . '</a>';

    Note: This is untested version code, Please implement if you are technically well on WordPress.


    Awesome. Thanks Sushil!

    Do you mind telling me what would override the cart link? I managed to overwrite it but the problem is that the ajax-enabled counter over the icon does not function. I have to refresh the page for the count to update.

    Your help is appreciated!

    Hi @cl0ne, I used the link you provided at the beginning to customize my website navigation bar. I added the code to function.php but nothing happened. Is there anything else I should do? or I should add the code in the difference place?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Storefront handheld footer bar title attribute’ is closed to new replies.