NAV_TABLE_COLUMN does not allow background color change

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
HansV
Posts: 34
Joined: Fri 25. Mar 2005, 13:05
Location: Rotterdam, The Netherlands

NAV_TABLE_COLUMN does not allow background color change

Post by HansV »

Hi all

How can I change background color of the left section when I use NAV_TABLE_COLUMN in the left section?

Did some searching on the forums, found some replies but no final solutions.

I have changed the following, without success:

-page layout left section color: #3399ff

-conf.template_default.inc.php: changed all entries with 'bgcolor' in the name (eg row_space_bgcolor, row_norm_bgcolor etc) between line 19 and 64 to: #3399ff

-in the template I use a DIV tag to set the style; the background-color of the referred style is: #3399ff

However, despite all this, the background color remains white...

Check http://www.vollebregtonline.com/ to see..

Help!
-Hans
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

Hi

tha nav_table also use the Class >td< so take a look in your frontend.css at

Code: Select all

td, tr, th, p {
        background-color: white;
        vertical-align: top;
	font-family: Verdana, Helvetica, Arial, sans-serif;
	font-size: 12px
}
you see ? background-color: white :D
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
HansV
Posts: 34
Joined: Fri 25. Mar 2005, 13:05
Location: Rotterdam, The Netherlands

Post by HansV »

Hi pico

Awesome! Cannot believe I overlooked that one!
Thanks a lot,

-Hans
renatouno
Posts: 8
Joined: Sun 3. Apr 2005, 09:46

Post by renatouno »

Hi,

I have the same issue whereas I cant change the background grey (#D9DEE3) of NAV_TABLE_COLUMN. I am unable to understand from the exchage, what exactly should I be doing to change it? :cry:

I cant even find the option anywhere in layout/template/frontend.CSS as well.

Can you also tell me the TAG used on the website for the left side navigational http://www.vollebregtonline.com as I will like to have a similar link structure ?

How do I change the RED colour of Links as the change in Layour options does not seem to be working.

Help.....

Regards,

Renato
HansV
Posts: 34
Joined: Fri 25. Mar 2005, 13:05
Location: Rotterdam, The Netherlands

Post by HansV »

The left menu I did as follows:

Code: Select all

<div id="vol_left">
{NAV_TABLE_COLUMN}
</div>
Then in the frontend.css I added a style like this:

Code: Select all

#vol_left {
  background-color: #3399ff;
  height: 540px;
  border-left: solid black;
  border-right: thin solid black;
  border-top: thin solid black;
  border-bottom: thin solid black;
}
That worked for the background color of the left pane, except for the background directly behind the {NAV_TABLE_COLUMN}. To change that color, pico's hint worked. So I changed the

Code: Select all

td, tr, th, p { 
        background-color: white; 
        vertical-align: top; 
   font-family: Verdana, Helvetica, Arial, sans-serif; 
   font-size: 12px 
} 
into

Code: Select all

td, tr, th, p {
        background-color: #3399ff;
        vertical-align: top;
	font-family: Verdana, Helvetica, Arial, sans-serif;
	font-size: 12px
}
The same applies to the link colors. Just change the

Code: Select all

a, a:link, a:visited, a:active {
	color: blue;
        background: transparent;
        font-weight: normal;
	text-decoration: none;
}
a:hover {
    color: rgb(255,254,17);
    background: rgb(30,115,255); 
    font-weight: none;
    text-decoration: none;
}
properties in the frontend.css to the colors you like. You can differentiate in setting different link colors in different sections by using <div id="yourstyle"> tags as you like.

Good luck!
renatouno
Posts: 8
Joined: Sun 3. Apr 2005, 09:46

Post by renatouno »

thankx, I took the hard coding route of putting the color in the config files in include Libraray.

Your solution is much more elegant and generic.

Its funny how I am ending up learning CSS & other technical stuff although I used phpWCMS precisely so that I can avoid learning any coding.

Renato
HansV
Posts: 34
Joined: Fri 25. Mar 2005, 13:05
Location: Rotterdam, The Netherlands

Post by HansV »

I agree with you on that point. Although I still find phpWCMS currently the best CMS I used (which enabled me to get my site live with a fairly OK color scheme etc within days in stead of weeks or months) one of the questions I still have is: how are templates and generic layout related to each other?

If you use one, you seem to rule out the other.

I have posted this question earlier: http://www.phpwcms.de/forum/viewtopic.p ... highlight=

Unfortunately, there's no clear answer to that one yet.

Regards
-Hans
renatouno
Posts: 8
Joined: Sun 3. Apr 2005, 09:46

Post by renatouno »

That is really true.

I have put up my company website http://prova.co.in in about 10 days or so. That too with no experience absolutely.

I have no problems with template and layout as I use the colours from layout while the content is coming from template.

Do let me know if you need my setting.

Regards,

Renato
HansV
Posts: 34
Joined: Fri 25. Mar 2005, 13:05
Location: Rotterdam, The Netherlands

Post by HansV »

Yes I would be curious to see them... I have posted mine in my other post.

Anyway, this is a good CSS resource if you need that: http://www.htmlhelp.com/reference/css/
This is one I use for HTML: http://www.htmlhelp.com/reference/html40/
HansV
Posts: 34
Joined: Fri 25. Mar 2005, 13:05
Location: Rotterdam, The Netherlands

Post by HansV »

Your site really looks good... How did you manage to get the white color for the selected category? That's something I want too but I did not manage to achieve it yet.
Post Reply