Home Forums WoodMart support forum Place icons on my account panel

Place icons on my account panel

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #193876

    dami_re
    Participant

    Hello ! What CSS should I use to place the icons in my account panel as indicated in the image? And where would the source be to be able to choose them? Thank you

    Attachments:
    You must be logged in to view attached files.
    #193904

    Hello,

    You need to choose the icons in https://www.flaticon.com/

    Then upload them in Media library and give their URLs I will provide CSS

    Best Regards

    #193905

    Hello,

    If I guess correctly this is the notification that this is a demo store, in this case it is removed in Appearance > Customize > Woocommerce > Shop notice.

    Best Regards

    #193923

    dami_re
    Participant

    And there are no free icons or that I should not attribute to any author? I’ll wait for you to provide me the CSS. Thank you

    #194069

    Hello,

    Please add this code to the Theme Settings > Custom CSS > Global:

    .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--dashboard{
    	background-image:url(https://woodmartcdn-cec2.kxcdn.com/wp-content/uploads/2016/07/blog-11-75x65.jpg);
    	background-size:contain;
    	background-position:top right;
      background-repeat:no-repeat;
    }
    .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--orders{
    	background-image:url(https://woodmartcdn-cec2.kxcdn.com/wp-content/uploads/2016/07/blog-11-75x65.jpg);
    	background-size:contain;
    	background-position:top right;
      background-repeat:no-repeat;
    }
    .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--downloads{
    	background-image:url(https://woodmartcdn-cec2.kxcdn.com/wp-content/uploads/2016/07/blog-11-75x65.jpg);
    	background-size:contain;
    	background-position:top right;
      background-repeat:no-repeat;
    }
    .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--edit-address{
    	background-image:url(https://woodmartcdn-cec2.kxcdn.com/wp-content/uploads/2016/07/blog-11-75x65.jpg);
    	background-size:contain;
    	background-position:top right;
      background-repeat:no-repeat;
    }
    .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--edit-account{
    	background-image:url(https://woodmartcdn-cec2.kxcdn.com/wp-content/uploads/2016/07/blog-11-75x65.jpg);
    	background-size:contain;
    	background-position:top right;
      background-repeat:no-repeat;
    }
    .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--wishlist{
    	background-image:url(https://woodmartcdn-cec2.kxcdn.com/wp-content/uploads/2016/07/blog-11-75x65.jpg);
    	background-size:contain;
    	background-position:top right;
      background-repeat:no-repeat;
    }
    .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout{
    	background-image:url(https://woodmartcdn-cec2.kxcdn.com/wp-content/uploads/2016/07/blog-11-75x65.jpg);
    	background-size:contain;
    	background-position:top right;
      background-repeat:no-repeat;
    }

    As soon as you upload icons into Media library, replace image URLs in each item.

    Best Regards

    #194127

    dami_re
    Participant

    Perfect! And as I would do to leave a small separation or line spacing, it is that they are a little on top. And what would be the CSS to load the images of the active links. Thanks again

    #194163

    Hello,

    Do you want a gap or line? Please clarify your purpose.

    Best Regards

    #194191

    dami_re
    Participant

    I need them to have a space or gap between them. I hope I was a little clearer. Thanks

    #194275

    Hello,

    Add this code as well:

    .woocommerce-MyAccount-navigation li{
    margin:5px 0;
    }

    Now on hover image would disappear, in order to keep an image on hover as well, add this code:

    .woocommerce-MyAccount-navigation ul li a:hover {
        background-color: transparent;
    }

    Best Regards

Viewing 9 posts - 1 through 9 (of 9 total)