Hello,
I have a gallery with images in portrait and in landscape format, which I set up following Benno's tutorial in this post:
viewtopic.php?p=43746#p43746
Everything went well with the generation of new thumbnails, but there is one issue. In the category view, the title of the image is left-aligned. I think, for my website, it would look better if it were centered. Would it be possible to display all image titles centered? Could I do this somewhere in the CSS?
I am using Phoca Gallery for Joomla 5.
Thanks in advance for your answers.
Is it possible to display the image title centered below the image?
-
- Phoca Newbie
- Posts: 6
- Joined: 15 Aug 2024, 16:23
-
- Phoca Hero
- Posts: 2819
- Joined: 28 Nov 2010, 17:20
Re: Is it possible to display the image title centered below the image?
Hi,
try following code(s) to your user.css (Cassiopeia) ... or custom.css (depends on template):
Kind regards
Christine
try following code(s) to your user.css (Cassiopeia) ... or custom.css (depends on template):
Code: Select all
.pg-category-box-title {
text-align: center;
}
.pg-item-box-title.category {
text-align: center;
}
Christine