Modify left sidebar font
-
I’m trying to modify this via a child theme’s style.css, not making any headway though.
It looks like the element I need to adjust are .post-item-category and .post-item-title, but the changes are not seen when I make them.
I’m trying to tweak the font size for the AlxPosts widget, and the styling in the original theme seems to be contained in these chunks:
.alx-posts .post-item-title { font-size: 16px; line-height: 1.5em; }
.alx-posts .post-item-category { color: #aaa; text-transform: uppercase; font-size: 13px; }
I’m adding these lines into style.css in my child theme:
.alx-posts .post-item-title { font-size: 14px; }
.alx-posts .post-item-category { font-size: 16px; }
I have tried this as well, with no luck:
.post-item-title { font-size: 14px; }
.post-item-category { font-size: 16px; }
Would appreciate advice! Thanks.
-
Hey there keintze,
Hope you’re well today!
Please try adding the following CSS code in the style.css file of your child theme or add it in your site using the following plugin:
http://wordpress.org/plugins/simple-custom-css
.s1 .alx-posts .post-item-title, #footer .alx-posts .post-item-title { font-size: 14px; } .s1 .alx-posts .post-item-category a { font-size: 16px; }
This should change the font size of category and title.
Hope this helps 🙂
Best regards,
BojanYou sir are a lifesaver. Thanks for the snippets Bojan!
I made it the category work somehow with a crude chunk earlier:
.sidebar h3 { font-size: 17px; }
But yours work better for sure. Cheers! Have a great day ahead.
Marking as resolved.
Glad I could help 🙂 Have a great one yourself!
Cheers,
Bojan
- The topic ‘Modify left sidebar font’ is closed to new replies.