Icon List – Single Column Mobile

[ad_1]

Hey Kadence

Icon list shows in two columns on mobile. Can I change that to single column and how?

And while texting I figured it out so I will leave this solution for others.

/******** Kadence Icon List - Mobile View *******/
@media screen and (max-width: 768px) {
    .wp-block-kadence-iconlist ul.kt-svg-icon-list {
        margin: 30px 0px 10px 0px!important;
		width: 100%;
    }
}

/******** Kadence Icon List - Single Column Mobile *******/
@media screen and (max-width: 600px) {
	.kt-svg-icon-list-columns-2 ul.kt-svg-icon-list {
		grid-template-columns: repeat(1, minmax(0, 1fr));
	}
}

For me switching to 1 column at around 600px seems to work, but tweak as required…

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer