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

Make notices full-width, above sidebar

Discussion in 'Styling and Customization Questions' started by Trombones13, Apr 24, 2012.

  1. Trombones13

    Trombones13 Well-Known Member

    Currently, notices only take up the left column of the homepage due to the sidebar taking up space on the right. I'd like my notices to display across the width of the page, above the sidebar, keeping the forum list and sidebar below them. Is this possible, and if so, what do I need to edit? :)

    Rough image:
    erich37 likes this.
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Edit the PAGE_CONTAINER template and move this block of code:
    <xen:hook name="page_container_notices">
    <xen:include template="notices" />                       
    Above this line:
    <xen:if is="{$sidebar}">
    HenrikHansen and Trombones13 like this.
  3. Shelley

    Shelley Well-Known Member

    You could always have a sidebar toggle Kurt. Not really what you requested but it's an alternative if your looking at other alternatives.
    Trombones13 likes this.
  4. Trombones13

    Trombones13 Well-Known Member

    Thanks; that worked! I also moved the top breadcrumb above the notices, so my next question: can I move the search bar next to the breadcrumb, like in the mock-up below?
    I'd like the notices to be full-width regardless of the state of the sidebar, but that's a possibility I'll keep in mind as well. :)

Share This Page