Page 1 of 1
Font size
Posted: 19 Mar 2020, 15:44
by Delta S4
Hello,
I have a problem with the phoca component.
I wish the title of the images was larger, but I can't change it from the default.css file.
Line 58:
Code: Select all
pg-cv-name {
text-align: left;
margin-top: 5px;
font-size: x-small;
I changed the font-size to normal or large, but it didn't change.
I tried to install new themes, but even with these I have not had any changes.
Can someone help me?
Re: Font size
Posted: 19 Mar 2020, 15:48
by Benno
Hi,
which Joomla! version?
which Phoca Gallery Component version?
which PHP version?
which frontend template?
Kind regards,
Benno
Re: Font size
Posted: 19 Mar 2020, 21:19
by Delta S4
Hi,
which Joomla! version? 3.9.16 Stable
which Phoca Gallery Component version? 4.3.18
which PHP version? 7.3
Web Site:
http://deltas4.altervista.org/index.php/galleria-foto
Re: Font size
Posted: 19 Mar 2020, 21:53
by Benno
Hi,
as you wrote:
http://deltas4.altervista.org/media/com ... efault.css
Line 58
change from:
Code: Select all
.pg-cv-name {
text-align: left;
margin-top: 5px;
font-size: x-small;
}
to:
Code: Select all
.pg-cv-name {
text-align: left;
margin-top: 5px;
font-size: large;
}
Clear all caches, Joomla! & Browser!
And of course it will work. See images:
Kind regards,
Benno
Re: Font size
Posted: 19 Mar 2020, 22:12
by Delta S4
Thank you so much for your help, but unfortunately I have already tried to make all these changes despite not being an expert, helping me with firefox and analyze element.
I have changed everything as per your message, but unfortunately the result does not change.
Re: Font size
Posted: 20 Mar 2020, 01:16
by Benno
Hi,
I have changed everything as per your message, but unfortunately the result does not change.
Sorry, no you didn't. If you had done it, I wouldn't be able to see this:
Code: Select all
.pg-cv-name {
text-align: left;
margin-top: 5px;
font-size: x-small;
}
I should see this:
Code: Select all
.pg-cv-name {
text-align: left;
margin-top: 5px;
font-size: large;
}
Or you are not able to save the change....
Kind regards,
Benno
Re: Font size
Posted: 20 Mar 2020, 14:47
by Delta S4
Link to screen:
https://ibb.co/wLyJ1Cv
I downloaded the default.ccs file and it is also "large".
It practically doesn't make sense.
https://ibb.co/rs8KZBx
Re: Font size
Posted: 20 Mar 2020, 16:24
by Benno
Hi,
Yes, that's really strange, because I still don't see
font-size: large; in your
default.css.
But never mind, we do it differently now.
Create a custom.css with the following content:
The advantage is that the custom.css cannot be overwritten by future Phoca Gallery updates.
See images:
1.)
2.)
3.)
Kind regards,
Benno
Re: Font size
Posted: 20 Mar 2020, 21:02
by Delta S4
ohhhhh, finally, thanks to your last instructions I managed to make the text size bigger.
I haven't figured out the reason yet, but thank you very much for your support.
Re: Font size
Posted: 20 Mar 2020, 21:39
by Benno
You're welcome!
Kind regards,
Benno