DeepBlueTrees
Member
Posted 2 years ago #
I noticed a change in one of the recent versions of the LightWord theme that seems to change the heading font after the page has already been loaded. I have observed this not just on my page, but on the page of the LightWord author, which uses the same theme. Not only do I find this to be an undesirable effect, but I would like to change the default font for headings. Help would be appreciated, I am only stil learning CSS and XHTML. Thanks for your help!
There are thousands of WordPress themes - which means that many people won't be familiar with your particular theme. So a link to your site where people can see the theme (and any problems) might result in more responses.
This theme uses Cufon to replace the fonts. Take a look at section about styling.
DeepBlueTrees
Member
Posted 2 years ago #
I will look into Cufon text replacement, I know that was re-implemented in the recent versions and is probably the culprit.
My website where you can see the theme is: http://deepbluetrees.com/
The author's site is at: http://www.lightword-theme.com/
This line in /js/menu.js Cufon.replace(['h1','h2'], { fontFamily: 'Vera' }); replaces all of your h1s and h2s with Vera font (embedded into /js/vera.font.js).
DeepBlueTrees
Member
Posted 2 years ago #
Yep, it was the cufon settings that were enabled by default. Thanks for the help.