1. PROMO Upgrade to Pro Membership @ $99 / Lifetime & access all our 16+ premium Divi extensions: Divi Block, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

How do I truncate a bulleted listed?

Discussion in 'Free Divi Community Forum' started by Kelvin Thomas, Nov 11, 2020.

  1. Kelvin Thomas

    Kelvin Thomas New Member

    I am working on truncating a bulleted list and cant seem to make it work I tried this code:

    <ul id="info">
    <li>item</li>
    <li>item</li>
    <li>item</li>
    <li>item</li>
    <li>item</li>
    <li>item</li>
    <li>item</li>
    <li>item</li>
    </ul>
    <button type="button" onclick="showAll();">Show All</button>

    But I only want it to show the first three items on the page with the show all page to reveal more of the items on the list. Can anyone assist?
     
    1. PRO MEMBER PERKS Beautifully crafted custom colored 'Freelancer' Divi layout for all Pro members:View Demo