Home › Forums › Support › How can I increase the shopping cart icon size? This topic has 9 replies, 2 voices, and was last updated 5 years, 6 months ago by Leo. Viewing 10 posts - 1 through 10 (of 10 total) Author Posts October 23, 2018 at 10:47 am #708406 bluebit I only want to increase the shopping cart icon size without increasing size of the other menu items. October 23, 2018 at 11:01 am #708423 LeoStaff Customer Support Hi there, Try this CSS: @media (min-width: 769px) { .main-navigation .main-nav ul li.wc-menu-item a { font-size: 20px; } } Adding CSS: https://docs.generatepress.com/article/adding-css/ Let me know ๐ October 23, 2018 at 11:06 am #708431 bluebit that increased the size of all the menu items, i just want the shopping cart icon size to be increased October 23, 2018 at 11:07 am #708434 LeoStaff Customer Support No it doesn’t. The CSS is targeting the cart icon only with li.wc-menu-item. October 23, 2018 at 11:08 am #708435 bluebit I replaced the generate shopping cart icon with a fa one this is the code: add_filter( ‘generate_woocommerce_menu_cart_icon’, ‘tu_change_wc_menu_cart_icon’ ); function tu_change_wc_menu_cart_icon() { return ‘<i class=”fa fa-shopping-cart” aria-hidden=”true”></i>’; } October 23, 2018 at 11:11 am #708436 LeoStaff Customer Support Yes I noticed that but it shouldn’t matter. I’ve tested my code using browser inspect and it should work. October 23, 2018 at 11:12 am #708437 bluebit ah i just figured it out, this css code here made it work .fa{ font-size: 20px; } October 23, 2018 at 11:14 am #708443 LeoStaff Customer Support That will change all the FA icons to size 20px. Not sure why you wouldn’t use my code. Haven’t seen it being added but your call. It should do the same thing but targetting that item only. October 23, 2018 at 11:21 am #708454 bluebit just changed it to this to make it only target the shopping cart .fa.fa-shopping-cart{ font-size: 17.5px; } October 23, 2018 at 11:31 am #708461 LeoStaff Customer Support Sounds good ๐ Author Posts Viewing 10 posts - 1 through 10 (of 10 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In