Customize ::marker -> Make the list dots smaller squares

Solved

Customize ::marker -> Make the list dots smaller squares

Issyeissue
Excursionist
27 0 7

Does anyone know if there is a way to make the dots in a list, smaller squares? 

Screenshot 2024-09-22 at 11.26.24 AM.png

Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
10133 2404 3038

This is an accepted solution.

Sorry wrong spelling. Check this one to reduce. 

 

.accordion__content ul {
    list-style-type: square !important; 
}

.accordion__content ul li::marker {
    font-size: 8px; 
    line-height: 1;
}

 

And Save. 

Result:

Made4uoRibe_0-1727009161347.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

View solution in original post

Replies 4 (4)

Made4uo-Ribe
Shopify Partner
10133 2404 3038

Hi @Issyeissue 

Is this from collapsible content on the product page? 

If it is check this one. 

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

 

.accordion__content ul {
    list-style-type: square !impportant; 
}

 

And Save. 

Result:

Made4uoRibe_0-1727002409774.png

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Issyeissue
Excursionist
27 0 7

It worked by adding it as:  list-style: square;  

 

Do you also know how to reduce the size of the square? 

Made4uo-Ribe
Shopify Partner
10133 2404 3038

This is an accepted solution.

Sorry wrong spelling. Check this one to reduce. 

 

.accordion__content ul {
    list-style-type: square !important; 
}

.accordion__content ul li::marker {
    font-size: 8px; 
    line-height: 1;
}

 

And Save. 

Result:

Made4uoRibe_0-1727009161347.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Issyeissue
Excursionist
27 0 7

Thanks mate! It worked