Simple Line-break (3 posts)

  1. binbin
    Posted 8 years ago #


    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 ?


  2. ikiru
    Posted 8 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
    Posted 8 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.

Topic Closed

This topic has been closed to new replies.

About this Topic