Thanks to all so far
Category view - cut categoryname
-
spektr
- Phoca Member

- Posts: 47
- Joined: 03 Oct 2008, 23:39
Re: Category view - cut categoryname
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
Thanks to all so far
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Category view - cut categoryname
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
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

- Posts: 47
- Joined: 03 Oct 2008, 23:39
Re: Category view - cut categoryname
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..
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Category view - cut categoryname
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:
so this should be applied only for phoca gallery code
Jan
Code: Select all
#phocagallery p {
font-size:15px;
}Jan
If you find Phoca extensions useful, please support the project
-
spektr
- Phoca Member

- Posts: 47
- Joined: 03 Oct 2008, 23:39
Re: Category view - cut categoryname
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?
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Category view - cut categoryname
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
#phocagallery your-tag {
....
}
Jan
If you find Phoca extensions useful, please support the project
-
spektr
- Phoca Member

- Posts: 47
- Joined: 03 Oct 2008, 23:39
Re: Category view - cut categoryname
Aha. I'm making some progress 
Tag..hm, I don't know how is cagegories name tag called
Tag..hm, I don't know how is cagegories name tag called
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Category view - cut categoryname
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
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

- Posts: 47
- Joined: 03 Oct 2008, 23:39
Re: Category view - cut categoryname
Ok, I will give it a try. Thanks Jan 
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Category view - cut categoryname
ok
If you find Phoca extensions useful, please support the project