Community Forums › Forums › Design Tips and Tricks › Changing Font Size in Generate
This topic contains 7 replies, has 2 voices, and was last updated by SoZo 3 months, 2 weeks ago.
-
AuthorPosts
-
January 31, 2013 at 7:29 pm #16926
Newbie user who just got his feet wet editing home.php (Thanks again to SoZo) is now ready to move on to changing font size, again on home page. I would like to know how to change the font size in headline, featured posts and the posts toward the bottom of the page as well.
Basically I’d like to generally know just how to change all font sizes throughout . Sorry for such basic Q&A but I’m new. Please be gentle. Thanks.
Howard
January 31, 2013 at 7:32 pm #16928Please include a link to your site with all questions. It makes it a lot easier for people to help you.
John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography
February 1, 2013 at 12:32 pm #17122February 1, 2013 at 12:37 pm #17124The default font size, color, and font family are set in the default rule, the first rule in the style sheet beginning on line 74. That sets the body text styles. You’ll also find a section labelled Headlines, which is where the heading tag rules are. That begins on line 967.
I recommend installing the Firebug add on for Firefox or using Chrome’s Firebug Lite which will enable you to right click on any element to inspect it and determine the associated style rules or the selectors required to create new style rules. It’s an invaluable tool and learning to use it will save you a lot of time.
John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography
February 1, 2013 at 6:21 pm #17267OK, installed Firebug Lite and examined and adjusted the font sizes. I know from reading my Firebug instructions that these changes are not saved and I must do that explicitly.
I edited style.css in my Generate theme folder and could easily find the proper section. No luck yet with the Headlines.
Is there a way to see the line numbers while editing? I’m just seeing the code. Thanks.
Howard
February 1, 2013 at 6:24 pm #17268You don’t get line numbers if you are using the WP editor in the Dashboard. I highly recommend getting a code editor and FTP client. A code editor will provide not only line numbering but syntax and error highlighting, well, most of them will, and you would need to use an FTP client anyway if you ever made a PHP error.
I use Komodo Edit and Yummy FTP most of the time and NetBeans for bigger projects.
John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography
February 1, 2013 at 6:27 pm #17270Thanks again. I will look at the recommended tools.
I did manage to simply slog through until I found Headlines and then made the change. Looks much better in terms of closer to what I envisioned.
I know these must seem like very simple questions, but that’s where I am…baby steps. Thanks. I really appreciate the help.
Howard
February 1, 2013 at 6:27 pm #17271 -
AuthorPosts
You must be logged in to reply to this topic.