Font Size and Style Change For Posts and Pages

  • Profile picture of Anthony Jones Anthony Jones said 3 months, 1 week ago ago:

    Hi TJ,

    Just curious how I could change the font size and style for ONLY the posts and pages and NOT a users wall.

    What style sheet should I look under?

  • Profile picture of TJ Chester (Admin) TJ Chester (Admin) said 3 months, 1 week ago ago:

    @anthony in default.css find div.post p, div.page p, there you will need to add ALL font styling, you may need to add !important to each attribute to make certain no other styles effect your new styling.

  • Profile picture of Anthony Jones Anthony Jones said 3 months, 1 week ago ago:

    Ok so I want to make the font Arial and 14 px. Would it look like this or can you please show me where to add the !important attribute:

    div.post p, div.page p { margin: 0 0 20px 0; }
    div.post ul, div.post ol, div.post dl,
    div.page ul, div.page ol, div.page dl { margin: 0 0 18px 3em; }
    div.post ul, div.page ul { list-style: square; }
    div.post ol, div.page ol { list-style: decimal; }
    div.post ol ol, div.page ol ol { list-style: upper-alpha; }
    div.post dl, div.page dl { margin-left: 0; }
    div.post dt, div.page dt { font-size: 14px; font-weight: bold; font-family: arial ; }
    div.post dd, div.page dd { margin: 0 0 15px 0;}
    div.post ul ul, div.post ol ol, div.post ul ol, div.post ol ul,
    div.page ul ul, div.page ol ol, div.page ul ol, div.page ol ul {
    margin-bottom: 0;

  • Profile picture of TJ Chester (Admin) TJ Chester (Admin) said 3 months ago ago:

    @anthony take this: div.post p, div.page p { margin: 0 0 20px 0; }
    Make it look like this:
    div.post p, div.page p { margin: 0 0 20px 0; font-zise: 14px; font-family: arial; font-weight: bold;}

    If that does not work try this:
    div.post p, div.page p { margin: 0 0 20px 0; font-zise: 14px !important; font-family: arial !important; font-weight: bold !important;}

  • Profile picture of TJ Chester (Admin) TJ Chester (Admin) said 3 months ago ago:

    Make sure you encapsulate ALL text in

    tags in your posts

  • Profile picture of Anthony Jones Anthony Jones said 2 months, 3 weeks ago ago:

    This did not work unfortunately. Here is what I currently have in the default.css file.

    }
    div.post p, div.page p { margin: 0 0 20px 0; font-size: 14px !important; font-family: arial !important; font-weight: bold !important;}
    div.post ul, div.post ol, div.post dl,
    div.page ul, div.page ol, div.page dl { margin: 0 0 18px 3em; }
    div.post ul, div.page ul { list-style: square; }
    div.post ol, div.page ol { list-style: decimal; }
    div.post ol ol, div.page ol ol { list-style: upper-alpha; }
    div.post dl, div.page dl { margin-left: 0; }
    div.post dt, div.page dt { font-size: 14px; font-weight: bold; font-family: ; }
    div.post dd, div.page dd { margin: 0 0 15px 0;}
    div.post ul ul, div.post ol ol, div.post ul ol, div.post ol ul,
    div.page ul ul, div.page ol ol, div.page ul ol, div.page ol ul {
    margin-bottom: 0;
    }

  • Profile picture of TJ Chester (Admin) TJ Chester (Admin) said 2 months, 3 weeks ago ago:

    @anthony I notice my last post removed the p element, what I meant was make sure to encapsulate all text in

    tags to make sure they are formatted properly.

    I also checked your page and did not see the code above anywhere in your default.css…are you sure you are editing to correct file in the buddyboss/_inc/default.css?

  • Profile picture of Anthony Jones Anthony Jones said 2 months, 3 weeks ago ago:

    ok so is the code I just pasted from above correct? If the answer is yes, then this is something I am doing wrong.

    Is it possible to attach the file to you in a message?

  • Profile picture of Anthony Jones Anthony Jones said 2 months, 3 weeks ago ago:

    I figured it out! It was http://www.cloudflare.com that cause the issue. It is a powerful way to increase performance but it caused the CSS to not function properly. Thanks for your help!

    I would like to write a testimonial for you if possible. You have been a Huge help and I believe in giving credit where credit is due. Let me know if that is even possible!

You need to log in or to participate in this forum topic.