# Custom structure and more questions

**URL:** https://meta.discourse.org/t/custom-structure-and-more-questions/125004
**Category:** UX
**Created:** [8월 6, 2019, 1:34오후 UTC](https://meta.discourse.org/t/custom-structure-and-more-questions/125004 "2019-08-06T13:34:42Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![dgateles](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dgateles/32/74776_2.png) [@dgateles](https://meta.discourse.org/u/dgateles)
#### Post date: [8월 6, 2019, 1:34오후 UTC](https://meta.discourse.org/t/custom-structure-and-more-questions/125004/1 "2019-08-06T13:34:42Z")

</div>

Hello!

I have some questions about the theme structure and how to do some things.

1. I’m trying to add font awesome pro with font files, so i have this arquives:  
[Imgur: The magic of the Internet](https://imgur.com/2jW6mPi)  
but won’t work: 404 not found.

2. I want to change buttons to bootstrap 4 classes, how to do that?

Thanks!

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [8월 6, 2019, 1:47오후 UTC](https://meta.discourse.org/t/custom-structure-and-more-questions/125004/2 "2019-08-06T13:47:04Z")

</div>

Maybe look at [Changing icons to Font Awesome Pro Version](https://meta.discourse.org/t/changing-icons-to-font-awesome-pro-version/116873) and [Developing Discourse Themes & Theme Components](https://meta.discourse.org/t/developer-s-guide-to-discourse-themes/93648)

---

<div class="post-metadata">

### Author: ![dgateles](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dgateles/32/74776_2.png) [@dgateles](https://meta.discourse.org/u/dgateles)
#### Post date: [8월 6, 2019, 2:10오후 UTC](https://meta.discourse.org/t/custom-structure-and-more-questions/125004/3 "2019-08-06T14:10:35Z")

</div>

Fonts solved by myself, but looking at Developers guide, is not clear how to change classes of divs, buttons and others.

---

<div class="post-metadata">

### Author: ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)
#### Post date: [8월 6, 2019, 7:09오후 UTC](https://meta.discourse.org/t/custom-structure-and-more-questions/125004/4 "2019-08-06T19:09:10Z")

</div>

The fact is… Discourse is not built with Bootstrap. So, what you want to achieve will involve a lot of friction.

There are over 400 buttons used in the Discourse UI. If you were to change their default classes, you would end up having to override almost 200 templates and that’s just for handlebars. That is going to be a maintenance nightmare.

A more reasonable approach is to reset the button styles you’re not going to use and adjust the rest based on Bootstrap button styles.

The base styles for all the buttons in Discourse can be found here

[discourse/app/assets/stylesheets/common/components/buttons.scss at main · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/master/app/assets/stylesheets/common/components/buttons.scss)
