Page 1 of 1

Customize popup Comment and Ratings

Posted: 26 May 2011, 10:05
by alpe77
Hi, i have phocagallery 2.7.8, i have a problem when i make a comment and Ratings.

1- I have enabled Popup windows for comments and i don't have any external comment, i use the default phocagallery.
when the popup windows is show i have the poup with the scrollbar, i don't wnat the scrollbar, becouse the the contents of the window is smaller than the size of the window and do not need the scrollbar.

2- When i open then popup rating the image on popup is alignment to right with the buttons, how to align to center?

3- These windows have a border too wide, how do I reduce it?

Hi thanks.

Re: Customize popup Comment and Ratings

Posted: 27 May 2011, 14:32
by Jan
Hi,

1) scrollbars are needed, because if there are a lot of comments you will not see them without scrollbars - but you can customize the popup to hide the scrollbars - must be customized in the code :-( search this forum, there were some guides how to do it

2) the same like by 1) - needs to be customized in html/css in detail window o comment window in the code:
components/com_phocagallery/views/comments (detail)/tmpl/detault.php ...

3) which popup method do you use, e.g. borders of modal box can be set in parameters:
https://www.phoca.cz/documents/2-phoca-g ... -menu-item

Re: Customize popup Comment and Ratings

Posted: 01 Jun 2011, 11:35
by Jan
I saw your screenshots in PM, I think, this seems a template problem, did you check it with standard template?

Re: Customize popup Comment and Ratings

Posted: 21 Jun 2011, 13:42
by alpe77
Jan wrote:I saw your screenshots in PM, I think, this seems a template problem, did you check it with standard template?
Hi, thanks for your response...
I have check with the default template i haven't this problem, i have another templatethat I use and it is this "RedEvo Aphelion" The demo of this template is here

Can you help me understand what's wrong?

Re: Customize popup Comment and Ratings

Posted: 22 Jun 2011, 08:38
by alpe77
Hi Jan i have resolved the problem...
After realizing that it could be the template, so the template css I saw that there was this on tag body :

Code: Select all

body {
text-align:center; 
---> min-width:1000px;
padding:0;
margin:0;
}
The problem is this : min-width:1000px;
I have deleted this row and now i see fine...
Thanks!

Re: Customize popup Comment and Ratings

Posted: 28 Jun 2011, 23:59
by Jan
Ok