• Resolved jhodara

    (@jhodara)


    Hi
    I need to know why entry-content shows up with line breaks before and after itself. Check out this url: https://www.freewaycreative.com

    heres my css for entry-content:

    .entry-content {margin-top:0px; font-size:26px; color:#CCC; font-weight:300; border: dashed 1px #666; padding: 6px; }

    Its not a paragraph, just a div, so I see no reason for those breaks.

    Is there a function I can alter for this?

    Thanks

Viewing 1 replies (of 1 total)
  • Thread Starter jhodara

    (@jhodara)

    Nevermind, solved.

    remove_filter(‘the_content’, ‘wpautop’);

    This did the trick. wpautp auto formats a lot of the text. filter that out and were good

Viewing 1 replies (of 1 total)
  • The topic ‘Auto formatting of entry content’ is closed to new replies.