Recent searches


No recent searches

Section article lists - how to display articles lists in an <ul>

Answered


Posted Aug 19, 2022

I added in some CSS from this post  to display my article lists as a bulleted list in my category pages. Oddly enough the CSS I used did not apply to section pages. My article lists on my section pages are not bulleted. How can I make all article lists (category and section) use a <ul> type format? 


0

4

4 comments

image avatar

Ifra Saqlain

Zendesk LuminaryMost Engaged Community Member - 2022Most Engaged Community Member of The Year - 2021Community Moderator

Hey Jaala Seifipour, go to your style.css file via Edit Code and paste this code at the bottom.

li {display: list-item; list-style-type: disc;}

 

Thanks

Team

0


That did it! Thank you, Ifra Saqlain.

0


Hi. How would you do it so that only article titles are bulleted and not subsection titles?

0


image avatar

Ifra Saqlain

Zendesk LuminaryMost Engaged Community Member - 2022Most Engaged Community Member of The Year - 2021Community Moderator

Hi Adam Garcia :)

It depends on classes and list tags as you want to add bullets to article titles only so you can use class.

ex. 

li.article-list-items { 
display: list-item; list-style-type: disc;
}

 

same as, you have different classes in your subsections so you can use that class to remove bullets from subsectio items.

ex.

li.subsection-list-items { 
display: block; list-style-type: none;
}

 

There are more different types to achive this :)

 

Hope it will help you.

Thank You

 

 

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post