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

Creating Styles Documentation?

Discussion in 'XenForo Questions and Support' started by Xarcell, Nov 16, 2010.

  1. Xarcell

    Xarcell Well-Known Member

    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?
  2. Xarcell

    Xarcell Well-Known Member

    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.
  3. Brogan

    Brogan XenForo Moderator Staff Member

    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.
  4. Xarcell

    Xarcell Well-Known Member

    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.
  5. Xarcell

    Xarcell Well-Known Member

    Where the heck is headerMover and headerProxy? I cannot find it in any of the style sheets.
  6. Brogan

    Brogan XenForo Moderator Staff Member

    headerMover and headerProxy are in PAGE_CONTAINER and public.css
  7. Xarcell

    Xarcell Well-Known Member

    public.css is what I was looking for. Thanks.

Share This Page