Category view - cut categoryname

Phoca Gallery - image gallery extension
spektr
Phoca Member
Phoca Member
Posts: 47
Joined: 03 Oct 2008, 23:39

Re: Category view - cut categoryname

Post by spektr »

I guess it is in CSS to, Jan do you know where. I will look, but I'm not sure If I will find it :)

Thanks to all so far :)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Category view - cut categoryname

Post by Jan »

Yes, if you can change the e.g. font size via parameters then it is modified by parameters, if not then it is modified by template css (main template css or phocagallery.css), so in categories view, font size is the same as other item in the site, defined in template css:

e.g.
templates/your-template/css/template.css

or
components/com_phocagallery/assets/css/phocagallery.css

Jan
If you find Phoca extensions useful, please support the project
spektr
Phoca Member
Phoca Member
Posts: 47
Joined: 03 Oct 2008, 23:39

Re: Category view - cut categoryname

Post by spektr »

Hm there is no way to just modify the categories fonts? I can change the size of font in main css template file, but with that I will change other font's on the site too..
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Category view - cut categoryname

Post by Jan »

Phoca Gallery is saved in phocagallery div (id), so if you want to change e.g. <p> tag, you should add the following code into your css:

Code: Select all

#phocagallery p {
    font-size:15px;
}
so this should be applied only for phoca gallery code

Jan
If you find Phoca extensions useful, please support the project
spektr
Phoca Member
Phoca Member
Posts: 47
Joined: 03 Oct 2008, 23:39

Re: Category view - cut categoryname

Post by spektr »

So i should add this code to my template css right? I did this, but hm..no luck. Is it important where in CSS file I should insert this code?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Category view - cut categoryname

Post by Jan »

At the end, will be good, but first you should find which tag you want to change, the p tas is an example...

#phocagallery your-tag {
....
}

Jan
If you find Phoca extensions useful, please support the project
spektr
Phoca Member
Phoca Member
Posts: 47
Joined: 03 Oct 2008, 23:39

Re: Category view - cut categoryname

Post by spektr »

Aha. I'm making some progress :)
Tag..hm, I don't know how is cagegories name tag called :)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Category view - cut categoryname

Post by Jan »

you should know which tag you want to change...

e.g. if you want to change <p> tag or <span> tag... see the text which you want to change in html (see source code of your site and you will see in which tag the text is closed)

Jan
If you find Phoca extensions useful, please support the project
spektr
Phoca Member
Phoca Member
Posts: 47
Joined: 03 Oct 2008, 23:39

Re: Category view - cut categoryname

Post by spektr »

Ok, I will give it a try. Thanks Jan :D
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Category view - cut categoryname

Post by Jan »

ok
If you find Phoca extensions useful, please support the project
Post Reply