• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Creating Styles Documentation?

Xarcell

Well-known member
#1
Is there any documention on creating styles?

I'm been browsing and there are many many templates. I don't understand why there are so many. Anyways, I'm looking at learning to create styles for xF, but need to start at the basic's. Unfortunely there isn't any "index" type files that I can see. So if I wanted to wrap my forum in a div, I don't know which file to edit to make that happen...

I tried taking a look at some of the other styles people have created. But it doesn't tell much as they are mostly color differences of the default theme. No HTML edits.

Can someone point me in the right direction?
 

Xarcell

Well-known member
#2
I see a header, I see a footer. What about content?

What I'm looking for is a file that includes the header, content, and footer. I want to wrap it in a div.
 

Brogan

XenForo moderator
Staff member
#3
If you view the page source using your browser, the class will tell you which template is being used.

This page for example is: <div id="content" class="thread_view">

From there you can open that template in the ACP and then see which other templates it pulls and the code used to build the page.
 

Xarcell

Well-known member
#4
Ya, I'm getting the hang of it now.

I ripped out the menu(will add my own), and moved the moderation bar below the menu.