Removing space between custom liquid sections

Please let me know if you know how to add the code, if not I will send you detailed steps to walkyou through it.