I need my images to have a text above with the description of each of them! I tried to touch the positions of the CSS and I'm doing well with 3 of the 4, in the fourth picture I'm getting all broken up, I do not know why: (
HTML:
<div class="helados container">
<div class="row">
<div class="col s12 l4">
<img th:src="@{/images/chocolate.png}" />
<a href="#"></a>
</div>
<div class="col s12 l4">
<img th:src="@{/images/crema.png}" />
<a href="#"></a>
</div>
<div class="col s12 l4">
<img th:src="@{/images/dulceDeLeche.png}" />
<a href="#"></a>
</div>
<div class="col s12 l4">
<img th:src="@{/images/frutales.png}" />
<a href="#"></a>
</div>
</div>
</div>
CSS:
.helados {
padding: 0 1.5rem;
}
.helados img {
width: 100%;
}
.container {
width: 100%;
}
.helados.container {
padding: 0;
}
.helados.container .col {
padding: 0 0.75rem !important;
}
What I want to do is that in each of the images (on them) appear a simple text that says CHOCOLATE, FRUIT, SWEET MILK and CREAMS to make it more beautiful for the user.
Total thanks:)