In the first one, what follows immediately after the verb is a plural - paragraphs.
In the second one, what follows immedately after the verb is "an opening" - clearly singular. Although you can argue "an opening and closing" is clearly plural, having a plural verb right before "an opening"...