Skip to main content
Muhammad Sattar
Known Participant
January 16, 2025
Answered

text style

  • January 16, 2025
  • 2 replies
  • 599 views

Hi everyone, I am looking for a specific style for my text. I want to replace colon (:) after the first word in every paragraph and add a pink background to the first word, like in the attached image. I want to do this using paragraph nested style to automate it. How to do it? I am also attaching a plain InDesign file with the text. If someone can help or do it for me, I would really appreciate it. Thank you!

 

text:

 Prana : Promotes inner energy and relaxation by integrating mindful affirmations with poses.
Surya : A dynamic practice combining energetic sequences and breath synchronization.
Heat Flow : Centers on performing 26 structured poses in a heated room to improve flexibility.
Calm : Focuses on controlled breathing and gentle movements, perfect for beginners.
Align : Emphasizes proper posture using supports; poses are held longer for focus.
Shakti : Combines dynamic breathwork, mantras, and movements to channel internal energy.
Energy Boost : An intense routine designed to generate warmth and enhance stamina.
Self Path : Aids individuals in their personal journeys through spiritual growth and awareness.
Harmony : Merges mindful breathing, light exercises, and vegetarian principles for balance.
Restore : Targets holistic healing across physical, mental, and spiritual dimensions for specific conditions.
Gentle Flow : A calming yet transformative practice pairing gentle poses with rhythmic breathing.
Rhythm Yoga : Fuses smooth transitions between poses with breathing, creating a steady flow.
Fitness Blend : Tailored for modern health enthusiasts, combining strength, agility, and flexibility.

Correct answer Willi Adelberger

A colon could help here.

 

  1. create 2 character styles, 1 for the pink underlays and 1 to make the colon invisible (no character color, very small font size, like 0,1 pt and horizontal skale to 1%. 
    in the paragraph style use the pink style up to colon, the invisible style for 1:

2 replies

Community Expert
January 16, 2025

I am not sure if this can be done via Nested styles. However you can use the Find/Change feature for this. See the following screenshot for more details

-Manan 

-Manan
Robert at ID-Tasker
Legend
January 16, 2025

Or replace

 

(space)(:)(space)

 

to

 

(end nested style character)(space)

 

Muhammad Sattar
Known Participant
January 16, 2025

Sorry forgot to mention that I want desired style without using Colon/: thanks 

Willi Adelberger
Community Expert
Willi AdelbergerCommunity ExpertCorrect answer
Community Expert
January 16, 2025

A colon could help here.

 

  1. create 2 character styles, 1 for the pink underlays and 1 to make the colon invisible (no character color, very small font size, like 0,1 pt and horizontal skale to 1%. 
    in the paragraph style use the pink style up to colon, the invisible style for 1: