# Adjust post div section

**URL:** https://meta.discourse.org/t/adjust-post-div-section/252954
**Category:** Support
**Created:** [January 26, 2023, 6:51am UTC](https://meta.discourse.org/t/adjust-post-div-section/252954 "2023-01-26T06:51:04Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![heymargaux](https://avatars.discourse-cdn.com/v4/letter/h/bc79bd/32.png) [@heymargaux](https://meta.discourse.org/u/heymargaux)
#### Post date: [January 26, 2023, 6:51am UTC](https://meta.discourse.org/t/adjust-post-div-section/252954/1 "2023-01-26T06:51:05Z")

</div>

I’m a new user of discourse and wanted to reach out if there’s a way to adjust the div.section of a post especially if it’s in another language?

example:

 ![Screen Shot 2023-01-26 at 10.45.49 AM](https://global.discourse-cdn.com/meta/original/4X/6/4/9/6490d2292ab57d45365b79774fc91e28e9d5901d.png)

thank you so much in advance

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [January 27, 2023, 9:39pm UTC](https://meta.discourse.org/t/adjust-post-div-section/252954/2 "2023-01-27T21:39:56Z")

</div>

Hi @heymargaux!

The simplest way to do it like your mock-up would be to use CSS margins:

```scss
.cooked {
    margin-left: 20%;
    margin-right: 20%;
}

```

 ![Modified post width](https://global.discourse-cdn.com/meta/original/4X/a/2/2/a2216db9b2b16ddcb7a63c77306ade7ddb628fdd.png)

However, it might be trickier if you want to do this only for posts using different languages.  
Can you be more specific?

There are multiple configurations possible, so you need to provide a bit more information.

- Are the users able to choose their own language interface (see the **allow user locale** admin setting)?

- Are there posts using Right-To-Left language and others that don’t on your forum?

Using an RTL interface adds `rtl` classes in several parts of the page, including the `<html>` tag and `<p>` tags inside posts, but not on the post’s parent container.

But the RTL interface has not much to do with a post language. I can use an RTL interface and write a post in French.

And there is no easy way to detect if a post is written in another language.

What is your use case exactly? The more info you provide (links to your forum maybe?), the best we can help you 🙂

---

<div class="post-metadata">

### Author: ![heymargaux](https://avatars.discourse-cdn.com/v4/letter/h/bc79bd/32.png) [@heymargaux](https://meta.discourse.org/u/heymargaux)
#### Post date: [January 31, 2023, 2:04pm UTC](https://meta.discourse.org/t/adjust-post-div-section/252954/3 "2023-01-31T14:04:59Z")

</div>

Thank you for the support. I want to adjust the post div to the Arabic sections alone. Other language seems to be working properly, but since Arabic language format is the other way around - it seems it is messes up with the div section

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [January 31, 2023, 2:55pm UTC](https://meta.discourse.org/t/adjust-post-div-section/252954/4 "2023-01-31T14:55:43Z")

</div>

Do you have a screenshot or, better, a link that shows the issue?  
Because I don’t see any on the screenshot you posted 🙂
