How to make Subpages appear on one page?

When I have the foreach loop to get any visible subpages, Instead of showing the subpages on one page, it makes a drop down menu on the menu bar.

Well, Kirby doesn’t create drop down menus out of the blue… Could you please post your code? Where have you placed the code? Are you talking about the Starterkit?

I solved the problem I had a piece of code for when children or subpages are available make a drop down menu.