Support » Plugin: Asgaros Forum » Crazy Line spacing?

  • Why is line spacing so tragically wrong (non standard)?

    Adding a line break adds a big gap between lines among other very odd issues with spacing (very atypical of WordPress).

    Thank you otherwise for a fine plugin – this being the most glaring failure.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Asgaros

    (@asgaros)

    Hello @tvcnet

    Do you have a link to your site so I can check your CSS? Basically when you press enter, a new paragraph is created (the standard WordPress behavior). The gap between two paragraphs should basically not bigger than one line. If its looking different, there could be some problem with some styles from your theme, so it would be nice if you could let me check it. πŸ™‚

    Thread Starter The Hack Repair Guy

    (@tvcnet)

    It’s so bad, that in this example I’m actually having to put periods between paragraphs to allow them to be separated. The plugin seems to be stripping line breaks oddly.

    https://goo.gl/b9mYtm

    Site is:
    sandiegoarchers .com

    Plugin Author Asgaros

    (@asgaros)

    Thank you for the link. I will check it tomorrow and will try to find a fix for this. πŸ™‚

    Plugin Author Asgaros

    (@asgaros)

    Hello again, @tvcnet

    Can you try to replace the following code (around line ~484) in
    asgaros-forum/skin/style.css

    From:

    #af-wrapper .post-message p {
        margin: 0 0 20px;
    }

    To:

    #af-wrapper .post-message p {
        margin: 0 0 20px;
        padding: 0px; /* comp */
    }

    Does this help?

    • This reply was modified 4 years, 1 month ago by Asgaros.
    Thread Starter The Hack Repair Guy

    (@tvcnet)

    Seems to have helped some with line spacing, but the real issue is that line breaks as you see here:
    https://goo.gl/OGNh35

    Turn into this after posting.
    http://sandiegoarchers.com/sda-questions-answers?view=thread&id=14&part=1#postid-16

    Your thoughts?

    Thread Starter The Hack Repair Guy

    (@tvcnet)

    I found that by changing this style item in yellow from 0 to 10 that it did put spacing between paragraphs:

    https://goo.gl/2vNde8

    That help in your review?

    Thread Starter The Hack Repair Guy

    (@tvcnet)

    On second thought, I think your updated CSS is fine.
    I added into my child theme.

    It’s apparent that my copy/pasting the text from another website likewise pulled over some confusing CSS elements causing the text to clump together unexpectedly.

    Plugin Author Asgaros

    (@asgaros)

    Fine, I am happy that it seems to work now! πŸ™‚

    I wondered about the CSS around your elements and thought that it maybe was added by your theme. Copy & Paste is a good explanation for this.

    Thread Starter The Hack Repair Guy

    (@tvcnet)

    The lack of a raw text edit option may create more tickets for you in future (hint).
    πŸ™‚

    Thank you for the wonderful plugin.

    Plugin Author Asgaros

    (@asgaros)

    Hello again, @tvcnet

    basically you can already do something like this when adding the following code to your themes functions.php file:

    function change_editor_settings($settings) {
    	$settings['quicktags'] = true;
    	return $settings;
    }
    add_filter('asgarosforum_filter_editor_settings', 'change_editor_settings');
    Thread Starter The Hack Repair Guy

    (@tvcnet)

    In case no one has told you this recently,
    You are awesome!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Crazy Line spacing?’ is closed to new replies.