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

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

@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;  

}  

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

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

Thanks.

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

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

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

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Confluence

Three common content challenges + how to manage them

An efficient enterprise content management system, or ECM, is a must-have for companies that create work online (cough   cough, all companies). If content calendars, marketing plans, and bu...

80 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you