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?
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.
If anyone knows the answer to this, it'll be Yanir Calisar
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>
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.