Welcome Guest! You need to login or register to make posts.



Go to last post Go to first unread
#1 Posted : Tuesday, April 2, 2019 7:29:12 AM(UTC)

Rank: Newbie

Groups: Member
Joined: 4/1/2019(UTC)
Posts: 6

Is it possible to format TextLayer with CSS via this API?

A PSD file with a simple TextLayer.
And I want to add this .css formating:

font-size: 48px;
font-family: "Arial";
color: rgb(0, 0, 0);

text-shadow: 0 0 3px rgba(117,117,117,1) ;
opacity: 0.49;

line-height: 1.2;
text-align: left;
-moz-transform: matrix( 1,0,-0.04288069702515,1.17234940394686,0,0);
-webkit-transform: matrix( 1,0,-0.04288069702515,1.17234940394686,0,0);
-ms-transform: matrix( 1,0,-0.04288069702515,1.17234940394686,0,0);
position: absolute;
left: 198.159px;
top: 415.75px;
z-index: 4;
#2 Posted : Tuesday, April 2, 2019 8:33:28 AM(UTC)

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,656

Thanks: 5 times
Was thanked: 75 time(s) in 73 post(s)

You can not use the standard CSS format, but Customer's Canvas has its own format of styling text (we implemented it as typography settings in HTML are pretty limited):


You can rotate text and add shadow as well:


If you need a code sample of rendering please send us a source PSD file as well as the desired result.

Edited by user Tuesday, April 2, 2019 8:34:29 AM(UTC)  | Reason: Not specified

Best regards,
Fedor Skvortsov
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.