When I use the Product List in the Avia Layout Builder for listing my products is there a way to adjust the title size for screen size? They overlap with the pricing if the title is long.
This was working great until they add longer titles. Any thoughts on how to make a long title wrap around?
OR a code to center the title and put the price below it.
Hey Sandra,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child theme’s style.css file:
.av-catalogue-title {
font-size: 16px;
}
Best regards,
Yigit
That changes the font size but it doesn’t help with the resizing with the screen sizes. They still over lap when on a smaller screen. Maybe the better choice is to change the size of the pricing that shows?
Hi,
You can reduce it even further on mobile only using the following css:
@media only screen and (max-width: 767px) {
.av-catalogue-title {
font-size: 12px!important;
}}
Best regards,
Jordan Shannon
Is it possible to reduce the size on the price that is listed?
I have found my solution. In case anyone runs into the same thing.
@media only screen and (max-width: 1150px) {
.av-catalogue-image {
margin: 0 auto;
display: block;
}
.av-catalogue-price {
position: relative;
}
.av-catalogue-title-container {
text-align: center;
}
.av-catalogue-title {
padding-right: 0;
}
.av-catalogue-content {
text-align: center;
padding: 0;
}
}
HOW CAN I ADJUST THIS TO HAVE THE TITLE CENTERED AND THE PRICING BELOW IT CENTERED?
Thank you.
Hi,
I’m glad you were able to get this corrected. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon