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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

299 views 11 10
Join discussion

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