layout glitch k2 tags/rating and image gallery

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
Mon Feb 24, 2014 1:05 am
Reply with quote
Report this post
hi there,

looks like you didn't plan to use k2 tags and the rating all over this great template, right? Haven't found K2 tags anywhere in the demo.

I like to use them nevertheless on my site. Enabling them in category view or article view looks like on the screenshot.

gk_cloudhost_k2-tags.jpg


Could you please provide me with a solution to fix the layout glitch. The images on the screenshot is the K2 article image gallery, simple image gallery pro is also installed.

thanks
C.F.
User avatar
Junior Boarder

GK User
Tue Feb 25, 2014 11:45 am
Reply with quote
Report this post
Hello,

Could you provide an URL to your website?
User avatar
Administrator

GK User
Tue Feb 25, 2014 12:00 pm
Reply with quote
Report this post
User avatar
Junior Boarder

GK User
Tue Feb 25, 2014 2:59 pm
Reply with quote
Report this post
Please add the following code at the end of css/k2.css file:

Code: Select all
/* Tags fix */
ul.sigProClassic li.sigProThumb,
.itemBody .itemTags li {
   padding-left: 0px!important;
   padding-right: 10px;
}
.itemRatingList li:before,
.itemTags li:before,
.sigProThumb:before {
   display: none;
}
User avatar
Administrator

GK User
Tue Feb 25, 2014 10:27 pm
Reply with quote
Report this post
thanks dziudek,

there's still some layout hiccup, see screenshot

first star is not in line with the others, when hovering also not in line.
the last image still shows the list "dot"

gk_cloudhost_k2-tags_1.jpg
User avatar
Junior Boarder

GK User
Wed Feb 26, 2014 1:55 pm
Reply with quote
Report this post
Please add also this code in the same file:

Code: Select all
.itemRatingList a:hover {
top: -5px;
left: 3px;
width:25px;
}

.itemRatingList a, .itemRatingList .itemCurrentRating {
top: 1px;
}
User avatar
Administrator

GK User
Wed Feb 26, 2014 2:41 pm
Reply with quote
Report this post
thanks dziudek,

the rating is fine now.

there's still the last "list class" visible, see screenshot.

also on the screenshot: the height of the thumbs sometimes flows out of it's box. this can be corrected by changing line 182 in joomla.css. if I use "100%" instead of "auto" it looks fine again.

181 section img {
182 height: 100%!important;
183 max-width: 100%!important
184 }

Should I use this or do you recommend any better way?

gk_cloudhost_k2-tags_2.jpg


http://www.2r8.de/blog/server-hosting/c ... ngsoption/
User avatar
Junior Boarder

GK User
Thu Feb 27, 2014 8:39 am
Reply with quote
Report this post
In order to fix this problem with last list element please change in the added code fragment:

Code: Select all
.itemRatingList li:before,
.itemTags li:before,
.sigProThumb:before {
   display: none;
}

to:
Code: Select all
.itemRatingList li:before,
.itemTags li:before,
.sigProThumb:before,
.sigProClear:before {
   display: none;
}


In order to fix the problem with thumbnails please use the following code:

Code: Select all
.sigProLinkWrapper a {
   overflow: hidden;
}
User avatar
Administrator

GK User
Thu Feb 27, 2014 9:00 am
Reply with quote
Report this post
thanks dziudek,

all sorted out and fine now.
I really appreciate your support. Also thanks to ercan-usta for providing me with the new files.
Have a nice day.
C.F.
User avatar
Junior Boarder


cron