WordPress.org

Ready to get started?Download WordPress

Forums

Simple Line-break (3 posts)

  1. binbin
    Member
    Posted 6 years ago #

    Hello,

    I have a problem with my theme, the simple line-break doesn't work.
    When I type "enter" on the visual editor and see the result on my page there's no line-break.
    How I can fix that ?

    Thanks

  2. ikiru
    Member
    Posted 6 years ago #

    I'm not sure I understand your problem fully, but two things come to mind. The first is that this sounds like an error that existed for versions of WordPress older than 2.5 on Safari. In that, all your paragraph breaks would disappear from the visual editor and so wouldn't be displayed right by any theme.

    If it's an issue specific to your theme, it may simply be that your stylesheet is missing either margins or padding around the paragraph (p) element. That would keep your line breaks per se, but leave little space between your paragraphs.

    Hope one of those helps. If not, please try to elaborate your problem.

  3. binbin
    Member
    Posted 6 years ago #

    tx ikiru,
    Well I use wordpress 2.6 under firefox 3.
    If I use the default theme I have no problem.
    If I use a custom theme (currently in developpement) when I create a simple line-break under the visual editor of wordpress admin and check the result of my page (view page) there's no line-break.

    I have found on wordpress doc the part to add for to align images that have a caption here : http://codex.wordpress.org/CSS but I don't find the same for margin or padding paragraph elements.
    thanks

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags