WordPress.org

Ready to get started?Download WordPress

Forums

Menu
moving menu items to new row of if it exceeds a specified number (1 post)

  1. sreejesh_ts
    Member
    Posted 2 years ago #

    I need to make a menu in which only 3 menu items can only show in one row. If it exceeds 3, 4th one should come to a new row with a new li. Any idea how to achieve it?
    My HTML code is below:

    < li >
    <div>Product1</div> <div>Product2</div> <div>Product3</div>
    < /li >

    < li >
    <div>Product4</div><div>Product5</div><div>Product6</div>
    < /li >

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic