- This topic has 18 replies, 5 voices, and was last updated 8 years, 10 months ago by Tom.
-
AuthorPosts
-
October 21, 2014 at 4:42 pm #40737gabriel bear
each case of using widgets, especially text-based yields an out pout like:
<aside id=”category_rss_widgets” class=”widget inner-padding widget_cat_spec_rss”><h4 class=”widget-title”>Apodicticity</h4><div id=”cat”How do I
1. change the size of the text inside the widget?
2. Get rid of the padding between widget title and the widget content?The most idiot proof answer will be the most appreciated.
October 21, 2014 at 11:49 pm #40779TomLead DeveloperLead DeveloperHi Gabriel,
This CSS should do it:
.widget-title { margin-bottom: 30px; } .widget { font-size: 17px; }
Adjust the pixels to your liking.
October 22, 2014 at 3:45 pm #41028gabriel bearThat sounds elegant and totally workable.
Double checking: I can put this into the simple css and it will find its way to the right line of code?October 22, 2014 at 4:29 pm #41044TomLead DeveloperLead DeveloperThat’s correct 🙂
October 22, 2014 at 5:45 pm #41059gabriel bearDone. Perfect fix.
Thanx ever so much.November 2, 2014 at 12:04 am #43454berryIs there a way to control the text size of a specific widget? In my case a footer widget which is a disclaimer, which I would like to be smaller text than normal. If I use the CSS above it applies the text size to each of the widgets, making all the widget text small.
November 2, 2014 at 12:28 am #43455mikei.footer-widgets .widget {font-size:96%;}
(or px) should workOr each of them is name .footer-widget-1, .footer-widget-2, .footer-widget-3 if you are looking for a particular one
November 2, 2014 at 12:37 am #43458berryNovember 2, 2014 at 10:22 am #43573TomLead DeveloperLead DeveloperThanks for helping out, mikei! 🙂
October 28, 2015 at 12:44 pm #148335DianeHi, I am wanting to reduce the size of the texts in my widgets, and followed the steps above, reducing numbers, but it made absolutely no difference to the appearance of my site at all.
Then I tried again using the guidance here, to create a child theme and used your CSS in there
https://generatepress.com/knowledgebase/adding-css/ but again, no change at all.Am I missing something?
I am a newbie to CSS, please go easy on me lol
October 28, 2015 at 1:10 pm #148351bdbrownHi Diane. So you downloaded and activated the GP child theme, then added the css above to the child theme style.css file using the admin editor, and no change? If you’re using a cache plugin, try clearing the cache and see if that fixes it. If not, can you post a link to your site so we can take a look? Thanks.
October 28, 2015 at 3:06 pm #148396DianeHi bdbrown
Thank you for quick response.
I have tried to reply several times but itÅ› not posting – maybe it doesn´t want me to post my url to my website.
Yes I have tried with both parent and child theme.
I don´t have a cache plugin that I´m aware of
October 28, 2015 at 4:12 pm #148399TomLead DeveloperLead DeveloperHi Diane,
Our Typography add-on allows you to change the widget text size using the Customizer.
If you’d rather use CSS, we’ll have to see your site to see why the above CSS isn’t working.
When you try and post your URL, what happens? It should just print like this: https://generatepress.com
October 29, 2015 at 5:42 pm #148665DianeHi Tom,
Everytime I tried to post with my url the site did not accept it.
When I removed my website it was accepted.I´ll try again
workfromhomesuccess.net
I´d like to learn how to use CSS in general as I want to adjust the padding too, so this is as good a start as any.
October 29, 2015 at 5:43 pm #148666DianeOk, it wouldn´t let me post full url, so I had to remove first part, then it accepted my post
-
AuthorPosts
- You must be logged in to reply to this topic.