Need help? Check out our Support site, then


changing the default font, colour and size in posts !!!

  1. hi,

    i checked all around google. can you please let me know how to make the font, colour and size of the text in all my posts default? meaning that every time i write a new post entry it will be in that exact colour ,size etc and i dont have to change the html each time..
    i purchased the custom css editor and the website is http://www.diamondsandspikes.com

    please help
    thanks!!!
    zhenya

    The blog I need help with is diamondsandspikes.com.

  2. To change the text in all of the posts at once instead of changing the HTML inside posts each time, you could add a rule like this to your Appearance → Custom Design → CSS page:

    body {
    	color: #b45f06;
    	font: 12px/16px Arial, Helvetica, sans-serif;
    }

    Note that this is a base setting, it will affect any body text that does not have a more specific rule set for it. That includes the posts where you used HTML to set font color, size, etc manually. To change fonts for those areas that you already modified, you would need to remove the extra HTML rules you added or try to figure out a way to modify the areas you already added really specific CSS with even more specific rules. The first option is better and cleaner; the second option to try to override the HTML you already added to manually setup styles can be done but isn't ideal and could override areas of text that you still wanted to style differently from the other text. The second example is a blanket override for any span tags, which is what you've used to manually update font color, style, etc in your posts . Here is an example of how it might work:

    .content span {
    	color: red !important;
    	font: 12px/16px Arial, Helvetica, sans-serif !important;
    }

    Try out the first example for a new post first and use that one if it works for you.

Topic Closed

This topic has been closed to new replies.

About this Topic