Different styles for links

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Marcel
Posts: 80
Joined: Sat 8. Jan 2005, 13:07

Different styles for links

Post by Marcel »

Hi

I would like to have different styles for the links eg. in the breadcrumb navigation, the content part linklist and for the "more" link for article teasers. I know how to define additional styles in the style sheet, but don't know where to apply the different styles for the templates of navigation, articles etc.

Can anyone help me
Cheers
Marcel
Pappnase

Post by Pappnase »

hello

create the styles in the css. and then you you maybe work in the template with an php script. like this one for different images in ddifferent structure.

it's only an idia don't know if this work!

http://www.phpwcms.de/forum/viewtopic.p ... light=case
Marcel
Posts: 80
Joined: Sat 8. Jan 2005, 13:07

Hi Pappnase

Post by Marcel »

Thanks for your idea. I thought I could just change the styles in the template, cause I always want the same eg. style #1 for breadcrumb, style #2 for article links...i don't wanna change the styles when going to another page.

The only problem is, i don't know where to find the templates :wink:

Cheers
Marcel
pieterbeulens
Posts: 29
Joined: Fri 10. Dec 2004, 13:08
Location: Rotterdam, The Netherlands
Contact:

Post by pieterbeulens »

You could work with CSS DIVS. Per DIV you can define the A tag, for example:

#content a {
color: #000
}

#menu a {
color: #F90
}

Position the DIVS using CSS and just put your menu / content in the DIVS in the template.
Marcel
Posts: 80
Joined: Sat 8. Jan 2005, 13:07

Post by Marcel »

Everybody's talking about a certain template - but I really don't know what template you're talking about, guys...could anyone help a studip Swiss?
dpajevic
Posts: 32
Joined: Mon 31. Jan 2005, 17:39
Location: Boulder, Colorado USA

Post by dpajevic »

I think this is what you are looking for, from the root of your site. The differnet nav types are broken out with comments:

config/phpwcms/conf.template_default.inc.php
Dean
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

Hi

what here is talked as 'templete' is mean mostly the template in
Backend -> Admin -> Template (Vorlage in German)
so just make 2 ore more different Templates here and select the one you need in Admnin -> SiteStructure (Seitenstruktur)
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
Post Reply