Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Lock vertical scrolling in a column

I created two columns in a section, text on left and color coded key on the right (describing relevant sections on the left). The columns fall under a <ac:layout-cell> tag. I'd like to have the right column not scroll, when scrolling down the page for the entire section. IOW, keep the right column static, so I can always see the key, while scrolling through the text in the left column. 

Is there a way withing the application or via the html code to accomplish this? I tried the <div> html property overflow-y: hidden, but that didn't work. 

1 answer

Hi @Joseph Furbee

I don't understand what you are saying with

The columns fall under a <ac:layout-cell> tag.

but if you created your page with a page layout or with Columns and Section Macros, this user macro will help you:

## @param 0:title=Width|type=string|required=true## @param 1:title=Height|type=string|required=true <style type="text/css"> .panel { width:$param0; height:$param1; overflow: auto; } </style>

The macro has no body. Set width and height and add px to the values. You should put the left column in a Panel Macro, the additional scroll bar refers to that panel.

(I grabbed the user macro somewhere here but forgot who created it...)

 

Best regards,

Nicolai

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

335 views 23 8
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you