Changing audio playlist height

Can someone help me out? I am trying to adjust the height of an embedded audio play and just can’t seem to find a way to do it. Widget is in the right sidebar.

(stm2032-english)

2 Likes

You can use this code to Custom CSS of widget

[class*="Playlist__Container-sc"]>div>div {
    max-height: unset !important;
}

[class*="Playlist__Container-sc"]>div, [class*="Playlist__Container-sc"] {
    max-height: unset !important;
    height: auto !important;
}
2 Likes

Hi there, @Magister_Schwarz and welcome to the Community :waving_hand:

We’ve also noticed that you’ve found a setting to change the playlist height, but the bottom part of the playlist was still cropped on your website.

However, I see that my colleague Nataly has already shared a CSS code our devs applied to your widget to fix the issue:

[class*='PlaylistItem__PlaylistItemComponent-sc']:last-child {
  margin-bottom: 16px !important;
}

Please check it out and let Nataly know if everything is fine now :slightly_smiling_face:

@tuanphan your code works, thanks a lot for sharing it!

However, there is a simpler method to control the playlist height right in the settings. You can find it in the Playlist section on the Player tab :slightly_smiling_face:

1 Like