Category Heading and Link CSS

Phoca Gallery - image gallery extension
dbach
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 07 Apr 2008, 15:19

Hi, wondering if you

Post by dbach »

Hi, wondering if you can help. Couple of questions. Is it possible to enter some intro text so that it appears above a category list?

Also, the text links for my categories seem to be ignoring my site CSS rules and are in default blue, is it possible to change these??


Cheers,
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Hi,Yes -

Post by Jan »

Hi,

Yes - in category edit, you have an editor and there you can paste the description which will be displayed above the category

Text link in categories view should get CSS from template. There is no definition for it...

Jan
If you find Phoca extensions useful, please support the project
dbach
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 07 Apr 2008, 15:19

Hi, thanks for your

Post by dbach »

Hi, thanks for your response.

To get around the intro text in categories view I hard coded that into:

views-categories-tmpl-default.php


As for the text links in categories view, in the same php file (line 138) I entered some heading tags <h5>></h5> then changed my template css. That worked to a certain extent for text size and decoration but has not fixed the link colour.

Any suggestions??

The site in question is www.work-art.co.uk so you can see what is happening.

Thanks for any help on this.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Hi, try to use more

Post by Jan »

Hi, try to use more columns in categories view (only tip)

Add the following CSS code into:

#phocagallery a {color:#fc0000;}
e.g.

components\com_phocagallery\assets\phocagallery.css

but before it upgrade to 1.6.6 (I have added the link to this CSS file in categories view)
If you find Phoca extensions useful, please support the project
dbach
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 07 Apr 2008, 15:19

Cheers Jan, that has

Post by dbach »

Cheers Jan, that has fixed the problem,

thanks
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Post by Jan »

If you find Phoca extensions useful, please support the project
smartino
Phoca Member
Phoca Member
Posts: 36
Joined: 21 Jul 2010, 19:52

Re: Category Heading and Link CSS

Post by smartino »

I would also like to put some introduction text BEFORE listing all of the categories below, can anyone tell me what was edited in the below default.php file to make this happen? Or is their another way?

thanks

Steve

* Report this post
* Reply with quote

Hi, thanks for your

Postby dbach on 08 Apr 2008, 12:09
Hi, thanks for your response.

To get around the intro text in categories view I hard coded that into:

views-categories-tmpl-default.php


As for the text links in categories view, in the same php file (line 138) I entered some heading tags <h5>></h5> then changed my template css. That worked to a certain extent for text size and decoration but has not fixed the link colour.

Any suggestions??

The site in question is www.work-art.co.uk so you can see what is happening.

Thanks for any help on this.

dbach
Phoca Newbie
Phoca Newbie

Posts: 3
Joined: 07 Apr 2008, 09:19
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Category Heading and Link CSS

Post by Jan »

Hi, this will work in Joomla! 1.6 for now this must be customized in default.php - but it depends on you where you want to display the description - it is a html code, so you need to place it where you need it.

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