Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

[SOLVED] Trying to style text in the sidebar, in child theme


  #1  
Old Feb 8, 2011, 10:30 AM
Chuck M
 
19 posts · Feb 2011
After putting in more time than I will admit without coercion, I feel close to being able to fine-tune an Atahualpa-themed site using Google Chrome Developer Tools (GCDT). But there is/are a hump or two I just can't get over. The URL is:

http://www.abcaudiology.com/

And the task that eludes me is to get a "handle" on the text in the sidebar to make it smaller. GCDT shows:

" <div id="text-3" class="widget widget_text"> <div class="textwidget"><img class="size-full wp-image-163 alignleft" title="Hearing aid is small and powerful" src="http://www.abcaudiology.com/wp-content/uploads/2011/01/handaidtype160.jpg" alt="Hand holds hearing aid" width="160" height="160" />
<h4>Those who decide to try a hearing aid at ABC enjoy multiple safeguards…</h4>
<p>1. The first 30 days are a risk-free trial. Return it if you don't like it.</p>
<p>2. The hearing aid...."

I'm using a child theme that seems to be working except that only some of what I add to it has any effect. I tried redefining "text-3" and "textwidget" without any change. I tried writing a new class for "widget widget_text" and nothing changed.

A secondary but related matter is that I suspect my size declarations are "confused." I thought I could set the basic text specs for the page in "body" but while the body settings have an effect, they seem influenced by something else.

Third and last, I haven't found the place to edit the overall specs for the <h1> through <h6> heads.

Feel free to poke around the site as you like. Feel free to speak candidly about what I need to learn.

Chuck M
  #2  
Old Feb 8, 2011, 02:47 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Atahualpa is not designed for child themes. Typically to size the text in a widget you would determine the selector as you did and then put the necessary CSS in ATO>Add HTML/CSS Inserts>CSS Inserts.

As an example to change the text size to 12px in your left sidebar I would add something like the following in CSS Inserts.

HTML Code:
#text-3 .textwidget {
    font-size: 12px;
}
The H!-H6 tags are similarly handled by putting something like the following in CSS Inserts and adding whatever styling you want.
HTML Code:
H1 {
font-size: 30px;
}
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Feb 8, 2011, 03:56 PM
Chuck M
 
19 posts · Feb 2011
I am very grateful to receive your reply. I know of the area you mention to place the code - and will be happy to use it.

Don't believe I searched for a child theme thread. Perhaps that might have simplified my labors. WordPress users were strong in recommending child themes, and I made the assumption that a current and "good" theme like Atahualpa would adopt a child willingly. Thanks for shooting down another flawed assumption.

Your H1 code uses pixels. I've been reading about ems being preferable for viewer flexibility. Matter of choice, likely. No need for a reply unless there's a reason Atahualpa should be fed pixels as the type measurement.
  #4  
Old Feb 8, 2011, 04:36 PM
Chuck M
 
19 posts · Feb 2011
In dashing off to a shower, I realized I had brought up the question of Atahualpa sizing type in pixels, and wondered if it needs to be that way, or if ems would be fine. Brought it up without looking first in this site for the answer.

So I just searched the Atahualpa section (I think) for "sizing type" and "type in pixels". Was surprised again to get no results for the first and no germane threads for the second. (Designers *always* fuss with type size; I guess bloggers don't.)

So the question remains on the table; perhaps warranting an answer, perhaps not. And now I dash off to a meeting at my church.
  #5  
Old Feb 8, 2011, 05:51 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
I usually use pixels (px) so I know what size text I will have but em is OK too. A Google search on px vs em should get you completely confused.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #6  
Old Feb 8, 2011, 09:56 PM
Chuck M
 
19 posts · Feb 2011


Atahualpa uses pixels. You use pixels. For the time being, that's good enough for me.

Chuck M
  #7  
Old Feb 9, 2011, 06:02 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Just to be clear Atahualpa doesn't "use pixels". It's just a measurement. You can use either when creating your CSS in Atahualpa.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #8  
Old Feb 9, 2011, 08:16 AM
Chuck M
 
19 posts · Feb 2011
That's a half-interesting malaprop on my part: "use" pixels. As if a different theme might build the page image with lines or stars or smiley faces or something. I just meant that in a CSS capitulation window (don't know the real name yet) I noticed that Atahualpa specified font-sizes and headline sizes in pixels. Rather than % or ems.

For me this thread is SOLVED. (Probably should know how to mark it as such.)

For the record, I was referred here by participants on the Wise Women discussion list, easily my favorite list for talking about webwork. lmilesw's words are now famous there, since I quoted them in describing the solution to this problem. (Didn't mention your name though; don't know if I coulda/shoulda.)

Gender conscious folks unfamiliar with that list might puzzle with the facts that I am neither wise nor women. I assure all that that makes no difference to the good people on the list. Subscription and list info: http://www.wise-women.org/about/join/

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Want child menu items to be different style from parent robinwiley Page & Category Menu Bars 8 Jan 14, 2011 07:00 AM
[SOLVED] how to style child page links in menu? furiousfrog Page & Category Menu Bars 4 Jan 6, 2011 11:35 PM
ATA 3.5.3 Different Behavior In Child Theme from Non-Child Theme royhuggins Page & Category Menu Bars 7 Dec 4, 2010 07:26 PM
How do I get rounded corners, the original theme style, another theme style? lmilesw Header 0 Oct 25, 2010 12:32 PM
How do I get rounded corners, the original theme style, another theme style? lmilesw Styling 0 Oct 25, 2010 12:32 PM


All times are GMT -6. The time now is 09:26 PM.


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