HTML Code insertion doesn't work - by ricardo

This topic has 2 replies, 2 voices, and was last updated 9 years ago ago by Robert Hall

  • Avatar: Ricardo
    ricardo
    Participant
    April 20, 2015 at 22:22

    8theme team!

    I started using a service from TrustedCompany.com. They help users rate my company. They ask me to insert the following code into my website to show their Trust Badge:

    <div class=”trustedcompany-widget”>
    <iframe id=”trustedcompany-widget” width=”200px” height=”220″ frameborder=”0″ scrolling=”no”></iframe>

    <script>(function(){document.getElementById(‘trustedcompany-widget’).src=’//trustedcompany.com/embed/widget/v2?domain=meumundofit.com.br&type=c&review=1&text=a’;})();</script>
    </div>

    I would like to insert this code on product page sidebar (on the right hand side) and on footer. For booth I user Static Blocks on my site. When I add the code thought the static block, using Visual composer, the code doesn’t show up. It seems there is something on CSS that makes it to hide.
    I tried adding it using Visual Composer’s HTML code, JS code and Text block, all of them put the code on the page, but doesn’t show the Badge I need.

    If I delete the following line from CSS the Badge shows up, but it messes the whole layout:

    .sidebar-position-right .sidebar-left {
    display: none !important;
    }

    Do you guys have an Idea of what we can do to make this work?

    Thanks

    1 Answer
    Avatar: Robert Hall
    Robert Hall
    Support staff
    April 21, 2015 at 08:22

    Hello,

    Please provide us with link to page where you’ve added this code and wp-admin access in Private Content.

    Regards,
    Robert Hall.

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.