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

Move Sidebar to Right

Discussion in 'Media Gallery Support' started by Robust, Dec 27, 2014.

  1. Robust

    Robust Well-Known Member

    How can I move the sidebar to the right side? imo makes the most sense since all sidebars in XF are on the right hand side.
     
  2. Allan

    Allan Well-Known Member

    Try this: (add EXTRA.css template)
    Code:
    .xengalleryContainer {
    float: left !important;
    }
    .container .xengallerySideBar {
    padding-right: 0px !important;
    padding-left: 10px !important;
    }
     
    mediapac and Robust like this.
  3. TJA

    TJA Well-Known Member

    In xengallery_wrapper.css make sure the following looks like this:

    Code:
    .xengalleryContainer
    {
        float: left;
        margin-right: -{xen:calc '@categorySidebar.width + 10'}px;
        width: 100%;
    }
    
    .xengalleryContainer .insideContainer
    {
        margin-right: {xen:calc '@categorySidebar.width + 10'}px;
    }
    
    .container .xengallerySideBar
    {
        @property "categorySidebar";
        padding-left: 10px;
        display: inline-block;
        vertical-align: top;
        *float: left;
        width: 220px;
        @property "/categorySidebar";
    }
     

Share This Page