Hello,
There should always be only One .content-wrap on the Page as in the Default Templates. Example:
<!-- Content
============================================= -->
<section id="content">
<div class="content-wrap">
<!-- Your Content -->
</div>
</section>
And the .pt-0 Class should be applied only to the Specific Page that requires the Image to sticky on the Top without any Spacing. If you are using this dynamically, you will need to detect which specific page needs this Class to be applied.
Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.