Text Widget Font Size

General questions pertaining to how certain issues can be resolved
Forum rules
1. No offensive language and no mocking
2. Please do a thorough search before you post something. Trust us, there is a high probability that the question you are asking has been asked previously.
3. No soliciting. You cannot post here soliciting bids for people offer you quotes, or even offer money to people for some work. You will be moderated if you do so. If you are looking for help, please post your request on http://jobs.wordpress.net or http://codepoet.com
4. Please be reasonable. You are getting software and support. For free. Complicated requests from a general purpose theme are not welcome and some volunteers might lose patience with you.
5. Please do your due diligence. If you posted a query and we answered with a link, take the trouble to go through the link contents.
6. Please post with complete information. Requests for help MUST be accompanied with your URL, particularly if you are asking something like "Why am I seeing a blank space?"

Text Widget Font Size

Postby elatorre » 21 Mar 2012, 10:09

Hi -

Awesome theme!!

I am wondering how to change the font size within a text widget. The font command works fine when I specify a color or font-face, but will not change the size. Is there a way to do this?

Also, where do I change the widget header size? I've gone through the Suffusion options and changed the things I thought it would be,but obviously I am missing it.

Thanks!!
www.eliselatorre.com
elatorre
 
Posts: 18
Joined: 21 Mar 2012, 10:05

Re: Text Widget Font Size

Postby Colin » 21 Mar 2012, 10:18

Put the following in Suffusion Options > Backend > Custom Includes > Custom Styles

For the Title
Code: Select all
.suf-widget h3 {font: bold 150%/100% Arial,Helvetica,sans-serif;}


Change the 150% to suit

For the text try
Code: Select all
.textwidget p, .textwidget .p {font-size:12px;}


Adjust the 12px to suit.
Colin
 
Posts: 2858
Joined: 27 Oct 2009, 10:46

Re: Text Widget Font Size

Postby elatorre » 21 Mar 2012, 11:19

Thank you!!!! Works perfectly. :)
elatorre
 
Posts: 18
Joined: 21 Mar 2012, 10:05

Re: Text Widget Font Size

Postby smartyd » 04 May 2012, 12:50

How would you change the font color for non-text widgets? I've been trying to change the color of my "recent posts" widget, and have changed the size, but the color won't change.
Thanks
smartyd
 
Posts: 29
Joined: 04 Nov 2010, 19:29

Re: Text Widget Font Size

Postby drake » 04 May 2012, 19:43

Without an url I cannot see your "Recent Posts" id. For all widgets you can adress .dbx-content class:
Code: Select all
.dbx-content {color:#ff00ff;}

replace magenta with desired color.
drake
 
Posts: 3860
Joined: 26 Jul 2011, 07:56
Location: Constanta, Romania

Re: Text Widget Font Size

Postby fantoush » 20 May 2012, 14:49

Hi Drake - Your code helped me change the font size of my widget headers - thank you! I was wonder if you could help me with the code for the text within the menus? http://fantoush.brasic.co.uk/shop/ Eg under 'Product Categories' Decorative Headboards Stools are all tiny!

Thank you :)
fantoush
 
Posts: 11
Joined: 20 May 2012, 02:36

Re: Text Widget Font Size

Postby drake » 20 May 2012, 15:01

Hmmmm... with my code can change font color in widgets content, Colin addresed font size :)

For categories widget try to add at Custom Styles:
Code: Select all
aside#jigoshop_product_categories-2 a {font-size:1.6em;}


But, I would suggest to visit first Suffusion Options -> Typography and increase there the sizes for fonts - in the content area also your selected font is unreadable at given size.
drake
 
Posts: 3860
Joined: 26 Jul 2011, 07:56
Location: Constanta, Romania

Re: Text Widget Font Size

Postby fantoush » 22 May 2012, 00:38

Ooops - sorry Colin! And thank you Drake - I had tried Colin's code which worked great for the Widget headers but the text code didn't :( Thank you Drake for your code - it did change the widget you specified - product categories, would you mind showing me the code for the Login and Shopping cart widget? I tried variations on what you gave me but to no avail!

I tried a few different options in the Suffusion Typography but nothing seems to change - any ideas how to make the product titles - ie Oatmeal Headboard any bigger? Im using Suffusion Commerce Pack with the Jigoshop Plug in if that makes a difference.

Thank you very much for your help ;)
fantoush
 
Posts: 11
Joined: 20 May 2012, 02:36

Re: Text Widget Font Size

Postby Colin » 22 May 2012, 00:48

Try this

Code: Select all
.products li strong {font-size:20px;}


Change the 20px to suit.
Colin
 
Posts: 2858
Joined: 27 Oct 2009, 10:46

Re: Text Widget Font Size

Postby drake » 22 May 2012, 01:03

For changing styles for ALL content of widgets you can address the class .dbx-content. Next code added at Custom Styles will increase unitary the font size for texts in all widgets.
Code: Select all
.dbx-content {font-size:1.6em;}


If you wish to have separate styles, you need to address separately each widget:
Code: Select all
aside#user-login-2 .dbx-content {font-size:1.4em;}
/* will increase the font in the content of login form */
aside#jigoshop_cart-2 .dbx-content {font-size:1.6em;}
/* will increase more the font in the content of shopping cart */


For products section I suggest to add this code at Custom Styles:
Code: Select all
#products-wrapper {font-size:1.6em;}

This code try to increase proportionally all sections of products texts, because there aren't just products titles, but also prices or other informations.
drake
 
Posts: 3860
Joined: 26 Jul 2011, 07:56
Location: Constanta, Romania

Next

Return to Support Requests

Who is online

Users browsing this forum: ceveshile, Google [Bot], HeicsHithRest, iojewtxv and 4 guests