• Hello.

    I have just set up my site the way I like, and am now starting to post blogs.

    I just wondered though if it is possible to change some of the text in a post you are making to different colours?

    I have tried using basic html tags to do it as well as posting full html, but nothing seems to work.

    I am guessing there is a setting that I can changed to allow html code or allow just add another basic tag like a style span tag e.g.

    <style type=”text/css”>
    <!–
    .style1 {color: #0000FF}
    –>
    </style>

    <span class=”style1″>
    This will now be colour #0000FF “blue”
    </span>

    I don’t really want to allow everyone to post whatever html they want, but to allow a tag that makes text coloured would be great for differentiating texts in a post.

    Thanks for any help

    John

Viewing 3 replies - 1 through 3 (of 3 total)
  • There’s no setting as such – you just need to add whatever you wish into the css.
    If you simply added:
    .style1 {
    color: #0000ff;
    }
    then used it as you illustrated all should be good.

    Thread Starter john10001

    (@john10001)

    Hello.

    I tried adding this to the css. I added 4 styles each with different colours. However when I add the tags e.g.

    <span class=”style1″>
    This will now be colour #0000FF “blue”
    </span>

    It is still displayed as regular black coloured text.

    Could there be an option somewhere within the admin section that only allows certain tags in a post that is preventing this?

    Thanks

    John

    Noting should block it – can you give us a link to your blog again so we can see the css and play around with it ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Posting a blog with html tags’ is closed to new replies.