Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   New Versions, & Updating (http://forum.bytesforall.com/forumdisplay.php?f=12)
-   -   3.4.6 to 3.5.3: h1,h2,h3,h4,h5,h6 styles are gone? (http://forum.bytesforall.com/showthread.php?t=8645)

ymf Aug 1, 2010 04:31 PM

3.4.6 to 3.5.3: h1,h2,h3,h4,h5,h6 styles are gone?
 
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.

lmilesw Aug 1, 2010 06:34 PM

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.

ymf Aug 1, 2010 06:58 PM

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.


All times are GMT -6. The time now is 04:36 PM.

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