• Resolved tmillerwriter

    (@tmillerwriter)


    The font is small and I want to use CSS to change it for the whole site. I have three places to do that, and I put a font-size line in all three, but with no impact. What am I doing wrong?

    http://www.voltrek.com

    [CSS moderated as per the Forum Rules. Please just post a link to your site.]

Viewing 5 replies - 1 through 5 (of 5 total)
  • David

    (@thatseoguydavid)

    look for this line
    .voltrek_homepage p{font-size:12px}
    change it to something larger

    Thread Starter tmillerwriter

    (@tmillerwriter)

    Sorry, I broke a rule and put in lines of code. I’ll read those over to not break more rules.

    But, as to your advice, I actually put that line in. It wasn’t there, and I did make it 14px, with no effect.

    So something else is controlling the font size, but I don’t know what/where.

    Help?

    Your p tag’s text is wrapped in a span with inline style font-size: small; remove that first as it will override your styles from an external file. Either check you theme how this is generated or perhaps a plugin you might have installed.

    Thread Starter tmillerwriter

    (@tmillerwriter)

    Yes, I saw that, too, in Firebug. When you say “remove,” is that from the CSS?

    The page text is generated by a Simple Side Navbar Widget with individual Page Templates each associated with the homepage, master page, and single content page where small shows up, but those template pages don’t seem to specify a “small” font for the text.

    And there is something at the top of that CSS thats seems to suggest a reduction of font size

    body {
    	/*KWI font-size: 62.5%; *//* Resets 1em to 10px */

    but I don’t understand what KWI means or how or if that affects text size.

    Thread Starter tmillerwriter

    (@tmillerwriter)

    Oh goodness, never mind. The spans are all on each individual page. Remnants of other another person’s work, rather than using CSS to guide.

    Thx.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘CSS font-size line has no effect’ is closed to new replies.