Show listing attributes in 2 columns

@ihor Hi: in the ad presentation I have 4 attributes which are on 4 lines on the mobile version and I would like to have 2 attributes per line like on the pc mode
This code doesn’t work :

@media screen and (max-width: 47.99em){
	.hp-template--listing-view-page .hp-listing__attributes--secondary .hp-row > div{
	-ms-flex-preferred-size: 50%;
    flex-basis: 50%;
    max-width: 50%;
}	
}

Please try this CSS snippet

@media screen and (max-width: 47.99em){
	.hp-template--listing-view-page .hp-listing__attributes--secondary .hp-row > div{
	    -ms-flex-preferred-size: 50% !important;
        flex-basis: 50% !important;
        max-width: 50% !important;
    }	
}
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.