Trying to integrate HTML from Trustpilot to display reviews but it's not working!

Hi, I’m trying to integrate the Micro Review Count Trustbox from Trustpilot - the one where it says the amount of reviews followed by Trustpilot logo and it’s linked to their page on Trustpilot - I’ve got the HTML code and have put it onto the Home page (I’ve tried this both with the text element and the Classic raw element), but it’s not displaying as it should, it’s just got small text saying ‘Trustpilot’! Do you have any idea as to why it’s not showing properly?

I’ll put the URL in a secure note as it’s on a temp link - it’s about half way down the page ‘See all of our Great Reviews’, I’ve included a screen grab for your reference.

Thanks!

Hey @core365,

I believe the HTML you’ve placed has an accompanying JavaScript code for it to work? Does it work outside of Cornerstone or the WordPress Text Editor only using the HTML?

Thanks.

Ah, sorry, I didn’t realise that, I missed out a step in the process and that was putting some code into the section! I’ve done that now and it’s showing on my page. The only thing is that it’s quite small. I’ve tried to add CSS to it to increase the font size and also the size of the logo but it’s not working. This is the CSS I’ve used:

div#tp-widget-rating.tp-widget-rating {
 font-size: 20px !important;
}
div#tp-widget-logo.tp-widget-logo {
 width: 180px !important;
}

Would you mind taking a look to see what it is I’m doing wrong please!

Thank you!

Hi There @core365

You cannot style elements inside an iFrame. You need to find a way to directly change the content on the other end, so that it will render inside iframe.

Hope that helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.