category widget font

eCommerce WordPress theme to create online shop with WooCommerce support
GK User
Wed Apr 02, 2014 10:12 am
Hi, my skills in coding are very limited so i'd much appreciate if you could give me a simplified step by step instructions as to how i can adjust the fonts style and sizes inside the woo commerce sidebar product category widget. I have attached an image to better explain what I'm trying to do.

Thanks.
User avatar
Senior Boarder

GK User
Wed Apr 02, 2014 11:06 am
Hi,

Could you provide an URL to yoru website? (here or via PM) it'll be easier for me to inspect these elements.
User avatar
Moderator

GK User
Thu Apr 03, 2014 7:39 am
Add this code into css/override.css file:

Code: Select all
.box.wc-menu .cat-parent > a {
   font-weight: bold;
}


and if you want to change font-size:

Code: Select all
.box.wc-menu li a {
   font-size: 20px;
}
User avatar
Moderator

GK User
Fri Apr 04, 2014 3:04 am
Hey Piotr, that was great thanks for that. Now i have a further question, say i want to change the font weight for the 2nd lvl categories, i tried this
}
.box.wc-menu .cat-child > a {
font-weight: semi-bold;

but no luck lol. How change font weight for child categories ?
User avatar
Senior Boarder

GK User
Fri Apr 04, 2014 7:18 am
Hi,

use this CSS selector:
Code: Select all
.box.wc-menu .children li > a
User avatar
Moderator

GK User
Sat Apr 05, 2014 1:02 am
@Piotr Kunicki worked like a charm. Thanks for the great support !
User avatar
Senior Boarder


cron