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

This widget could not be displayed.

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

}  

This widget could not be displayed.

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?

This widget could not be displayed.

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

This widget could not be displayed.

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
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

363 views 2 5
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