How can I add an Horizontal Scroll bar on the Documentation theme main body?

Fabian Lopez
Contributor
January 3, 2012

I developed a page (home page) using the documentation theme, but in some lower resolution monitors the user is not able to see the whole content and the horizontal scroll bar is not present for them to go to the right and see what is missing.

I built the page using sections, columns, panelbox.

Any workaround for this or a way to add a permanent horizontal scroll bar (despite is needed or not?)

Thanks!

4 answers

1 accepted

1 vote
Answer accepted
Sandro Herrmann [Communardo]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 8, 2012

@Fabian Lopez

Commenting currently doesn't work so i have to write an answer.

The initial width of the left panel sould be 250px. But a changed width will be saved to a cookie. So if you restart your browser you will get your last defined width.

One thing you can try is to define a minimum width for the left panel. The code for this is:

#splitter #splitter-sidebar {  

   min-width: 300px;  

}  

1 vote
Sandro Herrmann [Communardo]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 5, 2012

An other way can be a little bit of CSS. Add this to the global Administrations Stylesheet section.

#splitter #splitter-content {
    overflow-x: scroll;
}

Fabian Lopez
Contributor
January 5, 2012

Thanks.

Is there a way to set the initial width of the left panel? Or what is the predefined width for that section?

0 votes
Kenny Ki
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 22, 2013

Adding this to the global Administrations Stylesheet works for me:
#splitter #splitter-content .wiki-content .table-wrap {
    overflow: visible;
}

0 votes
SarahA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 4, 2012

Hallo Fabian

I'm not sure why the horizontal scroll bar isn't appearing. One workaround is to add a long, thin image at the bottom of the page (try adding it to the footer in the Documentation theme's configuration area.) The image could be just a long white line or something.

I've noticed that wide images seem to reliably force a horizontal scroll bar, where tables sometimes do not.

I hope this helps!

Cheers, Sarah

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events