+ Reply to Thread
Results 1 to 5 of 5

Thread: Increase size of left toolbar

  1. #1

    Default Increase size of left toolbar

    How would I increase the size of the left toolbar? Some of the page names don't fit on the buttons. I'm running MindTouch Core v.9.02.2 and running it on Red Hat 5.3. Thanks.

  2. #2
    Join Date
    Feb 2007
    Location
    San Diego, CA
    Posts
    132

    Default Widen the LeftNav

    If you want to widen the left nav there are two things you need to do.
    1. Change LocalSettings.php to truncate less characters
    2. Modify the CSS to make sure the Nav displays correctly

    Crack open localSettings.php which can be found at \drive\var\www\dekiwiki. Add the following line:

    Code:
    $wgNavPaneWidth = 50000;
    Now go to your custom CSS and add the following:

    Code:
    #siteNavTree div.node a span {
    display:block;
    line-height:17px;
    }
    You may also have some issues with background images depending on which skin you're using. If this is the case you can consider removing the background images completing or modifying the background images to either repeat or stretch.
    I do HTML, CSS, Jquery and DekiScript. I designed Fiesta and enjoy building apps on top of MindTouch.

    Thanks for your contribution,

    Damien Howley
    @DamienH

  3. #3

    Default

    Thanks, this worked to an extent.

    Increasing the $wgNavPaneWidth from the default 1600 to 1700 did increase the width of the text inside the navigation pane, but any larger than that caused entire words to be completely truncated. This is why I imagine you included the:
    Code:
    #siteNavTree div.node a span {
    display:block;
    line-height:17px;
    }
    This didn't seem to do anything. I'm using the ace neutral skin and I placed it in the custom css in the control panel, saved it, and it didn't seem to do anything at all.

    Any suggestions for increasing the size some more without truncating words completely?

  4. #4
    Join Date
    Feb 2007
    Location
    San Diego, CA
    Posts
    132

    Default

    My fault, I assumed you were using Fiesta. I'll have to do some tests to figure out the CSS for Ace.
    I do HTML, CSS, Jquery and DekiScript. I designed Fiesta and enjoy building apps on top of MindTouch.

    Thanks for your contribution,

    Damien Howley
    @DamienH

  5. #5
    Join Date
    Feb 2007
    Location
    San Diego, CA
    Posts
    132

    Default

    Try this for a more in depth approach:

    http://developer.mindtouch.com/index...v_pane_wrap%3F

    It covers both Ace and Fiesta
    I do HTML, CSS, Jquery and DekiScript. I designed Fiesta and enjoy building apps on top of MindTouch.

    Thanks for your contribution,

    Damien Howley
    @DamienH

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts