Skip to main content
Solved

What are the dimensions of the sidebar widgets?

  • December 20, 2022
  • 2 replies
  • 63 views

DannyPancratz
Forum|alt.badge.img+7

If I was designing an image to display in a custom HTML sidebar widget, how wide can I go? 

Best answer by olimarrio

Hey @DannyPancratz 👋,

The container within the sidebar is 364px but then by default we apply 24px padding for widgets placed within this. So long story short: 316px

It’s of course possible to go larger if you apply custom CSS to this widget but this is what the default behaviour is and will ensure alignment with all your other sidebar widgets.

@revote yes it scales nicely to mobile view too 👍

 

View original
Did you find this topic helpful?

2 replies

revote
Forum|alt.badge.img+2
  • VIP ⭐️⭐️⭐️⭐️⭐️
  • 791 replies
  • December 20, 2022
ddpancratz wrote:

If I was designing an image to display in a custom HTML sidebar widget, how wide can I go? 

And also, does it scale nicely to mobile view as well?


olimarrio
Forum|alt.badge.img+4
  • Gainsight Employee ⭐️
  • 402 replies
  • Answer
  • December 22, 2022

Hey @DannyPancratz 👋,

The container within the sidebar is 364px but then by default we apply 24px padding for widgets placed within this. So long story short: 316px

It’s of course possible to go larger if you apply custom CSS to this widget but this is what the default behaviour is and will ensure alignment with all your other sidebar widgets.

@revote yes it scales nicely to mobile view too 👍

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings