Title: Mobile issue with screen size under 400px wide
Last modified: August 5, 2025

---

# Mobile issue with screen size under 400px wide

 *  Resolved [sonosweven](https://wordpress.org/support/users/sonosweven/)
 * (@sonosweven)
 * [8 months ago](https://wordpress.org/support/topic/mobile-issue-with-screen-size-under-400px-wide/)
 * How do I fix this grey wrap and center the feed on mobile. It happens when the
   screen size is under 400px. Here is an image of the problem: [https://imgur.com/a/JCSYGGM](https://imgur.com/a/JCSYGGM)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmobile-issue-with-screen-size-under-400px-wide%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Thread Starter [sonosweven](https://wordpress.org/support/users/sonosweven/)
 * (@sonosweven)
 * [8 months ago](https://wordpress.org/support/topic/mobile-issue-with-screen-size-under-400px-wide/#post-18590371)
 * Please let me know if there is a better way. But I fixed with css and footer 
   script:
 *     ```wp-block-code
       .tiktok-feed-item__video-wrap img {  width: 100% !important;  height: auto !important;  max-width: 100% !important;  object-fit: contain !important;  display: block !important;  margin: 0 auto !important;  padding: 0 !important;}.tiktok-feed-item__video-wrap,.tiktok-feed-item_wrap {  width: 100% !important;  max-width: 100% !important;  padding: 0 !important;  margin: 0 !important;  box-sizing: border-box !important;  background: transparent !important;}@media (max-width: 400px) {  html, body {    overflow-x: hidden !important;  }  .tiktok-feed-item_wrap,  .tiktok-feed-item__video-wrap {    overflow: hidden !important;  }  .tiktok-feed-item__video-wrap {    width: 100% !important;    display: block !important;  }}
       ```
   
 *     ```wp-block-code
       <script>  document.addEventListener('DOMContentLoaded', function () {    const tiktokImages = document.querySelectorAll('.tiktok-feed-item__video-wrap img');    tiktokImages.forEach(img => {      img.removeAttribute('width');      img.removeAttribute('height');    });  });</script>
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Mobile issue with screen size under 400px wide’ is closed to new replies.

 * ![](https://ps.w.org/wp-tiktok-feed/assets/icon-256x256.jpg?rev=2916405)
 * [QuadLayers TikTok Feed](https://wordpress.org/plugins/wp-tiktok-feed/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-tiktok-feed/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-tiktok-feed/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-tiktok-feed/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-tiktok-feed/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-tiktok-feed/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [sonosweven](https://wordpress.org/support/users/sonosweven/)
 * Last activity: [8 months ago](https://wordpress.org/support/topic/mobile-issue-with-screen-size-under-400px-wide/#post-18590371)
 * Status: resolved