bidmead

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Parabola BlockQuote Can't be Multiparagraph #84752
    bidmead
    Participant

    Ok, since that last post my attention has been drawn to the very useful margin-bottom variable. This appears to do the trick:

    /* Parabola Custom CSS */ 
    #content blockquote p {
    margin-bottom: 22px;
    }
    #content blockquote p:last-child {
    margin-bottom: 0;
    }


    Chris

    in reply to: Customizing blockquote #84695
    bidmead
    Participant

    I’m using the Parabola theme for our Tested Technology Web publication and ran into a problem with BlockQuotes when doing occasional editing with the Android version of WordPress.

    Parabola BlockQuotes don’t allow blank lines between paragraphs. A single blank line created in the Visual Editor (we have turned off Gutenberg) created with a single carriage return appears as such in the Visual Editor, but previews and publishes just as a linefeed.

    I discovered that it’s possible to kluge a blank line paragraph separator by using single carriage returns and then going back into the BlockQuote and inserting a second carriage return IN FRONT OF each previous carriage return.

    I needed to do this because a regular double carriage return exits the BlockQuote.

    This technique creates the desired multi-paragraph BlockQuote and the paragraph delimiter thus produced:
    </p>&nbsp;<p>
    …shows up in the Visual editor as a double blank line but appears in preview and on publication as a single blank line.

    This construct survives further WordPress edits, either Visual or Text. However, when the same post or page is edited in the Android version of WordPress it gets “cleaned” to a single blank line, appearing subsequently as a mere linefeed inside the BlockQuote.

    After a prolonged discussion with the excellent Android WordPress help desk, we came to the conclusion that this cleaning process was generally desirable and the bug lay with the need for this BlockQuote kluge.

    Alicia at the help desk came up with a counter-kluge, which is to add the following CSS to Parabola in order to restore the margin-bottom that BlockQuote removes:

    
    #content blockquote p {
        margin-bottom: 22px;
    }

    This fix does the job, except that it now introduces an undesirable additional blank line at the end of the last paragraph in the BlockQuote. I’m guessing that this is why Parabola’s BlockQuote coder removed the margin-bottom in the first place, assuming that it would only ever contain one paragraph.

    I’m hoping to be able to persuade Parabola’s devs that having multiple paragraphs inside a single BlockQuote is a desirable design goal and that this is a bug worth fixing.

    Alternatively/meanwhile, I’d welcome suggestions from the forum for an improvement on the Alicia counter-kluge that eliminates that extra terminal blank line.


    Chris

    • This reply was modified 5 years ago by bidmead.
    • This reply was modified 5 years ago by bidmead.
Viewing 2 posts - 1 through 2 (of 2 total)