Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Sidebars & Widgets (http://forum.bytesforall.com/forumdisplay.php?f=14)
-   -   [SOLVED] How to decrease size of Widget Title font (http://forum.bytesforall.com/showthread.php?t=678)

Shepherd Jim Mar 7, 2009 08:43 AM

[SOLVED] How to decrease size of Widget Title font
frustrating, thought I knew how to do this.

I can see that Widget Titles are formatted as h3. I went onto the Atahualpa "Widgets" option page and in the "Widget Title" box I added

text-size: 50%; to the

text-align: center; that was already there.

The size of the widget titles displayed did not change.

Please help! Tnx TTFN

Flynn Mar 7, 2009 09:00 AM

It's font-size

Also, Xem will provide better control. % will always be based on whatever the font size of a parent container is. Example.

font-size: 1.2em;

Shepherd Jim Mar 7, 2009 12:17 PM

Oh! font-size ...shucks! I knew that!

And I just RE-discovered that you're not allowed to have a space (" ") between the number and the "em" (eg. "font-size: .8 em;" does not work nearly as well as "font-size: .8em;" ...not nearly :o :)

Also, thanks for the tip re not using % to spec the font size. I was trying too hard to be clever. I guess the % size thing is more applicable when sizing boxes/objects.

As always! Thank you, Flynn!

ldaily Mar 8, 2009 02:25 PM

Flynn & Jim:

I am trying to do the same thing, reduce the headers in my left and right size widgets. But I'm no techie so apologies. Can you tell me where exactly you are finding these boxes to note the change in size? Also what is the default font-size so I can reduce from there. I just want mine to be a wee bit smaller. Thanks for any step-by-step instructions you can provide. I don't have a clue about writing code but have found almost all of Flynn's instructions on the actual theme to be fairly straightforward. But this time I'm just as a loss.


Flynn Mar 8, 2009 02:34 PM

You can change this by adding

HTML Code:

font-size: X.Xem;
to the textarea at Atahualpa Theme Options -> Widgets -> Widget Title

The widget titles don't have an individual setting by default. They get the overall font-size for <h3> titles, which is 1.6em

To change the widget titles a bit, you'd use something like

HTML Code:

font-size: 1.5em;

All times are GMT -6. The time now is 01:42 AM.

Powered by vBulletin® Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.