Ieva
-
Posts
5 -
Joined
-
Last visited
Reputation Activity
-
Ieva reacted to tuanphan in Show Text Before Hover On Mobile Device, text colour and placement
You can use this CSS code
/* Mobile-Portfolio title under image */ @media screen and (max-width:991px) { div#gridThumbs { display: block !important; } .portfolio-text { opacity: 1 !important; position: relative !important; } .portfolio-text * { color: black !important; } }
-
Ieva reacted to Ziggy in Show Text Before Hover On Mobile Device, text colour and placement
Add this below color:#fff;
font-size:12px;
-
Ieva got a reaction from Ziggy in Show Text Before Hover On Mobile Device, text colour and placement
Ok, many thanks, this worked !
Also, is there a way to control the size of this text? I would like it to be a little smaller 🙂
-
Ieva reacted to Ziggy in Show Text Before Hover On Mobile Device, text colour and placement
Try this Custom CSS:
@media only screen and (max-width:767px) { .portfolio-grid-overlay .portfolio-title { color: #fff; } .portfolio-grid-overlay .grid-item .portfolio-text { justify-content: flex-end; }