Trustpilot widget alignment

Hi how to make left alignment in Trustpilot widget

Was this post helpful?


Sort by
  • Avatar

    Kenneth Van Velthoven

    Hello,  did anyone managed to get an answer to this?  We have the same issue.   Impossible to align  the widget left or right.

    Tried all different DIV styles/constructions around it.  Nothing helps.    A bit disappointed that such basic feature isn't even documented.   For a company asking at least 250 EUR for a basic plan we expect more.  Thanks.

  • Avatar

    Ace Webmaster

    Would love to know how to do this too!

  • Avatar

    james hardy

    Any one find out how to do this? you can send data-style- attributes but tried ones for alignment and they didnt work. eg data-style-width works but not data-style-align...etc

  • Avatar

    Sarah Trustpilot

    There is a solution for this via CSS iframe or div alignment. Here's an example of the code:

    !DOCTYPE html>
        <!-- TrustBox script -->
        <script type="text/javascript" src="//" async></script>
        <!-- End TrustBox script -->
          .trustpilot-widget iframe {
            left: -70px !important;
            position: absolute;
          div.a {
            position: relative;
            width: 400px;
            height: 200px;
            border: 3px solid red;
          div.b {
            position: absolute;
            left: -50px;
            width: 100px;
            height: 52px;  
          div.c {
            position: absolute;
            left: 0px;
            width: 212px;
            height: 52px;
            border: 3px solid green;
        <div class="a">
          <div class="b"></div>
          <div class="c">
            <!-- TrustBox widget - Review Collector -->
            <div class="trustpilot-widget" data-locale="en-GB" data-template-id="56278e9abfbbba0bdcd568bc" data-businessunit-id="xxxxxxxxxxxxxxxxxxxxxxxx" data-style-height="52px" data-style-width="350">
              <a href="" target="_blank" rel="noopener">Trustpilot</a>
            <!-- End TrustBox widget -->
Please sign in to leave a comment.