Skip to content

Cocktail Card Designer Forums General Discussion Text in different colors?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #195
    Matthew Ransom
    Participant

    I’m making a deck of cards and I want the same text to appear black on some of the cards and red on other cards. How do I do this? Is it possible to put text color information as a line in my spreadsheet?

    #196
    Dan Goodman
    Keymaster

    You have 2 options here.

    1) Link the foreground of the text layer to the data using mapped link.
    2) Set the color of the text inline using the span tag.

    If all of the text color per card is the same, I’d go with #1. #2 is useful if you want different colors within the same block of text.

    For number 1, you just need some column in the spreadsheet that will affect the text color. In the foreground property of the text layer, select the Mapped link type. Select the column to map to, and then add 2 entries, one for the red mapping and one for the black mapping.

    • This reply was modified 4 years, 6 months ago by Dan Goodman.
    • This reply was modified 4 years, 6 months ago by Dan Goodman.
    #199
    Matthew Ransom
    Participant

    Thanks Dan! I went with option #1, which solved my problem.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

New Report

Close