• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Text frames are not snapping to margins

Explorer ,
Feb 14, 2022 Feb 14, 2022

Copy link to clipboard

Copied

I see many people have a similar problem, but I cannot find a solution that is working for me. I highlighted all of the pages in the Page panel and then went to Layout --> Margins and Columns and reduced my margins. The margins changed, but the text frames did not. I went to File --> Adjust Layout but nothing happened. Do I really have to manually adjust every text frame?

 

Thanks!

TOPICS
How to

Views

681

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 2 Correct answers

People's Champ , Feb 15, 2022 Feb 15, 2022

There's a script I wrote that comes with InDesign called "Snap Margins to Text Frame". If you open the Community folder in the Scripts Panel in InDesign you should find it there.

Since your margins are no longer the same as your text frame, select a text frame on a right-hand page and run the script. Now all the margins will snap to the dimensions of that frame.

Now, resize that text frame to the size you want and run the script again. All the margins and all the text frames that were sitting on

...

Votes

Translate

Translate
People's Champ , Feb 15, 2022 Feb 15, 2022

When you ran the script the second time, there was no difference between the size of the text frame and the size of the margins, so nothing happened.

The first step you did was correct -- moving the margins back to the frame size.

The second step should have been simply: Select a text frame on a right-hand page. Change the size and position of that frame to whatever you need. Then run the script. The script itself will snap the margins throughout to the selected text frame, and readjust all the

...

Votes

Translate

Translate
Community Expert ,
Feb 14, 2022 Feb 14, 2022

Copy link to clipboard

Copied

Once the text frame is attached to the margin - then you  use Adjust Layout and the text frames adjust to the new margin positions.

Do not adjust your margins first. 

You only need to use Adjust Layout and set your margins there only.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 14, 2022 Feb 14, 2022

Copy link to clipboard

Copied

I thought my text frames already were attached to the margins when I changed them. How do I fix this now that I apparently did this in the wrong order?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Feb 15, 2022 Feb 15, 2022

Copy link to clipboard

Copied

There's a script I wrote that comes with InDesign called "Snap Margins to Text Frame". If you open the Community folder in the Scripts Panel in InDesign you should find it there.

Since your margins are no longer the same as your text frame, select a text frame on a right-hand page and run the script. Now all the margins will snap to the dimensions of that frame.

Now, resize that text frame to the size you want and run the script again. All the margins and all the text frames that were sitting on those margins will be resized to match the selected frame.

This is essentially the same as Adjust Layout, but it works more reliably in my opinion.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 15, 2022 Feb 15, 2022

Copy link to clipboard

Copied

Well, that script successfully moved the margins back to the text frame size. Then I went to Layout --> Margins and set them to the desired size. As seen before, the text frames did not resize, so I manually resized that text frame to the margin, and ran the script again. Nothing happened. All my other text frames are still the smaller size and have not snapped to the new margin size.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Feb 15, 2022 Feb 15, 2022

Copy link to clipboard

Copied

When you ran the script the second time, there was no difference between the size of the text frame and the size of the margins, so nothing happened.

The first step you did was correct -- moving the margins back to the frame size.

The second step should have been simply: Select a text frame on a right-hand page. Change the size and position of that frame to whatever you need. Then run the script. The script itself will snap the margins throughout to the selected text frame, and readjust all the other frames as well.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 19, 2023 Sep 19, 2023

Copy link to clipboard

Copied

LATEST

TAW, I see that I neglected to thank you. I ran into this issue again today and was able to walk through your suggestions and fix it without tearing my hair out. Thank you!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines