• jerocarson

    (@jerocarson)


    Hi, everyone . .
    i was able to modify the font size of my comment section, but i have been trying to do same for my content/article area, but no luck . . .

    This is my part of my css code, where i think the tweek should be

    input, textarea {margin: 0; padding: 0; font-size: 100%;}
    ul {list-style: none;}
    img, fieldset {border: 0;}
    em {font-style: italic;}
    strong {font-weight: bold;}
    
    body {font-family:Arial, Helvetica, Tahoma, sans-serif; font-size: 62.5%; text-align:center; }
    a {text-decoration:none; color: #000; }
    a:hover {text-decoration:underline; }
    h1,h2,h3,h4,h5,h6 {font-weight: normal; margin:0; padding:0; }
    p {margin: 0 0 16px; }

    website . .
    article view

    Thanks, i ll appreciate any help . . .

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter jerocarson

    (@jerocarson)

    i tried changing both values in the front-size but it did not work also . . (i.e the code i posted above). thanks again

    ShdMstr

    (@shdmstr)

    you can always try to be more specific in your css example if you want all the paragraph color of your content be diferent than other the rule will be #content p {color: #whatUWant} if it’s a link—> #content a {color: whatUWant} a footer —> #footer a {color: #WhatUWant} — etc…

    The color in css it’s applied with hierarchy from general example body {color: #xxxx} and #content {color: #xxx} will be the last because it’s more focused where u want it …

    Hope this helps…

    In your code you have <div class="postcontent"> which contains the body of your text. The <p> breaks your text inside this to paragraphs.

    Your CSS should read

    .postcontent p {
        //style something
    }

    Thread Starter jerocarson

    (@jerocarson)

    @neil D’Souza, thanks so much, i was able to get the result with your explanation, i am new to wordpress, and that is my first site i built with it. thanks i appreciate.
    @shdmstr, thanks also, though i could not get tru with it,
    I appreciate all the help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Help with CSS content/article font size’ is closed to new replies.