HI all!
How can I modify {NAV_ROW}?
I want my {NAV_ROW} in another color as my default link color.
Thanks in advanced!
ps. tried to find out for myself but I didn't find out how...
Control font colors
check your frontend.css file
adjust your a: default attributes:
a:visited {
color: #0000CC;
text-decoration: none;
}
a:link {
color: #EB002F;
text-decoration: none;
}
a:hover {
color: #0000CD;
text-decoration: underline;
}
adjust your a: default attributes:
a:visited {
color: #0000CC;
text-decoration: none;
}
a:link {
color: #EB002F;
text-decoration: none;
}
a:hover {
color: #0000CD;
text-decoration: underline;
}
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!
The best way to find all these classes references that you are looking for in your .css file is...
by looking in your browser's source of the page (ideally Firefox is good at this) and find the wording of a specific title or subtitle etc...
If I recall, in 1.2.5, main titles are tagged as h1. Then... next step is to edit your css files (frontend and print).
by looking in your browser's source of the page (ideally Firefox is good at this) and find the wording of a specific title or subtitle etc...
If I recall, in 1.2.5, main titles are tagged as h1. Then... next step is to edit your css files (frontend and print).
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!
This was my question too... The tips were great, but now (in my case) I've got the problem of having three different types of content that all use the same 'class'; which is "a, a:link, a:visited, a:active" right?
For the example, please visit my homepage:
http://www.gkhome.net/index.php?index
There is the {NAV_ROW} tag in the header, the "Link Article" content part, and the {NAV_ROW:12:0} tag in the footer - all seem to refer to the same part of the CSS file. So changing the font colour there changes all the above colours.
What's the method of creating new Classes, or somehow referencing to other colours. I tried using a <font> tag within the Template, but it didn't change the actual link colour.
I've also had a look in "conf.template_default.inc.php"; but nothing made much sense to me there.
Many thanks in advance,
Goshen
For the example, please visit my homepage:
http://www.gkhome.net/index.php?index
There is the {NAV_ROW} tag in the header, the "Link Article" content part, and the {NAV_ROW:12:0} tag in the footer - all seem to refer to the same part of the CSS file. So changing the font colour there changes all the above colours.
What's the method of creating new Classes, or somehow referencing to other colours. I tried using a <font> tag within the Template, but it didn't change the actual link colour.
I've also had a look in "conf.template_default.inc.php"; but nothing made much sense to me there.
Many thanks in advance,
Goshen
Hi Goshen,
modifying NAV ROW with many classes means messing with the core code... or you can use conf.template_default.inc.php to add your own.
but if you want a lot of different classes, you can use {NAV_LIST_TOP:IndexName:ClassName} (see docu site) and use your own classes.
CHeers
modifying NAV ROW with many classes means messing with the core code... or you can use conf.template_default.inc.php to add your own.
but if you want a lot of different classes, you can use {NAV_LIST_TOP:IndexName:ClassName} (see docu site) and use your own classes.
CHeers
1.3 out, testing, testing...
Sponsoring 4 phpwcms Blog and Usermanagement
Sponsoring 4 phpwcms Blog and Usermanagement