Portfolio grid - mouse over ...

GK User
Tue Sep 22, 2015 9:48 am
In the portfolio grid you get on the mouse over tree dots (...) where you can click to go to the item. Is it possible to show a single line of text in stead of just the tree dots?
User avatar
Junior Boarder

teitbite
Thu Sep 24, 2015 12:33 pm
Hi

Yes if You will use this text as an image. Int his case You will need to use code:

Code: Select all
.portfolio .gk-overlay > span::before,
.portfolio .gk-overlay > span::after {
display: none;
}

.portfolio .gk-overlay > span {
background-img: url(path_to_your image);
height: height_of_image;
width: width_of_image;
}
User avatar
Moderator

GK User
Fri Sep 25, 2015 9:11 am
Hi,

thanks for the response.. but I do not need another picture I just wanted a line of text.

Mike
User avatar
Junior Boarder

teitbite
Mon Sep 28, 2015 12:13 pm
Hi

Ok. Than try maybe this code:

Code: Select all
.portfolio .gk-overlay > span::after {
content: "Your line of text";
}


add it to override.css and make sure override is enabled in template settings.
User avatar
Moderator


cron