NSP Active Hover Box too Large

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
Sat Dec 27, 2014 8:10 am
Reply with quote
Report this post
Hello, following this article I've enlarged the width of my template:
https://www.gavick.com/documentation/jo ... n-template

Now the frontpage NSP module, when an element is hovered, as a box that's too large in width.

I tried adjusting the width of this element, but since I have a limited amount of item to show, it looks odd is the disposition changes. I would like to keep the 4 column of 3 elements; changing the folowing CSS changed it to 5 columns to fill up gaps:

Code: Select all
gkNspPM-Portfolio2 .gkImagesWrapper > a.active {
opacity: 1;
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
width: 225px; // (added, won't work. Gives 5 columns instead of 4)
}


I just want the hover box to be the same dimension as the item image showed.

Here is the link: http://www.quebecguitare.ca/
(it's the "My hot work" section module)

Regards
User avatar
Platinum Boarder

GK User
Sat Dec 27, 2014 9:12 am
Reply with quote
Report this post
Hello,

In this case you have to increase the size of thumbnails generated by the module or add in the template settings -> advanced settings -> custom CSS code option the following code:

Code: Select all
.gkNspPM-Portfolio2 .gkImagesWrapper > a img {
width: 100%;
}
User avatar
Administrator

GK User
Sat Dec 27, 2014 9:33 am
Reply with quote
Report this post
Thank you Dziudek it worked!
http://www.quebecguitare.ca/

Regards
User avatar
Platinum Boarder


cron