frog1944
frog1944

Reputation: 245

Wordpress Line Break <br/>

In wordpress I'm unable to do a line break without going into the text editor and doing

    <br/>

Even then it tends to reset itself. Multiple "enters" don't work either. Any suggestions?

Upvotes: 0

Views: 3989

Answers (1)

Skipp
Skipp

Reputation: 77

Some themes are made so they escape extra line breaks, and that could be the reason you can't make any.

Without knowing your theme, I can't help you much, but you could create a custom shortcode just for breaklines or even style it like a divider or something:

// divider shortcode
function divider_func(){
    return '<div class="divider"></div>';
}
add_shortcode( 'divider', 'divider_func' );

then just use CSS to make it however you want. something like

.divider{margin-top:20px}

Now just put "[divider]" (without the quotemarks) in your post text where you want the gap to appear

Upvotes: 2

Related Questions