Hello, I'm trying to put the category's name under the image, instead of on the right. It's a topic already discussed, but I guess it's for previous version, because I cannot find the code suggested! Any tip for the new version?
Old versions
viewtopic.php?f=1&t=793&hilit=name+belo ... l&start=10
viewtopic.php?f=1&t=13140
viewtopic.php?f=1&t=9974
Categories View: category name under the image
-
phidias81
- Phoca Enthusiast

- Posts: 70
- Joined: 05 Jan 2012, 01:20
- Contact:
-
phidias81
- Phoca Enthusiast

- Posts: 70
- Joined: 05 Jan 2012, 01:20
- Contact:
Re: Categories View: category name under the image
I was able to do it with css, even if I guess it would be much easier in php, but I don't know how to do it.
In case somebody else want to do it this is the code I added.
In case somebody else want to do it this is the code I added.
Code: Select all
#phocagallery td {
float:left;
text-align:center;
}
#phocagallery table tr td div.pg-imgbg a, #phocagallery table tr td div.pg-imgbg a img, #phocagallery table tr td div.pg-imgbg {
position:relative;
top:3px;
}
#phocagallery div.pg-cats-box-float td[align="center"]{
position:relative;
left:13px;
}
#phocagallery div.pg-cats-box-float :nth-child(2){
max-width:200px;
min-height:45px;
}- Jan
- Phoca Hero

- Posts: 49150
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Categories View: category name under the image
Hi, thank you for the guide.
Jan
Jan
If you find Phoca extensions useful, please support the project