change Rich text font and size on dynamic page?

Hi,
can someone help me with this issue?
i don’t have knowledge in JS and i want to know if it possible to change the font and font size of my rich text on a dynamic page?
so no matter what is the font family in my Dataset, the text will show in a different font that i choose.

hope someone here can help me
Thanks!

Hey,
You can edit the HTML of the text as explained here , but I recommend editing it from the dataset since it’s easier.

Best,
Tal.

thanks Tal,
I have a lot of rich text in my dataset so finding a way to change the text in the page it’s much easier then change the text from the dataset

Hey Tal,

I try to change the size of the font but without success.Can you tell me what’s wrong with the code?
Thanks!

$w.onReady(function () {
  //TODO: write your page related code here... 
 $w("#showbox").html = font-size = "15px"; 
 }); 

anyone?

This is an old thread, but I’d thought I would note that the best way is to use getCurrentItem() from the dataset and just set the element manually: $(‘#myText’).text = item.description and then your wix gui css will apply.