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 » New Versions, & Updating »

3.4.6 to 3.5.3: h1,h2,h3,h4,h5,h6 styles are gone?


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 Aug 1, 2010, 04:31 PM
ymf
 
61 posts · May 2009
Using Wordpress 2.9.2, I am upgrading Atahualpa from 3.4.6 to 3.5.3; they are in different directories on the server (i.e. atahualpa346 and atahualpa353), so I can switch the themes back and forth. The 3.5.3 seems to work (no crashes) but there is a minor issue: the h1,h2,h3,h4,h5,h6 font sizes have changed.

I compared the CSS's (e.g. http://blah-lbah-blah.com/?bfa_ata_file=css) and found the root cause:

In 3.4.6, near the top of the stylesheet, there is the code missing from (not migrated to) the 3.5.3's stylesheet:
PHP Code:
h1,h2,h3,h4,h5,h6{color:#000;
display:block;
font-smooth:always}
h1{font-size:34px;
line-height:1.2;
margin:0.3em 0 10px;
}
h2{font-size:28px;
line-height:1.3;
margin:1em 0 .2em;
}
h3{font-size:24px;
line-height:1.3;
margin:1em 0 .2em;
}
h4{font-size:19px;
margin:1.33em 0 .2em;
}
h5{font-size:1.3em;
margin:1.67em 0;
font-weight:bold;
}
h6{font-size:1.15em;
margin:1.67em 0;
font-weight:bold;
}
h1 a,h2 a,h1 a:link,h2 a:link,h1 a:visited,h2 a:visited{color:#000;
}
h1 a:active,h2 a:active,h1 a:focus,h2 a:focus,h1 a:hover,h2 a:hover{color:#669900;

The above fragment was NOT my custom insert or modification, it seemed to be hard-coded in 3.4.6. I think I could add the above missing fragment to 3.5.3's CSS inserts to preserve the look and feel of the headers; however I wonder whether the removal of the above CSS fragment intentional?

Otherwise, the stylesheets are very similar, with all my custom modifications/inserts properly automatically migrated from 3.4.6 to 3.5.3.
  #2  
Old Aug 1, 2010, 06:34 PM
lmilesw's Avatar
lmilesw
 
10,097 posts · Jul 2009
Central New York State USA
The styling for 3.5.3 is dependent on the theme style in use. There is CSS coded into 3.5.3 but there are many differences between 3.4.6 and 3.5.3 so I would expect that some CSS would be different as well. By default the advertisement style is used but there are several others. It of course won't hurt anything to put the CSS in CSS Inserts but I'm not sure what the results will be. Let us know.
__________________
~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 Aug 1, 2010, 06:58 PM
ymf
 
61 posts · May 2009
Yes, when I put the above CSS into the 3.5.3's "CSS Insert", the result is that look and feel duplicates that of 3.4.6's.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Link Styles cliffbird Center area post/pages 1 Sep 10, 2010 10:30 AM
Heading Styles - Help please GadgetJoe Center area post/pages 0 Feb 13, 2010 08:44 AM
Different styles for different pages MountainStream Header configuration & styling 3 Feb 8, 2010 07:31 AM
Changing H1, etc. Used to be in styles.css coop42 Header configuration & styling 1 Jul 10, 2009 03:09 PM
Help changing Header styles Shepherd Jim Header configuration & styling 1 Feb 20, 2009 11:19 AM


All times are GMT -6. The time now is 12:41 AM.


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