Home > Net >  How to make a HTML list appear vertically instead of horizontally using CSS only?
How to make a HTML list appear vertically instead of horizontally using CSS only?

Time:08-03

I'm designing a product page on Wordpress, using the Elementor and Woocommerce plugins.

I got a product data tabs made of an unordered list items from Woocommerce that shows the Description, More info and Reviews horizontally, and I'd like to style it to appear vertically with the Description, More info and Reviews text in the right of the tabs/titles.

This is the page I'm working on: enter image description here

CodePudding user response:

Try this

ul{
 display: flex;
 flex-direction: column;
 align-items: center;
}
  • Related