Title: Trust Badges Shortcode Width Issue
Last modified: December 16, 2021

---

# Trust Badges Shortcode Width Issue

 *  Resolved [jyt0208](https://wordpress.org/support/users/jyt0208/)
 * (@jyt0208)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/trust-badges-shortcode-width-issue/)
 * I used the Small Light Badge at the Woocommerce footer area. The width of the
   widget is too wide that stretches the page on mobile. My website has a menu toggle
   at the top right, since your shortcode stretches the page, I cannot see the menu
   toggle at the first sight, I’ll have to manually drag the page in order to see
   it.
 * Is there a way to adjust the width of the widget? I tried adding width=”80%” 
   in the shortcode but didn’t work.

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Support [cusrev](https://wordpress.org/support/users/cusrev/)
 * (@cusrev)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/trust-badges-shortcode-width-issue/#post-15171547)
 * Thanks for using our plugin!
 * Can you please share URL of the page where I can check this problem?
 *  Thread Starter [jyt0208](https://wordpress.org/support/users/jyt0208/)
 * (@jyt0208)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/trust-badges-shortcode-width-issue/#post-15171751)
 * It’s regisbox.com. And the issue is only on mobile view.
    Thank you!
 *  Thread Starter [jyt0208](https://wordpress.org/support/users/jyt0208/)
 * (@jyt0208)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/trust-badges-shortcode-width-issue/#post-15172193)
 * Problem fixed on our end by adding some CSS. Can you help me remove my website
   link? Thank you
 *  Plugin Support [cusrev](https://wordpress.org/support/users/cusrev/)
 * (@cusrev)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/trust-badges-shortcode-width-issue/#post-15196614)
 * Great, thanks for letting me know that it is fixed!
 * Unfortunately, I cannot edit any messages on this forum. You will need to reach
   out to the forum admins from WordPress.
 *  [ohsheetz](https://wordpress.org/support/users/ohsheetz/)
 * (@ohsheetz)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/trust-badges-shortcode-width-issue/#post-15279783)
 * Hi [@cusrev](https://wordpress.org/support/users/cusrev/) and [@jyt0208](https://wordpress.org/support/users/jyt0208/),
 * I’m having this same issue on the mobile version of my website ([https://ohsheetz.com](https://ohsheetz.com)).
   I’m using Astra and I have the shortcode placed in the footer.
 * I’ve tried different css modifications to the badge’s div container, but even
   when I make the trustbadge smaller (which I can do), the container it is in keeps
   the original width which in turn makes the width of the footer section wider 
   than the screen width.
 * When I remove the trustbadge, the width on the webpage is fixed and the footer
   returns to normal alignments.
 * Could you advise on a fix or on appropriate CSS to fix this issue?
 * Thank you for your help.
 * – Anthony // Oh Sheetz
    -  This reply was modified 4 years, 4 months ago by [ohsheetz](https://wordpress.org/support/users/ohsheetz/).
 *  Thread Starter [jyt0208](https://wordpress.org/support/users/jyt0208/)
 * (@jyt0208)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/trust-badges-shortcode-width-issue/#post-15280285)
 * Hi [@ohsheetz](https://wordpress.org/support/users/ohsheetz/)
 * Here’s the CSS I used. Hope it works for you too.
 * .cr-badge{
    width:100% !important; transform: scale(0.640569); }
 *  [ohsheetz](https://wordpress.org/support/users/ohsheetz/)
 * (@ohsheetz)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/trust-badges-shortcode-width-issue/#post-15281335)
 * Thanks [@jyt0208](https://wordpress.org/support/users/jyt0208/), that does help
   to shrink the badge itself, but somehow the width of the container is still too
   wide (at least in my use case). I’ve used Google’s inspector tool and tried modifying
   various css variables affecting the badge and the containers to no avail, as 
   the width of the screen is still significantly wider than the screen content 
   every time. (You can scroll to the right and see blank space, like a lot of it,
   in mobile view regardless of the size of the badge, although the inspector always
   shows that the space to the right is contained within the badge’s containers.#
   frustrating lol)
 * I wish I knew more regarding css as I think it must be an issue there or with
   the flex display, but I am ignorant. Maybe CusRev will be able to identify my
   error.
 * Thanks again, have a good week!
 * – Anthony
 *  [merdman2](https://wordpress.org/support/users/merdman2/)
 * (@merdman2)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/trust-badges-shortcode-width-issue/#post-15344189)
 * We have the same issue on our mobile site. I agree that badge size is correct,
   but it loads a super wide container that I can’t identify either.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Trust Badges Shortcode Width Issue’ is closed to new replies.

 * ![](https://ps.w.org/customer-reviews-woocommerce/assets/icon-256x256.png?rev
   =2532349)
 * [Customer Reviews for WooCommerce](https://wordpress.org/plugins/customer-reviews-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/customer-reviews-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/customer-reviews-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/customer-reviews-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/customer-reviews-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/customer-reviews-woocommerce/reviews/)

 * 8 replies
 * 4 participants
 * Last reply from: [merdman2](https://wordpress.org/support/users/merdman2/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/trust-badges-shortcode-width-issue/#post-15344189)
 * Status: resolved