The default listing of the Hivepress plugin is in a horizontal position, with 2 columns, like in Services – TaskHive, right?
I’m trying to make it vertical, with only 1 column, similar to the model of Services – ExpertHive , with css!
I tried:
/* Ensure services are displayed in a single column */
.hp-listing-view.hp-listing-view-grid .hp-listing {
display: flex;
flex-wrap: wrap;
}
/* Adjust individual service item styles */
.hp-listing-view.hp-listing-view-grid .hp-listing-item {
width: 100%; /* Each service takes full width */
padding: 0 15px; /* Add padding between items */
box-sizing: border-box;
}
/* Ensure each service item aligns properly */
.hp-listing-view.hp-listing-view-grid .hp-listing-item .hp-listing-item-body {
display: block; /* Reset to block to prevent horizontal overflow */
width: 100%;
}
/* Ensure images and titles align correctly */
.hp-listing-view.hp-listing-view-grid .hp-listing-item .hp-listing-item-body .hp-listing-item-header {
width: 100%;
}
/* Adjust the title size and margin */
.hp-listing-view.hp-listing-view-grid .hp-listing-item .hp-listing-item-body .hp-listing-item-header .hp-listing-item-title {
font-size: 18px; /* Adjust title font size */
margin-bottom: 10px; /* Add space between titles */
}
but it didn’t work!
How could I make it the same?