Announcement

  •  » Themes
  •  » How to position to the center the thumbnailCategory

#1 2010-08-18 10:44:01

sergix
Member
2010-08-18
24

How to position to the center the thumbnailCategory

I'm using the theme "flop_mauve". I wish the thumbnailCategory is positioned in the center of the module instead on the left side. can you help me?

Last edited by sergix (2010-08-18 10:44:43)

Offline

 

#2 2010-08-18 11:23:15

flop25
Piwigo Team
2006-07-06
7037

Re: How to position to the center the thumbnailCategory

it's normally centred : on what navigator do you have this problem ? a link to your gallery may help


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#3 2010-08-19 10:58:56

sergix
Member
2010-08-18
24

Re: How to position to the center the thumbnailCategory

I tried using the browsers Explorer, Chrome and Firefox but unfortunately always remain positioned on the left side.
here the link..
http://www.amorecosasei.com/piwigo/

the best theme for me would be "dark" with the positioning of thumbnailCategory as "flop_mauve" but on the center, if you can help me I would be very grateful :-)

Offline

 

#4 2010-08-19 15:08:30

flop25
Piwigo Team
2006-07-06
7037

Re: How to position to the center the thumbnailCategory

Oh yes I see what you want ^^

on theme.css (ligne 247) change

.content ul.thumbnailCategories li {
float:left;
margin:0;
padding:0;
}
with

.content ul.thumbnailCategories li {
margin:0;
padding:0;
}


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#5 2010-08-19 16:12:09

sergix
Member
2010-08-18
24

Re: How to position to the center the thumbnailCategory

sorry but in the theme.css (of flop-mauve) in ligne 247 is it

TD.calDayCellEmpty { color: silver; }

anyway I tried to change the line 8

#content ul.thumbnailCategories li {
width:160px;
height:205px;
margin: 5px;
padding: 5px;
}

with the code you suggested but still does not work..

.content ul.thumbnailCategories li {
margin:0;
padding:0;
}

Offline

 

#6 2010-08-19 18:11:38

flop25
Piwigo Team
2006-07-06
7037

Re: How to position to the center the thumbnailCategory

sry I was too fast

#content ul.thumbnailCategories li {
display:inline;
float:none;
height:205px;
margin:5px;
padding:0;
text-align:center;
width:165px;
}
and add this
.content ul.thumbnailCategories {

text-align:center;

}


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#7 2010-08-20 09:17:21

sergix
Member
2010-08-18
24

Re: How to position to the center the thumbnailCategory

thanks for the effort, the code that you gave me is fine with Explorer and Firefox, but Chrome and Safari are unfortunately positioned vertically  :-(

Offline

 

#8 2010-08-21 18:24:32

flop25
Piwigo Team
2006-07-06
7037

Re: How to position to the center the thumbnailCategory

sorry but I'm trying again and again but I don't succeed ... maybe ask on a forum specialized in css rules


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#9 2010-08-21 19:03:36

sergix
Member
2010-08-18
24

Re: How to position to the center the thumbnailCategory

many thanks anyway

Offline

 
  •  » Themes
  •  » How to position to the center the thumbnailCategory

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact