Re: RTP Rich Media Recommendations - API Options - ?!

Luke_Wotton
Level 4

RTP Rich Media Recommendations - API Options - ?!

In the Rich Media Recommendations API it says you can change the font-size of the title with the following

"rcmd.title.font.size" : "26px"

It says nothing about changing any of the other size of fonts on the description section or the CTA.

Also, it says nothing about changing the font size of the title of each resource it pulls.

Seriously?

4 REPLIES 4
Lucho_Soto
Level 5

Re: RTP Rich Media Recommendations - API Options - ?!

Luke Wotton​ I agree that the customization options are currently very limited. I think it would be great to be able to customize any part of the CSS like we do on Forms 2.0.

I created an idea here, feel free to vote on it

Dory_Viscoglio
Level 10

Re: RTP Rich Media Recommendations - API Options - ?!

If anyone knows the answer to this, it'll be Yanir Calisar

Anonymous
Not applicable

Re: RTP Rich Media Recommendations - API Options - ?!

Luke Wotton

Unfortunately there's no native way to do it. I also voted for the idea Lucho Soto​ submitted.

Good news is that you can use the code snippet examples I created to customize this text:

<style>

/* recommendation title */

.RTP_RCMD2 [data-rtp-id="rtp_rcmd2_tpl_1"] .rtp_rcmd2_label h4{

  font-size: 30px;

}

/* recommendation description */

.rtp_rcmd2_description p{

          font-size: 10px;

}

/* recommendation CTA */

a.rtp_rcmd2_link{

          font-size: 10px;

}

</style>

Lucho_Soto
Level 5

Re: RTP Rich Media Recommendations - API Options - ?!

Thanks Yanir Calisar​ . Luke Wotton​ it looks like Yanir's approach will work best. Our developer has been able to edit pretty much every aspect of the Rich Media CSS with this so hopefully it will help you as well.