Page 1 of 1
Categories View: category name under the image
Posted: 06 Feb 2012, 23:19
by phidias81
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
Re: Categories View: category name under the image
Posted: 26 Feb 2012, 21:16
by phidias81
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.
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;
}
Re: Categories View: category name under the image
Posted: 28 Feb 2012, 22:05
by Jan
Hi, thank you for the guide.
Jan