Skip to main content
Participant
June 7, 2025
Answered

How do i fix the page spacing on this project?

  • June 7, 2025
  • 2 replies
  • 685 views

I keep having this issue where some of the page spreads have a huge vertical space between them, and I'm not sure how to get rid of it??

 

I've tried setting the vertical pasteboard options to zero, but this only resets the ones that are currently spaced correctly already.

    

Correct answer rob day

See link to file here—https://www.transfernow.net/dl/20250610n83ZrUXq (it's a large file so i can't drag and drop)


Looks like there are some hidden objects on the pastboard. I ran this script to remove them, which dropped the file size from 100mb to 20mb and fixed the gap problem. I’ve attached the fixed file and here is the script:

 

var p = app.activeDocument.allPageItems;
var c = 0
for (var i = 0; i < p.length; i++){
    try {
        if (p[i].parentPage == null) {
            p[i].remove()
            c++
        } 
    }catch(e) {
    }
};

alert(c + " Items removed from the pasteboard")

 

 

 

 

 

2 replies

Abhishek Rao
Community Manager
Community Manager
June 9, 2025

Hi @Mary35352402nyxk,

 

I'm checking in to see if the expert's suggestion helped fix the issue. If you're still seeing the problem, feel free to share a few more details, like your InDesign version, operating system, and whether this happens across all files or just this one.

 

Looking forward to hearing how it's going!

Abhishek 

Participant
June 10, 2025

Yeah, I've tried following the above advice, but it's still not been fixed yet. So far it's only been happening with just this one file; the other ones are fine, so I think maybe this one has been corrupted somehow? It was a file that was duplicated from another file that was created by my colleague last year on a different Mac (not sure of the specs).

 

Please see my software/hardware info below:

 

Adobe InDesign ver. 20.3.1

Hardware ver. MacBook Pro 14, Apple M3 pro chip, memory 18gb

OS version Sequoia 15.5

 

rob day
Community Expert
rob dayCommunity ExpertCorrect answer
Community Expert
June 10, 2025

See link to file here—https://www.transfernow.net/dl/20250610n83ZrUXq (it's a large file so i can't drag and drop)


Looks like there are some hidden objects on the pastboard. I ran this script to remove them, which dropped the file size from 100mb to 20mb and fixed the gap problem. I’ve attached the fixed file and here is the script:

 

var p = app.activeDocument.allPageItems;
var c = 0
for (var i = 0; i < p.length; i++){
    try {
        if (p[i].parentPage == null) {
            p[i].remove()
            c++
        } 
    }catch(e) {
    }
};

alert(c + " Items removed from the pasteboard")

 

 

 

 

 

BobLevine
Community Expert
Community Expert
June 7, 2025

Could be something wonky with the pasteboard settings. Try saving/exporting the document to IDML and then open that.

Participant
June 10, 2025

Ive tried re-saving as an IDML, but it's still showing the spaces, unfortunately. 😕😕