How to centering the output of the Phoca Gallery Plugin
Posted: 08 Jan 2009, 19:22
Hello,
I hope this can help for people who want to center the output of the Phoca Gallery Plugin.
After billions of testes I had success using the following syntax in the css file of the template you're using:
..where 570 is the width you want to give to the output...but...be careful! I don't understand what happens exactly so you need to find different widths in order to see correctly and centered the output. For me worked to declare a width of 570px when the "parent" container of the articles was 685px.
Oh I used this code in the article:
(be sure to copy it all in a single line or it won'r work!)
I hope this can help for people who want to center the output of the Phoca Gallery Plugin.
After billions of testes I had success using the following syntax in the css file of the template you're using:
Code: Select all
div#component table.contentpaneopen tbody tr td div.phocagallery {
width: [color=#FF0000][b]570[/b][/color]px !important;
margin-left: auto;
margin-right: auto;
}
Oh I used this code in the article:
Code: Select all
{phocagallery view=category|categoryid=2|imageshadow=shadow1|detail=1|displayname=0|displaydetail=0|displaydownload=0|bordercolor=#CCCCCC|bordercolorhover=#CCFFCC}