You are not logged in.

Announcement

Forum database was corrupt and an old backup was restored as temporary replacement. Registrations closed until the database is recovered. Please ask questions using the Contact form

#1 04-05-2013 21:02:10

donator
Contributors
Registered: 11-04-2013
Posts: 28

Subnav - theme.css?

I have a problem with "subNav":

There are no problems with up to 4 items in "subNav" regarding backgroundcolor and hovercolor, but starting with 5th item there is no color anymore. What did I wrong?

Last edited by donator (04-05-2013 21:24:05)

Offline

#2 04-05-2013 21:15:08

Thomas
Administrator
Registered: 10-03-2013
Posts: 897

Re: Subnav - theme.css?

How are the subnavs declared in the subpage file?

Offline

#3 04-05-2013 21:25:28

donator
Contributors
Registered: 11-04-2013
Posts: 28

Re: Subnav - theme.css?

......

<?php $subNav = array(
    "Beratung ; accordions.php; #657174;",
    "Mediation ; mediation.php; #657174;",
    "Netzwerk ; netzwerk.php ; #657174;",
    "Termine ; termine.php; #657174;",
    "Blog ; blog.php; # 657174;",
);


..................

Offline

#4 04-05-2013 21:26:59

donator
Contributors
Registered: 11-04-2013
Posts: 28

Re: Subnav - theme.css?

Here is the homepage - still under construction:

http://www.sis-in-kappeln.de

Offline

#5 04-05-2013 22:18:27

Thomas
Administrator
Registered: 10-03-2013
Posts: 897

Re: Subnav - theme.css?

There's a typo in the code wink The color code has a space between the hash (#) and the code.

Fixed version:

<?php $subNav = array(
    "Beratung ; accordions.php; #657174;",
    "Mediation ; mediation.php; #657174;",
    "Netzwerk ; netzwerk.php ; #657174;",
    "Termine ; termine.php; #657174;",
    "Blog ; blog.php; #657174;",
);

Offline

Board footer

Powered by FluxBB