Help locate/customize class html tag

Phoca Gallery - image gallery extension
pozzyland
Phoca Member
Phoca Member
Posts: 14
Joined: 18 Apr 2009, 09:08

Help locate/customize class html tag

Post by pozzyland »

Hello,
I need to customize the css style of h1 tag on category title (http://prntscr.com/htqcou) and css style of category description (http://prntscr.com/htqcou).

If i don't have made a mistake the style is inline.

How con I do the change.

Thanks and Merry Christmass,
Michele

Tags:
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: Help locate/customize class html tag

Post by christine »

Hi Michele,

I don't know, why you made such formatting Inline.

You could try as follows. Just to put Code at the end of your template.css:

Code: Select all

.pg-cv-desc > h1 {
font-size: 1.5rem !important;
}
But: it could be needed, that you have to add an: !important; as your Inline-CSS takes precedence (if you don't remove that).
To say more about, it would be useful to see the URL live.

Kind regards, Christine
pozzyland
Phoca Member
Phoca Member
Posts: 14
Joined: 18 Apr 2009, 09:08

Re: Help locate/customize class html tag

Post by pozzyland »

Hi Christine,
thanks, the url is http://www.savinidaniela.it/gallery/cat ... aling.html
My problem is the style inline to remove that I'm not able to find in the code .

Happy New Year,
Michele
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: Help locate/customize class html tag

Post by christine »

Hi Michele,

do you mean the h1 of: "Gallery - Progetto, Dry Point ... etc"?
I can't see an Inline Style, but CSS Code in default.css.

Put following code at the end of your template.css, I think in your case e.g. main.css.

Code: Select all

.pg-category-view .page-header h1 {
    font-size: 1.4em !important;
}
Kind regards, Christine
pozzyland
Phoca Member
Phoca Member
Posts: 14
Joined: 18 Apr 2009, 09:08

Re: Help locate/customize class html tag - SOLVED

Post by pozzyland »

Thanks Christine!!!!
I solved!
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: Help locate/customize class html tag

Post by christine »

Hi Michele,

That's fine. Thank you for feedback and wish you Happy New Year, Christine
Post Reply