Not logged in. · Lost password · Register
Forum: General Help and Support Syntax and Usage RSS
How to write colored in headlines
Avatar
maxdietrich #1
Member for 2 months · 2 posts
Group memberships: Members
Show profile · Link to this post
Subject: How to write colored in headlines
Hi together,

i want to write a colored headline.

But when i write

<color #ed1c24>====== Test ======</color>

the headline syntax is broken... When i switch the syntax the color doesn't work...

Please help me.. How to write 2 syntax togehter, you understand?

Maybe i must escape?

Thanks a lot.

Regards, Max
Avatar
Michaelsy #2
Member since Jun 2015 · 569 posts · Location: Düsseldorf, Germany
Group memberships: Members
Show profile · Link to this post
You can do that using CSS. Please take a look at: https://www.dokuwiki.org/tips:styling-headers

HTH - Michael Sy.
By Patreon.com a few eurons can be fed into the code phasers of
the DokuWiki engine. Besides, Andi's posts are worth reading.
Avatar
maxdietrich #3
Member for 2 months · 2 posts
Group memberships: Members
Show profile · Link to this post
I'm only want to style some headlines, not all of my wiki...

And where should i edit the css? I don't know how...

Can i tag a h2 headline with an id? Or with a class how in HTML?

Thanks
Avatar
Michaelsy #4
Member since Jun 2015 · 569 posts · Location: Düsseldorf, Germany
Group memberships: Members
Show profile · Link to this post
You can realize this via the Cssperpage plugin: https://www.dokuwiki.org/%3Aplugin%3Acssperpage

For details see my live demo at http://dw-livedemos.informantum.de/doku.php?id=livedemos:c….

HTH - Michael Sy.
By Patreon.com a few eurons can be fed into the code phasers of
the DokuWiki engine. Besides, Andi's posts are worth reading.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2018-12-16, 13:59:18 (UTC +01:00)