Ready to get started?Download WordPress


editing wp-layout.cc, etc (8 posts)

  1. shirleychan
    Posted 9 years ago #

    Hello again... thanks for the other tips in customising WordPress. I have another problem: how do you edit the font size of the main entries? I tried modifying #content in the wp-layout.css template, with the font-size set as 11pt but the entries still remain as 9pt! What should I do? here's the link to my site:
    Please help me again. Thanks very much...

  2. Root
    Posted 9 years ago #

    The css seems to be having very little effect on certain aspects of your page at all. You could try styling .storycontent but I am not hopeful.

  3. NuclearMoose
    Posted 9 years ago #

    Look in your CSS file for the p selector. That is what sets the font by default in everything that is wrapped in a p tag.
    Now, if you want to leave most of the paragraphs the way the p selector is already set, then create a new selector thusly:
    #content p {
    -define your style-
    That way, any p falling inside of the content div will be styled accordingly.

  4. Root
    Posted 9 years ago #

    Ah wait. Font sizes need to be in px not pt. HTH.

  5. shirleychan
    Posted 9 years ago #

    Oh... but may I ask, too, if .storycontent is also in the wp-layout.css file? I keep on searching for it to no avail. And thanks for the tip on the font-size in px instead of in pt. Still I am baffled as to why tis so (?.?)
    Thanks! I hope you could answer my question for the second time...

  6. Mark (podz)
    Support Maven
    Posted 9 years ago #

    If .storycontent is not in your css, just add it.
    Text is much better in px because that will appear better for your visitors. Pt size, as far I can remember, can be different between machines, and scales very badly. Px is better in this respect.

  7. shirleychan
    Posted 9 years ago #

    Hello again... I added .storycontent with a font-size of 15px. But still the body of my news is still in the same font size! What must be done? Help again. I'll gladly appreciate it...

  8. shirleychan
    Posted 9 years ago #

    Ah, I think it's #content p { instead if .storycontent... :) Hehe. I got it now. Thanks :)

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.