add a short description before "Check out my hot works"

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Tue Apr 07, 2015 4:18 pm
Reply with quote
Report this post
Hi,
To introduce "Check out my hot works", I'd like to display a short description before the pictures.
Is there a way to do that ? I tried to add a description text to the K2 category but I didn't find how to display it
Thanks
User avatar
Gold Boarder

GK User
Tue Apr 07, 2015 7:02 pm
Reply with quote
Report this post
I'm afraid there is no styling for such description so you would need to add it by yourself.
User avatar
Moderator

GK User
Wed Apr 08, 2015 10:30 am
Reply with quote
Report this post
Hi Cyberek, thanks for your reply.
My aim is not to add a description for each picture but only an introduction text for the whole category (A line before the pictures)
I can do that directly in the php code, but the website manager won't be able to edit the text.
I thought I could do that with the K2 category description, but it is not displayed (category description is active in K2 config).
Bad luck.
User avatar
Gold Boarder

GK User
Mon Apr 13, 2015 6:22 am
Reply with quote
Report this post
The whole element is generated by NSP module, and it doesn't have such functionality :(.
User avatar
Moderator

GK User
Mon Sep 14, 2015 10:41 am
Reply with quote
Report this post
Hi,
I post here the tip to display a short message before pictures in NSP portfolios elements
This message is the same for every elements. My aim was to display "click on the images for details"
because many users stood without clicking on the pictures, so the content was not seen.

add this code into Override.css (assume that override is enabled in the template configuration)
replace the text and color of the font as you want
Code: Select all
// if you want to insert a text before the images
.gkNspPM-Portfolio2 .gkImagesWrapper::before {
    clear: both;
    color: #000;
    content: "what you want to display before the k2 portfolios images - example : Click on the image for details";
    display: table;
}
.gkPortfolioPopup.activated.active::before {
    content: "what you want to display before the k2 element image";
    color: #000;
}
// if you want to insert a text after the images
.gkNspPM-Portfolio2 .gkImagesWrapper::after {
    clear: both;
    color: #000;
    content: "what you want to display AFTER the k2 portfolios images";
    display: table;
}
.gkPortfolioPopup.activated.active::after {
    content: "what you want to display AFTER the k2 element image";
    color: #000;
}

;)
User avatar
Gold Boarder

GK User
Tue Sep 15, 2015 8:54 am
Reply with quote
Report this post
Interesting idea. Thanks for sharing.
User avatar
Moderator


cron