Okay
  Public Ticket #2985089
Setting max height or max visible tracks in listrack
Closed

Comments

  • Andrew started the conversation

    Hi awesome Sonaar gurus,

    I was wondering if there was a way to set the max number of visible tracks in a tracklist? For example, say I have 15 tracks, but I don't want a really tall MP3 Player and I only want to show 4 tracks and have the scrollbar reveal the rest... is there a way to do that?

    Thanks in advance.

  •  1,114
    Max replied

    Hi, 

    You can enable the scrollbar within your playlist. 

    If you use shortcode to display the player, use the shortcode attribute

    If you use elementor widget, enable scrollbar in the Playlist's style tab. 

    Thanks,


    Max from the Sonaar.io Crew

  • Andrew replied

    Thanks Max,

    After fiddling with the Scrollbar Height, I noticed it controls the number of track shown. 

    Perfect. 

    Thanks.


    Cheers,

    Andrew K


  • Tercio Machado Sampaio replied

    Hello,

    I'm using the shortcode way of player insertion. What is the shortcode attribute to adjust the playlist height after activated it with scrollbar="true" ?

    Thank You


  •  1,114
    Max replied

    Hi,

    the height of the scrollbar must be set with custom CSS using this code:

    .srp_tracklist .ps {
        height: 100px;
    }
    


    Thanks,


    Max from the Sonaar.io Crew

  • Tercio Machado Sampaio replied

    Top Support!!!!

    Thank You!!

  •  1,114
    Max replied

    You are welcome

    Thanks,


    Max from the Sonaar.io Crew