Duplication of images of stars of ratings...

Phoca Gallery - image gallery extension
vovchick
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 09 Mar 2010, 12:19
Location: Russian
Contact:

Duplication of images of stars of ratings...

Post by vovchick »

Hello!
At me two questions:

1. How to correct duplication of stars in ratings

2 How to change style of a window of a rating and comments

Also it is impossible to attach a file to this message. How it to make?

Thanks.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Duplication of images of stars of ratings...

Post by Jan »

Hi, yes the screenshot is needed, please paste the screenshot via e.g. imageshack.


2. You can set detail window in parameters:
https://www.phoca.cz/documents/2-phoca-g ... -menu-item
Jan
If you find Phoca extensions useful, please support the project
vovchick
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 09 Mar 2010, 12:19
Location: Russian
Contact:

Re: Duplication of images of stars of ratings...

Post by vovchick »

Jan wrote:Hi, yes the screenshot is needed, please paste the screenshot via e.g. imageshack.
How it to make?
siddan
Phoca Member
Phoca Member
Posts: 40
Joined: 08 Aug 2009, 16:37

Re: Duplication of images of stars of ratings...

Post by siddan »

Hi

There is a conflict with your "Photodark" template.css file.
You have a padding-left of 13px in row 1079. This is what causes the extra sixth star.

Either you can remove the default padding or you can add this in your template to override it so there are no padding in phoca gallery rating

row 1079

.art-Post li {
line-height:1.2em;
padding:0 0 0 13px;
}
.current-rating { /* there was an extra 6th star in phoca thumb rating */
padding:0;
}
vovchick
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 09 Mar 2010, 12:19
Location: Russian
Contact:

Re: Duplication of images of stars of ratings...

Post by vovchick »

Thanks, but, unfortunately do not help
siddan
Phoca Member
Phoca Member
Posts: 40
Joined: 08 Aug 2009, 16:37

Re: Duplication of images of stars of ratings...

Post by siddan »

Hey

ok! then maybe you have to put a higher value to it....
Add this before .star-rating-small and it should work

.star-rating-small .current-rating {
padding:0
}
vovchick
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 09 Mar 2010, 12:19
Location: Russian
Contact:

Re: Duplication of images of stars of ratings...

Post by vovchick »

I have placed
.star-rating-small.current-rating {
padding:0
}

on 1077
in file templete.css of photodark templete-

Has not worked :idea:
siddan
Phoca Member
Phoca Member
Posts: 40
Joined: 08 Aug 2009, 16:37

Re: Duplication of images of stars of ratings...

Post by siddan »

Hi

Be sure that there must be an empty space between those two classes
.star-rating-small.current-rating(faulty)
.star-rating-small .current-rating(correct)
vovchick
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 09 Mar 2010, 12:19
Location: Russian
Contact:

Re: Duplication of images of stars of ratings...

Post by vovchick »

Hi
I understand
In my file .star-rating-small .current-rating {
padding:0
}
Now I have copied from a file
Does not wish to work as it is necessary
:cry:
Post Reply