# How to edit \<head\>

**URL:** https://meta.discourse.org/t/how-to-edit-head/312938
**Category:** Development
**Created:** [June 20, 2024, 7:45pm UTC](https://meta.discourse.org/t/how-to-edit-head/312938 "2024-06-20T19:45:15Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [June 20, 2024, 7:57pm UTC](https://meta.discourse.org/t/how-to-edit-head/312938/2 "2024-06-20T19:57:05Z")

</div>

You can add a custom component to your theme

> [@Open the login popup Or trigger event when button is pressed](https://meta.discourse.org/t/open-the-login-popup-or-trigger-event-when-button-is-pressed/136385/7):
>
> You can create a new Theme component and attach it to your theme. Go to Admin → Customize Click on Install button Then attach it to your theme and click on Edit CSS/HTML button You add code in Head section: Hope that helps. +1

---

_[View the full topic](https://meta.discourse.org/t/how-to-edit-head/312938)._
