# Text wrapping broken on mobile view due to the Easy Footer theme component

**URL:** https://meta.discourse.org/t/text-wrapping-broken-on-mobile-view-due-to-the-easy-footer-theme-component/226500
**Category:** Support
**Created:** [May 9, 2022, 6:31am UTC](https://meta.discourse.org/t/text-wrapping-broken-on-mobile-view-due-to-the-easy-footer-theme-component/226500 "2022-05-09T06:31:32Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![ma0sm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ma0sm/32/259526_2.png) [@ma0sm](https://meta.discourse.org/u/ma0sm)
#### Post date: [May 9, 2022, 6:31am UTC](https://meta.discourse.org/t/text-wrapping-broken-on-mobile-view-due-to-the-easy-footer-theme-component/226500/1 "2022-05-09T06:31:32Z")

</div>

On [https://community.drownedinsound.com/](https://community.drownedinsound.com/), in the last few hours, something has happened to the site where wrapping is no longer applied, alongside other strange UI behaviour. This is only happening on mobile view.

 ![image](https://global.discourse-cdn.com/meta/original/4X/d/3/9/d3962ea9721a63f37d906457891fc118995a4635.jpeg)

There are a couple of threads there with people complaining about the same behaviour, so this isn’t something specific to my user:  
[https://community.drownedinsound.com/t/thread-titles-arent-wrapping/66342](https://community.drownedinsound.com/t/thread-titles-arent-wrapping/66342)

> **[Summat gone wrong with the width on mobile](https://community.drownedinsound.com/t/summat-gone-wrong-with-the-width-on-mobile/66344)**
>
> \[Screenshot\_20220508\_192728\_com.android.chrome\]

You can see from the post times, that this started happening approximately 12 hours ago, so 20:30 (CEST) 08-05-2022.

---

<div class="post-metadata">

### Author: ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)
#### Post date: [May 9, 2022, 7:38am UTC](https://meta.discourse.org/t/text-wrapping-broken-on-mobile-view-due-to-the-easy-footer-theme-component/226500/2 "2022-05-09T07:38:05Z")

</div>

Hello,

It seems to this cause by this [Easy Responsive Footer](https://meta.discourse.org/t/easy-responsive-footer/95818)  
The component has a css line `#main-outlet` which cause this.

> <https://github.com/discourse/Discourse-easy-footer/blob/6e2eee67633c09b24dbc3292c2c39251dab31c55/common/common.scss#L109>

There is an other report about this issue on the theme component topic.

> [@Easy Responsive Footer](https://meta.discourse.org/t/easy-responsive-footer/95818/162):
>
> When using this theme component on my phone, the width is not set to the screen width. The width extends, almost to the size of a desktop monitor. Testing can be done here: [https://forum.tzm.community/](https://forum.tzm.community/) Make sure to open it on a phone (or use the debug option in your browser, in Firefox you can trigger the bug by using the Galaxy Note 20 Linux profile).

* * *

You can use this quick fix until it is fixed.  
Go to `/admin/customize/themes` and create a new component.  
Click on mobile section css and add the following.

```css
#main-outlet {
  width: 100%;
  max-width: 100%;
}

```

 ![Screenshot 2022-05-09 at 10.49.53](https://global.discourse-cdn.com/meta/original/4X/e/0/a/e0ac0d8782c70474e9a402c949138bf2e0378e85.png)

---

<div class="post-metadata">

### Author: ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)
#### Post date: [May 9, 2022, 8:52am UTC](https://meta.discourse.org/t/text-wrapping-broken-on-mobile-view-due-to-the-easy-footer-theme-component/226500/3 "2022-05-09T08:52:14Z")

</div>

I updated the post above. I forget to overwrite the max-width. @ma0sm , @AquaL1te

---

<div class="post-metadata">

### Author: ![dis\_whiterussian](https://avatars.discourse-cdn.com/v4/letter/d/e19b73/32.png) [@dis\_whiterussian](https://meta.discourse.org/u/dis_whiterussian)
#### Post date: [May 9, 2022, 10:41am UTC](https://meta.discourse.org/t/text-wrapping-broken-on-mobile-view-due-to-the-easy-footer-theme-component/226500/4 "2022-05-09T10:41:46Z")

</div>

Hi! Thanks for this. However, when I try to apply the quick fix in the admin settings I’m getting this message:

> Editing of remote themes is disabled in Discourse. Please [contact us](mailto:team@discourse.org) if you need assistance transitioning customized remote themes to a local theme.

So it looks like we’ll need some help from you folks with this one 🙂

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [May 9, 2022, 11:05am UTC](https://meta.discourse.org/t/text-wrapping-broken-on-mobile-view-due-to-the-easy-footer-theme-component/226500/5 "2022-05-09T11:05:09Z")

</div>

You would add a new theme component with the extra snippet of code in. 👍

- Go to `/admin/customize/themes`
- Click on **install** and then **create new**
- Give it a name, and select ‘component’.
- **Create**
- Add it to your theme
- Click on the **Edit CSS/HTML** button and paste the code into the **CSS** field in the **Mobile** tab
- And **save**

---

<div class="post-metadata">

### Author: ![dis\_whiterussian](https://avatars.discourse-cdn.com/v4/letter/d/e19b73/32.png) [@dis\_whiterussian](https://meta.discourse.org/u/dis_whiterussian)
#### Post date: [May 9, 2022, 11:19am UTC](https://meta.discourse.org/t/text-wrapping-broken-on-mobile-view-due-to-the-easy-footer-theme-component/226500/6 "2022-05-09T11:19:37Z")

</div>

Thank you! That seems to have done the trick! 😁

---

<div class="post-metadata">

### Author: ![ma0sm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ma0sm/32/259526_2.png) [@ma0sm](https://meta.discourse.org/u/ma0sm)
#### Post date: [May 9, 2022, 11:29am UTC](https://meta.discourse.org/t/text-wrapping-broken-on-mobile-view-due-to-the-easy-footer-theme-component/226500/7 "2022-05-09T11:29:51Z")

</div>

It looks good! Thank you so much for your fast help!

 ![7295b164b20a377a265b16e81812bb894b2c89b5](https://global.discourse-cdn.com/meta/original/4X/7/2/9/7295b164b20a377a265b16e81812bb894b2c89b5.png)

but there is more padding than there was before, I think. Is this something that will be resolved when the full fix is in place?

---

<div class="post-metadata">

### Author: ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)
#### Post date: [May 9, 2022, 12:04pm UTC](https://meta.discourse.org/t/text-wrapping-broken-on-mobile-view-due-to-the-easy-footer-theme-component/226500/8 "2022-05-09T12:04:27Z")

</div>

I think that is because the advertisement is not fit to mobile width. Can you try to disable the [Easy responsive footer](https://meta.discourse.org/t/easy-responsive-footer/95818) and the other component you created with the snippet i posted before. Just for checking the padding issue is from the adverts or other?

I think I found a possible solution for this. 🤔

Could you add this to the same new component what you create before to check how it works? Just paste it below the previous snippet @dis_whiterussian

```css
.wrap {
  margin-left: unset;
  margin-right: unset;
}

```

---

<div class="post-metadata">

### Author: ![dis\_whiterussian](https://avatars.discourse-cdn.com/v4/letter/d/e19b73/32.png) [@dis\_whiterussian](https://meta.discourse.org/u/dis_whiterussian)
#### Post date: [May 9, 2022, 3:16pm UTC](https://meta.discourse.org/t/text-wrapping-broken-on-mobile-view-due-to-the-easy-footer-theme-component/226500/9 "2022-05-09T15:16:02Z")

</div>

Thank you, that seems to have sorted it!

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [May 11, 2022, 4:32pm UTC](https://meta.discourse.org/t/text-wrapping-broken-on-mobile-view-due-to-the-easy-footer-theme-component/226500/12 "2022-05-11T16:32:27Z")

</div>

I’ve added a fix to the easy footer

[https://github.com/discourse/Discourse-easy-footer/commit/861084814909b6796574c9d09fd6ea0c4b0d949e](https://github.com/discourse/Discourse-easy-footer/commit/861084814909b6796574c9d09fd6ea0c4b0d949e)

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [June 10, 2022, 4:32pm UTC](https://meta.discourse.org/t/text-wrapping-broken-on-mobile-view-due-to-the-easy-footer-theme-component/226500/13 "2022-06-10T16:32:44Z")

</div>

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