# Adjust the post-voting button to the bottom

**URL:** https://meta.discourse.org/t/adjust-the-post-voting-button-to-the-bottom/262584
**Category:** Theme component
**Tags:** post-voting
**Created:** [April 22, 2023, 5:43am UTC](https://meta.discourse.org/t/adjust-the-post-voting-button-to-the-bottom/262584 "2023-04-22T05:43:49Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![Lhc\_fl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lhc_fl/32/268115_2.png) [@Lhc\_fl](https://meta.discourse.org/u/Lhc_fl)
#### Post date: [April 22, 2023, 5:43am UTC](https://meta.discourse.org/t/adjust-the-post-voting-button-to-the-bottom/262584/1 "2023-04-22T05:43:49Z")

</div>

| | | |
| --- | --- | --- |
| ℹ | **Summary** | Adjust the post-voting button to the bottom |
| 🛠 | **Repository** | [GitHub - Lhcfl/discourse-post-voting-mobile-fix · GitHub](https://github.com/Lhcfl/discourse-post-voting-mobile-fix) |
| ❓ | **Install Guide** | [How to install a theme or theme component](https://meta.discourse.org/t/how-do-i-install-a-theme-or-theme-component/63682) |
| 📖 | **New to Discourse Themes?** | [Beginner’s guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) |

Install this theme component

As shown in the figure, this theme component has only one function: adjust the post-voting button to the bottom.

 ![9976605950B82EF6ED149B8565C632F7](https://global.discourse-cdn.com/meta/original/4X/2/9/9/299d7aa30b2cc313754c67f33194a5d455df6d02.jpeg)

---

<div class="post-metadata">

### Author: ![hoangphuctran93](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hoangphuctran93/32/290976_2.png) [@hoangphuctran93](https://meta.discourse.org/u/hoangphuctran93)
#### Post date: [May 2, 2023, 12:41am UTC](https://meta.discourse.org/t/adjust-the-post-voting-button-to-the-bottom/262584/2 "2023-05-02T00:41:04Z")

</div>

Thank you, this is a great theme-component, it makes my mobile interface look much cleaner.

 ![image](https://global.discourse-cdn.com/meta/original/4X/8/d/b/8dba986be04ca825800e1e1f1751acb2e47707f3.png)

---

<div class="post-metadata">

### Author: ![kuaza](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kuaza/32/264151_2.png) [@kuaza](https://meta.discourse.org/u/kuaza)
#### Post date: [August 6, 2023, 10:25am UTC](https://meta.discourse.org/t/adjust-the-post-voting-button-to-the-bottom/262584/3 "2023-08-06T10:25:06Z")

</div>

Thank you for this module, it is very necessary for mobile. However, when I click on the sorting section, its shape is distorted. What can be done about it?

 ![image](https://global.discourse-cdn.com/meta/original/4X/6/7/c/67c8f3473a19829baaf15bd057ec8a01504ff180.png)

---

<div class="post-metadata">

### Author: ![Lhc\_fl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lhc_fl/32/268115_2.png) [@Lhc\_fl](https://meta.discourse.org/u/Lhc_fl)
#### Post date: [August 6, 2023, 11:39am UTC](https://meta.discourse.org/t/adjust-the-post-voting-button-to-the-bottom/262584/4 "2023-08-06T11:39:19Z")

</div>

I encountered this problem early in the release, and suffered from no way to reproduce it stably. I tried the method you gave, but failed to reproduce.

---

<div class="post-metadata">

### Author: ![kuaza](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kuaza/32/264151_2.png) [@kuaza](https://meta.discourse.org/u/kuaza)
#### Post date: [August 6, 2023, 12:50pm UTC](https://meta.discourse.org/t/adjust-the-post-voting-button-to-the-bottom/262584/5 "2023-08-06T12:50:53Z")

</div>

Only problem is mobile, desktop version is fine.

You can [test](https://sorucevap.com/t/ekumenopolis-kavrami-nedir-ve-nasil-olusur/2295?filter=activity) it here. Maybe it’s because of a plugin I’m using.

---

<div class="post-metadata">

### Author: ![Lhc\_fl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lhc_fl/32/268115_2.png) [@Lhc\_fl](https://meta.discourse.org/u/Lhc_fl)
#### Post date: [August 6, 2023, 2:04pm UTC](https://meta.discourse.org/t/adjust-the-post-voting-button-to-the-bottom/262584/6 "2023-08-06T14:04:39Z")

</div>

Thank you for your help. I pushed [a fix](https://github.com/Lhcfl/discourse-post-voting-mobile-fix/commit/4e345aac1c156ed155d7684c7b2266f76f78b88a), it should work.

---

<div class="post-metadata">

### Author: ![kuaza](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kuaza/32/264151_2.png) [@kuaza](https://meta.discourse.org/u/kuaza)
#### Post date: [August 6, 2023, 5:01pm UTC](https://meta.discourse.org/t/adjust-the-post-voting-button-to-the-bottom/262584/7 "2023-08-06T17:01:12Z")

</div>

it works great, thanks for the support so fast.

---

<div class="post-metadata">

### Author: ![kuaza](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kuaza/32/264151_2.png) [@kuaza](https://meta.discourse.org/u/kuaza)
#### Post date: [January 20, 2025, 9:07pm UTC](https://meta.discourse.org/t/adjust-the-post-voting-button-to-the-bottom/262584/8 "2025-01-20T21:07:53Z")

</div>

> [@Upcoming post menu changes - How to prepare themes and plugins](https://meta.discourse.org/t/upcoming-post-menu-changes-how-to-prepare-themes-and-plugins/341014):
>
> As part of our continuous effort to improve the Discourse codebase, we’re removing uses of the legacy “widget” rendering system, and replacing them with Glimmer components. Recently, we [modernized the post menu](https://github.com/discourse/discourse/pull/28670), and is now available in Discourse behind the glimmer\_post\_menu\_mode setting. This setting accepts three possible values: disabled: use the legacy “widget” system auto: will detect the compatibility of your current plugins and themes. If any are incompatible, it will use the legacy s…

Is there a chance to update this component? Or I suggest adding a mobile view to the plugin itself. On mobile, having the voting on the left makes the screen smaller, it makes more sense to have it on the bottom or top. Thanks.

---

<div class="post-metadata">

### Author: ![Lhc\_fl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lhc_fl/32/268115_2.png) [@Lhc\_fl](https://meta.discourse.org/u/Lhc_fl)
#### Post date: [January 21, 2025, 3:05am UTC](https://meta.discourse.org/t/adjust-the-post-voting-button-to-the-bottom/262584/9 "2025-01-21T03:05:14Z")

</div>

yeah I was planning to update it today 🙂

---

<div class="post-metadata">

### Author: ![Lhc\_fl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lhc_fl/32/268115_2.png) [@Lhc\_fl](https://meta.discourse.org/u/Lhc_fl)
#### Post date: [January 21, 2025, 5:12am UTC](https://meta.discourse.org/t/adjust-the-post-voting-button-to-the-bottom/262584/10 "2025-01-21T05:12:38Z")

</div>

I fixed it temporarily, further fixes will need to wait for discourse-post-voting upgrade.

---

<div class="post-metadata">

### Author: ![kuaza](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kuaza/32/264151_2.png) [@kuaza](https://meta.discourse.org/u/kuaza)
#### Post date: [January 21, 2025, 6:33pm UTC](https://meta.discourse.org/t/adjust-the-post-voting-button-to-the-bottom/262584/11 "2025-01-21T18:33:45Z")

</div>

thank you very much, you are the best 🙂
