Page 2 of 3

Re: Category view - cut categoryname

Posted: 03 Nov 2008, 21:09
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 :)

Re: Category view - cut categoryname

Posted: 04 Nov 2008, 16:18
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

Re: Category view - cut categoryname

Posted: 04 Nov 2008, 16:28
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..

Re: Category view - cut categoryname

Posted: 04 Nov 2008, 23:51
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

Re: Category view - cut categoryname

Posted: 05 Nov 2008, 00:05
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?

Re: Category view - cut categoryname

Posted: 06 Nov 2008, 00:28
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

Re: Category view - cut categoryname

Posted: 06 Nov 2008, 09:24
by spektr
Aha. I'm making some progress :)
Tag..hm, I don't know how is cagegories name tag called :)

Re: Category view - cut categoryname

Posted: 07 Nov 2008, 00:00
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

Re: Category view - cut categoryname

Posted: 07 Nov 2008, 09:23
by spektr
Ok, I will give it a try. Thanks Jan :D

Re: Category view - cut categoryname

Posted: 07 Nov 2008, 13:32
by Jan
ok