Need help? Check out our Support site, then


How do I use HTML in blog?

  1. I've used other WP CMS interfaces that allowed me to use HTML (those ones I didn't set up so I'm not sure if they're upgraded, etc.), but when I try it in my blog with the free template, the HTML doesn't work. I'm writing it into the "text" tab, as I would in any other CMS.

    Any ideas, thoughts, suggestions?

    Thanks!

    The blog I need help with is unreasonablyhealthy.wordpress.com.

  2. Eaxctly what is the code that you are entering for?
    See > http://en.support.wordpress.com/code/

  3. Will you also please post the URL for the blog you are referring to? Changing headers does not require coding.
    custom image header http://en.support.wordpress.com/themes/custom-header-image/

    Note: These are 3 ways to change fonts on wordpress.com blogs.
    (1) Changing font families, colors and size in text in posts or pages either post by post or page by page by coding into the HTML editor.
    http://wpbtips.wordpress.com/2009/07/11/formatting-text-pt-5/

    (2) Changing font colors in text in posts or pages either post by post or page by page using the #4 icon (Select text color – change the text color) in Row 2 the Visual editor. http://en.support.wordpress.com/visual-editor/#row-2

    (3) Changing all font families, colors and sizes throughout the whole blog by purchasing an annually renewable Custom Design upgrade and using Typekit Fonts with Staff support. http://en.support.wordpress.com/custom-design/#custom-fonts
    http://en.support.wordpress.com/custom-design/#custom-colors

  4. Hey Timethief,

    Thanks for replying & the great info. I'm trying to change font size -- the problem is that the HTML actually disappears. I realized this when I went back to where I entered it after nothing changed on the front-end. I did some double-checking to make sure I coded correctly, just to be safe.

    I checked out some of the links, and they confirmed I should be able to do this in the text post/page editor. Am I missing something perhaps? Or is their a bug?

  5. Will you please post the URL starting with http:// for the exact site you are working on?

  6. OK, OK -- I figured it out--I needed to use "span style" vs. "font size". Er, not trying to be dense but can you help me understand if the latter was phased out or if "span" is just something WP requires.

    Thanks again.

  7. http://www.thesoulfool.com

    Not much there, it's new. Sorry I left out of previous msg.

  8. This thread will be moved to the CSS Forum for you.
    You do not use the text editor when CSS editing.
    Here is the link to the Reddle stylesheet.
    https://wpcom-themes.svn.automattic.com/reddle/style.css

    Please also read this entire section which I will post only an excerpt from:

    Does the Custom Design upgrade let me edit HTML?
    No. The Custom Design upgrade allows you to edit fonts and CSS only. You can change the appearance of a theme, but not its HTML markup, PHP code, or content. http://en.support.wordpress.com/custom-design/#frequently-asked-questions

  9. a) This thread will not be moved to the CSS Forum for you, because you don't seem to have the Custom Design upgrade and you're asking about the Text editor, not the CSS editor.

    b) The font tag and other related tags are deprecated.

    c) Using "span style" isn't necessarily correct. What exactly do you want to change - the font size of a word, a paragraph, a whole post?

  10. Thanks, justpi -- I am asking about the text editor, and that makes sense about the font tags.

    What would be correct in place of "span style"? It worked but I don't want to make it work with duct tape and string, ya know?

    I want to change the font size of a line of text, to highlight it.

  11. @justpi

    This thread will not be moved to the CSS Forum for you, because you don't seem to have the Custom Design upgrade and you're asking about the Text editor, not the CSS editor.

    Excuse me but this is the footer I see on the blog that rebeccaxcollins provided the URL for above when I asked for it. http://www.thesoulfool.com

    Blog at WordPress.com. | Theme: Customized Reddle by Automattic.

    I don't get it. Why would anyone who has a CSS upgrade on a blog piddle around using the Text editor to chnage fonts post by post and page by page each and every time they publish one or the other forevermore ? Why wouldn't they use CSS editing to change the font selectors throughout the blog? http://en.support.wordpress.com/custom-design/#custom-fonts
    https://wpcom-themes.svn.automattic.com/reddle/style.css

  12. @rebeccaxcollins
    Please confirm whether or not this blog --> http://www.thesoulfool.com/ is the exact blog in question or not?

  13. It is indeed.

    And lol, you're assuming that everyone has coding skills inline with yours! I have to use what skills I have, limited they may be -- unless someone wants to code my CSS for me. ;)

  14. I'm not assuming that anyone has coding skills. In fact WordPress.com is a platform for those who aren't into coding at all. If we don't like the fonts the theme designer defines for our themes that's what the CSS upgrade can be used to address.

    We can change all font families, colors and sizes throughout the whole blog by purchasing an annually renewable Custom Design upgrade and using Typekit Fonts with Volunteer and/or Staff support. http://en.support.wordpress.com/custom-design/#custom-fonts

    Choice one:
    In the CSS forum get assistance to identify and change the font selectors throughout the blog so the fonts are the (style, color) size you want appear throughout the blog.

    Choice two:
    Use the Text editor and code the font change for the body content in every post and page that you create before publication.

  15. Sheesh! I just realized I'm off track here. I thought you want to chnage font size throughout the blog.

    I want to change the font size of a line of text, to highlight it.

    <style> Style tag is used to write inline CSS.

    You asking for help with coding font size in a single line of body text and justpi willl supply what you need when he logs in.

    Sorry :(

  16. Style tag is used to write inline CSS.

    There's no "style tag": style is an attribute, not an HTML tag.

    I want to change the font size of a line of text, to highlight it.

    Should that line of text be a separate paragraph (i.e. with blank space above and below it) or not?

  17. The line of text would be separate, w/blank space both above and below.

  18. It's OK Timethief, I appreciate the info you gave and maybe it'll come in handy some day.

  19. @rebeccaxcollins
    Thanks so much for being gracious. I truly appreciate it.

  20. @rebeccaxcollins: The span tag pair is used to style characters, words or phrases inside a paragraph. To style a complete paragraph or any other complete content block, you add the style attribute in the opening tag for that block. And the correct way to change the font size is by a percentage. So, in this case:
    <p style="font-size:120%;">TEXT HERE</p>
    Change the percentage to adjust the size.

  21. I have a sort of same problem. I would like to paste this iFrame in a blogpost but it does not work.

    <iframe class="" src="http://www.X.com/widgets/offerte.php?lang=nl&cc=SWZELFST" frameborder="0" scrolling="NO" width="600" height="400"></iframe>

    First I had a free theme. Now I have bought a premium theme but without any luck.

  22. Not the same problem at all: on wordpress.com we're not allowed to use iframe codes, for security reasons, so an iframe gets automatically stripped out when you click Save or Update or when you toggle between Text and Visual.

Topic Closed

This topic has been closed to new replies.

About this Topic