WordPress.org

Ready to get started?Download WordPress

Forums

How to add a code to the HTML editor (4 posts)

  1. erez_moledet
    Member
    Posted 1 year ago #

    I seem to have a problem in my website at
    http://www.buy-and-benefit.com/

    There is a gap between the top of the content area and the nemu.

    I made a test. I created a new page and wrote a few words at the top of the editor (once the visual, once for the HTML)

    It is here http://www.buy-and-benefit.com/?page_id=288

    I think that my problem is that I don't know how to work with the editor.

    Do I have to insert tags like <html></html><head></head><body></body>? because I did.

    So how do I use the editor?

  2. Doodlebee
    Member
    Posted 1 year ago #

    Do I have to insert tags like <html></html><head></head><body></body>? because I did.

    No. Those are handled by the theme files. If there's an issue between the content area and the menu, then it's the style.css file you want to fix (probably edit margin or padding on the menu)

    The editor has NOTHING to do with the presentation/layout of the site. All it affects is the content.

  3. erez_moledet
    Member
    Posted 1 year ago #

    Thanks for the instant reply.

    Does it mean that I cant insert a code for a table or a menu in the HTML editor? Just text and images? and make changes to them?

  4. Doodlebee
    Member
    Posted 1 year ago #

    No, you can insert code for tables and such (I think for tables, though, you need a plugin), but the HTML editor is a lot like using Microsft Word. There's buttons there to format the text. but the editor for posts and Pages is NOT for laying out the page - it's *solely* for the content of the page. The *theme* is for th elayout, and it pulls in the content.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.