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

XF 1.2 Member Profile Page -> Sidebar width difficulties

Discussion in 'Styling and Customization Questions' started by Stuart Wright, Oct 11, 2013.

  1. Stuart Wright

    Stuart Wright Well-Known Member

    Changing the width of the user account sidebar is proving a bit tricky.
    I set Style Properties: Member Profile Page -> Sidebar width to 192px
    but this is in navigation_sidebar.css
    which seems to negate the member profile sidebar width setting.
    What am I missing?
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    This is how I set a custom sidebar width on my site.
    upload_2013-10-11_12-37-39.png

    Then in EXTRA.css:

    Code:
    /* Member profile page */
    .member_view .profilePage .mast {
    padding-right: 8px;
    }
    
    .member_view .profilePage .mainProfileColumn {
    margin-left: 254px;
    }
    
    .profilePage .avatarScaler img {
    max-width: 246px;
    }
     
    Chris D likes this.
  3. Stuart Wright

    Stuart Wright Well-Known Member

    Thanks Brogan. But I'm still perplexed as to why the figure of 192px isn't being implemented as expected.
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    It may have something to do with your custom style.
     
    Chris D likes this.
  5. Stuart Wright

    Stuart Wright Well-Known Member

    I checked this and the code in .navigationSideBar is in the master style. Won't the 150px element of that css override whatever you put in the style properties page?
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    Not if you have also edited the SP in the child style.
     

Share This Page