-
richardphstocksParticipant
Hi,
It’s really a great theme; clean and professional-looking.
Meanwhile, I have a few questions (series of questions, as I am just starting to build my blog/website, and I have no prior experience doing it).
1. How can I change the size of the header font (blog title)?
2. How can I also make it bold or itals, those sort of things?I have been browsing the forum questions, but I can’t see a thread that is helpful.
I saw one question on the header size (width = 974), but I am trying to change mine in the funtions.php section of the editor, but I can’t seem to see any difference in my site after updating.
Sorry I am really a bit newbie here.
Thanks for your help.
Richard
Daniel TaraKeymasterThe width in functions.php specifies the width of the header block.
The blog title bears the identifier [code]#site-heading[/code]. To change it, create a file mystyle.css and insert a rule like this:
#site-heading { font-size: 45px; }
Of course, replace 45px with the size you want.
richardphstocksParticipantHello Daniel,
This will really sound stupid, but I don’t have anyone helping me. May I know how I could create a mystyle.css file? And what should it contain? And where should I upload it?
Sorry for these questions.
I do hope, though, that you could help me with that.
Thank you.richardphstocksParticipantBy the way, I also want to ask how to change the TEXT size of the body, not “test”.
Thanks.Daniel TaraKeymasterYou could just edit style.css and append the rules above to the file or you can open a program like notepad, add the rules above and save it as mystyle.css in the theme’s root directory.
richardphstocksParticipantHi Daniel,
Wow, it did work. THANK YOU SO MUCH!Meanwhile, may I know how to change the font? Is it limited to the ones set in your code?
#site-heading
{
font-family:Verdana, Geneva, “DejaVu Sans”, sans-serif;}
Or can I add the regular font styles we usually see in MS Word?I have another question again (sorry). How do I display the “Subscribe to Newsletter” in sidebar? I can’t see it in the widget selection. Or am I missing out on something here?
Thanks again for your help.
richardphstocksParticipantAnd yet, another question, Daniel. May I know how I could change the text/font size of the body of the article?
Thank you.Daniel TaraKeymasterYou can declare any font families for any specific section, although I recommend sticking to web safe fonts.
The font size of the content can be changed by changing the font-size attribute of the body element.
richardphstocksParticipantDaniel,
I’m sorry to appear stupid to you, but I just really don’t know: could you tell me where I could find that font-size attribute of the body element? I mean, is it in the style.css or page.php? And, could I change it directly? or should I add it in the mystyle.css?
Thank you so much…
Tagged: header
You must be logged in to reply to this topic.