How to format/make blank lines in accordion menu?

14 0 4



once again I am asking for your help.


On my product page I have an accordion menu. I can't find a way to format the text: If I type in blank lines, it still shows every line without space inbetween. This looks confusing and unattractive.




How can I make blank lines and format the text? I use the Studio theme.


Thank you!

Replies 4 (4)

Shopify Partner
342 43 60

You can change the styling with CSS, if you know the basics.

27 2 14

Select the block with the list and scroll all the way to the bottom of the right side panel, do you see an option that says "custom CSS"? If so, type this in the box:


ul, li {

 line-height: 10px;



Or try:


ul, li {

margin: 0px;

padding: 0px;



adjust the numbers until you get it to look how you want.

14 0 4

Thank you for your answer!


Unfortunately, with this block there is no "Custom CSS" option..

Is there any other way to create blank lines/format the text?



Shopify Partner
4079 913 1567

Hi @Kanal100 

This is Richard from PageFly - Shopify Page Builder App


Please add this code to your theme.liquid above the </head> to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the </head>

ul, li {
    margin: 0px !important;
   padding: 0px !important;

Hope this can help you solve the issue


Best regards,

Richard | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!

PageFly - #1 Page Builder for Shopify merchants.

All features are available from Free plan. Live Chat Support is available 24/7.