Hi support team,
I am hoping you can help me in regards to styling my classic card element.
I have added the following CSS so that I can display a background image in each card:
.x-card-outer .front, .x-card-outer .back {
background-size: cover;
background-position: center center;
}
#chiro .front .x-face-inner {
visibility: hidden
}
#chiro .front {
background-image: url(http://scarboroughchiro.naomipearce.com/wp-content/uploads/2018/10/chiro-card.jpg);
}
#maternity .front .x-face-inner {
visibility: hidden
}
#maternity .front {
background-image: url(http://scarboroughchiro.naomipearce.com/wp-content/uploads/2018/10/maternity.jpg);
}
#care .front .x-face-inner {
visibility: hidden
}
#care .front {
background-image: url(http://scarboroughchiro.naomipearce.com/wp-content/uploads/2018/10/Blood-Pressure-Nursing.jpg);
}
#aged .front .x-face-inner {
visibility: hidden
}
#aged .front {
background-image: url(http://scarboroughchiro.naomipearce.com/wp-content/uploads/2018/10/Aged-Nursing.jpg);
}
.page-id-7 .x-card-outer {
margin-bottom: 0;
This has worked great, however I would still like to have a transparent colour on each cover of the card and title showing. I would like a dark colour semi transparent over each image with the page title for each card displayed on the front. I hope this makes sense. Please note, I just want the title, no text or icon.
Could you possibly let me know what I need to do to make this happen???
Many thanks in advance,
Naomi