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

Master Page Template - using different colours on child pages

Explorer ,
Jul 15, 2022 Jul 15, 2022

Copy link to clipboard

Copied

Hello everyone.

I have an issue I could use some help on.

I have been provided a logo by a client, and it has a line of text in it that can be requested to be changed. The name text can change, and also the colour.

My question is:
Can I have this logo set up on a master page, so that when I change the text, it can update on multiple pages - with each page using a different colour?

It would make life 100x quicker, I could just type the new text in, and have the pages with a colour change effect, then export out.

Thanks for any help.

TOPICS
Feature request , How to , Scripting

Views

321

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

Community Expert , Jul 15, 2022 Jul 15, 2022

You can use a text variable for this. Apply character styles that set a colour to any instances of the text variable. When you change the variable's content all instances are updated and each instance keeps the colour applied by a character style.

P

Votes

Translate

Translate
Explorer , Jul 15, 2022 Jul 15, 2022

This worked well thanks everyone!
- I also found another way with the content collector.
I linked all the text boxes across each page, and had character styles set up for them with different colours.
It took way longer to set up... But now means I can just type on page one and it changes across all spreads keeping the different colours.

Pros and Cons of both I guess! "Longer intial VS Longer post" Appreciate the help!


Votes

Translate

Translate
Community Expert ,
Jul 15, 2022 Jul 15, 2022

Copy link to clipboard

Copied

You can use a text variable for this. Apply character styles that set a colour to any instances of the text variable. When you change the variable's content all instances are updated and each instance keeps the colour applied by a character style.

P

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 ,
Jul 15, 2022 Jul 15, 2022

Copy link to clipboard

Copied

Ah thats perfect thank you!

Do I have to re-define the variable each time I want the text to change? Or is there a way to just type into the variable from the main layout view?

Thanks

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
Community Expert ,
Jul 15, 2022 Jul 15, 2022

Copy link to clipboard

Copied

You need to change the text in the Text Variable window.

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
Community Expert ,
Jul 15, 2022 Jul 15, 2022

Copy link to clipboard

Copied

What Peter said is the exact way I have done this in the past. Very quick and easy to control.

Depending on how the content / new text is coming to you there is an import XML option but this needs some formatting of the text box and formatting in the xml file to make it work. Peter's suggestion is fast and easy for simple straight forward documents and edits.

Ian

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 ,
Jul 15, 2022 Jul 15, 2022

Copy link to clipboard

Copied

This worked well thanks everyone!
- I also found another way with the content collector.
I linked all the text boxes across each page, and had character styles set up for them with different colours.
It took way longer to set up... But now means I can just type on page one and it changes across all spreads keeping the different colours.

Pros and Cons of both I guess! "Longer intial VS Longer post" Appreciate the help!


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
Community Expert ,
Jul 15, 2022 Jul 15, 2022

Copy link to clipboard

Copied

Hi @Aidan_C, I'd love to understand your technique. Would you mind explaining how it works? Are you still using a text variable?

- Mark

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 ,
Jul 18, 2022 Jul 18, 2022

Copy link to clipboard

Copied

So if you do the following:
Step 1: Set up a text box, then create you character styles. Make one character style for each colour.

Screenshot 2022-07-18 at 10.42.11.png

Step 2: Press B to bring up the Content Collector - make sure you have the 1st button (circled) selected, and click the text box to collect

Screenshot 2022-07-18 at 10.42.33.png

Step 3: Click the second button, have create link and map styles ticked (circled)

            Click the pen icon (second circle)

Screenshot 2022-07-18 at 10.42.42.png

Step 4: With the box that comes up, change the "Style Type" to character, then click "New Style Mapping" and change the "source style or style group" and "mapped style or style group". (you will see your set up character stlyes in these drop downs).
This is important: The first style (Source Style or Style Group) must be the same as the text box you set up.
Its now saying it will map from "Black (master/original text box)" to "Cyan (our secondary text box)

Screenshot 2022-07-18 at 10.43.11.png

Step 5: Once you have hit ok and closed down the style tab, you can click on the page to add a new text box. Ive done this for all my character styles (see below) - changing the "Mapped Style or Style Group" for each colour I want. If I change the text "London" to "Liverpool" you can see it will break the links.

Screenshot 2022-07-18 at 10.44.51.png

Step 6: Refresh links and click Yes on the pop up

Screenshot 2022-07-18 at 10.44.59.png

As you can see it all updates and keeps the character styles! So you can have these on different pages to export ect or whatever may work for you.

 

Screenshot 2022-07-18 at 10.45.04.png

Hope that makes sense!

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
Community Expert ,
Jul 18, 2022 Jul 18, 2022

Copy link to clipboard

Copied

LATEST

Thanks @Aidan_C, that's fascinating. I've never seen those options used. Thanks for taking the time to walk me through it. - Mark

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