Font size

Phoca Gallery - image gallery extension
Delta S4
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 19 Mar 2020, 15:35

Font size

Post by Delta S4 » 19 Mar 2020, 15:44

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?

Tags:

User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 7342
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Font size

Post by Benno » 19 Mar 2020, 15:48

Hi,
which Joomla! version?
which Phoca Gallery Component version?
which PHP version?
which frontend template?

Kind regards,
Benno

Delta S4
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 19 Mar 2020, 15:35

Re: Font size

Post by Delta S4 » 19 Mar 2020, 21:19

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

User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 7342
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Font size

Post by Benno » 19 Mar 2020, 21:53

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:

Image

Image

Kind regards,
Benno

Delta S4
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 19 Mar 2020, 15:35

Re: Font size

Post by Delta S4 » 19 Mar 2020, 22:12

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.

User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 7342
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Font size

Post by Benno » 20 Mar 2020, 01:16

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.... :idea:

Kind regards,
Benno

Delta S4
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 19 Mar 2020, 15:35

Re: Font size

Post by Delta S4 » 20 Mar 2020, 14:47

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

User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 7342
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Font size

Post by Benno » 20 Mar 2020, 16:24

Hi,
Yes, that's really strange, because I still don't see font-size: large; in your default.css.
Image

But never mind, we do it differently now.
Create a custom.css with the following content:

Code: Select all

.pg-cv-name {
    font-size: large;
}
The advantage is that the custom.css cannot be overwritten by future Phoca Gallery updates.

See images:

1.)
Image

2.)
Image

3.)
Image

Kind regards,
Benno

Delta S4
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 19 Mar 2020, 15:35

Re: Font size

Post by Delta S4 » 20 Mar 2020, 21:02

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.

User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 7342
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Font size

Post by Benno » 20 Mar 2020, 21:39

You're welcome!

Kind regards,
Benno

Post Reply