different font sizes for left and right sidebar

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?"

different font sizes for left and right sidebar

Postby bkeller49 » 06 May 2012, 07:12

I would like to have different post sizes on each of my sidebars at http://laurafrench.kellerinternet.info

I styled the font in the left sidebar by adding: .suf-widget h3 {font-size:25px;} to the custom styles and that worked great, but now I'd like to make the font on the right sidebar smaller.

Any help would be greatly appreciated.

Thanks, Bob
bkeller49
 
Posts: 8
Joined: 03 Apr 2012, 08:21

Re: different font sizes for left and right sidebar

Postby Colin » 06 May 2012, 08:37

You can probably do it with adding some specificity

Code: Select all
#sidebar-2 .suf-widget h3 {font-size:20px;}
Colin
 
Posts: 2798
Joined: 27 Oct 2009, 10:46

Re: different font sizes for left and right sidebar

Postby bkeller49 » 07 May 2012, 10:17

That didn't work, even when I added specificity to both:

#sidebar-1 .suf-widget h3 {font-size:25px;}
#sidebar-2 .suf-widget h3 {font-size:14px;}
bkeller49
 
Posts: 8
Joined: 03 Apr 2012, 08:21

Re: different font sizes for left and right sidebar

Postby sayontan » 07 May 2012, 10:41

It should be #sidebar rather than #sidebar-1. But on your site I couldn't see any instances of h3. Are they on some other page?
Sayontan Sinha | http://mynethome.net/blog | http://www.aquoid.com/news
I don't do freelance work (for Suffusion or otherwise), so please don't contact me for quotes or offers.
sayontan
Site Admin
 
Posts: 10159
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas

Re: different font sizes for left and right sidebar

Postby drake » 07 May 2012, 11:04

bkeller49 wrote:I styled the font in the left sidebar by adding: .suf-widget h3 {font-size:25px;} to the custom styles and that worked great[...]


What worked great??? The class .suf-widget h3 reffer only to the widgets titles, or you supress any title in your widgets. Probably in your widgets is reflected the changes from Typography section.
Your texts are in "content" of widgets, not in "title". So, you need to address the class .dbx-content, like this:
Code: Select all
#sidebar-shell-1 .dbx-content {font-size:25px;}
#sidebar-shell-2 .dbx-content {font-size:14px;}

(I use 25px for the left sidebar, like you said that you added at Custom Styles - you will see the difference, probably you will wish to use 18px like it is for real now and for right sidebar your new, smaller font).
drake
 
Posts: 3794
Joined: 26 Jul 2011, 07:56
Location: Constanta, Romania

Re: different font sizes for left and right sidebar

Postby bkeller49 » 07 May 2012, 13:34

Thanks Drake, I get what you're saying. The new code worked like a charm. Learn something every day.
bkeller49
 
Posts: 8
Joined: 03 Apr 2012, 08:21


Return to Support Requests

Who is online

Users browsing this forum: Google [Bot], ownegiore and 6 guests