Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

[SOLVED] Change font size in widgets


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Nov 27, 2009, 01:10 PM
johnd28
 
29 posts · Sep 2009
Hi,

How can I change the font size in text widgets in the sidebars? I'm using unordered lists to show links to the other posts on the blog. I can't find it in the regular options.
Thanks,

John
  #2  
Old Nov 28, 2009, 04:41 AM
juggledad's Avatar
juggledad
 
19,977 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
use a CSS Insert (ATO->Add HTML/CSS Inserts->CSS Inserts) with a CSS selector identifying the widget. then you can use the CSS 'font-size' property (do a google search using 'css font size' to find the options)

You will need to look at the source of the generated page to identify the widget - it will look something like this
HTML Code:
<div id="text-2" class="widget widget_text">
	<div class="widget-title">
		<h3>your text title</h3>
	</div>			
	<div class="textwidget">your text is here</div>
	</div>
in this case you could make your selector '#text-2 .textwidget {....}'
  #3  
Old Nov 28, 2009, 08:27 AM
johnd28
 
29 posts · Sep 2009
Hi,
Thanks for your reply, but it didn't work for me.

Here is the starting code for one of the widgets: <div id="text-21" class="widget widget_text"><div class="widget-title"><h3>Popular </h3></div> <div class="textwidget">

I then entered a css insert: #text-21. textwidget {font-size:6px;}

Nothing changed. I also tried using the em unit for text size with no result. Does it matter if all the text is in an Unordered list and if so what needs to change in the CSS code?

Thanks,

Jonathan
  #4  
Old Nov 28, 2009, 08:33 AM
Liston's Avatar
Liston
 
26 posts · Oct 2009
Scotland
What I did to change the font size in the sidebar - which affected widgets in that side bar was add

font-size: 0.8em;

in the Ata options # Sidebars & Widgets # Style & configure SIDEBARS

Not sure if that helps or not.
  #5  
Old Nov 28, 2009, 08:42 AM
juggledad's Avatar
juggledad
 
19,977 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
Quote:
#text-21. textwidget {font-size:6px;}
you have a typo it should be #text-21 .textwidget {font-size:6px;}
  #6  
Old Nov 28, 2009, 08:47 AM
johnd28
 
29 posts · Sep 2009
Quote:
Originally Posted by juggledad
you have a typo it should be #text-21 .textwidget {font-size:6px;}
Thanks. It worked like a charm. Donation on its way.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change font size in right sidebar? PublicPol Sidebars & Widgets 1 Aug 27, 2009 06:53 PM
Changing the font size in the sidebar/widgets StudioGal Sidebars & Widgets 2 Apr 2, 2009 09:54 AM
Change comment font size 6clix Comments, trackbacks & pings 8 Feb 12, 2009 09:48 AM
How to change font size in sidebar? BLB Other BFA WordPress Themes 1 Jan 5, 2009 01:25 PM


All times are GMT -6. The time now is 09:55 AM.


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