Is there a guide for custom themes?


#1

I saw this forum http://nomadforum.io/ and loved.

But I have no idea how to customize to look like.

There is a guide for this?


(Khoa Nguyen) #2

I rip that site style and overwrite some handlebar template.
http://ask.hoidapyhoc.com

Some basic knowledge about CSS and HTML is needed


(Joe Seyfried) #3

Honestly, you need a little more than “basic knowledge about CSS+HTML”. I would call myself pretty good in both subjects, but looking at Sam’s awesome work here, I am pretty lost (the CSS part is ok, but the handlebar-spiced HTML part is tough) - what I needed would be some reference where I can access which object to access names, colors and stuff - that’s why I asked about that here - but apparently, there isn’t any guide or reference. :frowning:

If I had more insight into Discourse’s inner magic, I would be glad to help, but currently, I’m also desperately trying to get a grip on things.


(Khoa Nguyen) #4

Acctually you only need to know about HTML + CSS (very least Javascript) to edit some thing like Sam’s minimal topic list design.
You can overide any Handlebar template by add it into a script tag like this

<script type='text/x-handlebars' data-template-name='template_name'>

</script>

You can find the source file here : discourse/app/assets/javascripts/discourse/templates at master · discourse/discourse · GitHub

And Ember Inspector is required
Chrome : Ember Inspector - Chrome Web Store
Firefox : Ember Inspector – Add-ons for Firefox


(Cheng Zheng) #5

the domain is expired, unfortunately you didn’t screenshot it before it expired