ACTIVE STATE?????

More
7 years 11 months ago #39326 by flebotomy
ACTIVE STATE????? was created by flebotomy
I looked through the forum and tried every example that was suggested for an active state. I even purchased the Accordeon Menu CK Params and I still cannot figure out how to make this work. Why wasn't the ACTIVE state CSS added before I downloaded this module - it doesn't make any sense that I have to add the CSS, it should come pre-installed.

Anyhow - how do I fix this issue??? I need an active state present so that the user knows what pages he/she is on. I am using alias menu items for the sub-navigation.

Thank you.

Please Log in or Create an account to join the conversation.

More
7 years 11 months ago #39327 by ced1870
Replied by ced1870 on topic ACTIVE STATE?????
Hi
by default it works. This said, I can imagine that you have a problem on your website using the menu.

Do you have a cache system enabled ?
CEd

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
7 years 11 months ago #39329 by flebotomy
Replied by flebotomy on topic ACTIVE STATE?????
I do not have cache enabled.

Here is the PHP/CSS file that I modified mod_accordenck_css.php from default folder:

<?php
header('content-type: text/css');
$id = 'ul#'.htmlspecialchars ( $_GET , ENT_QUOTES );
?>

/*
-- Default theme Menu Accordeon CK --
-- This is a blank theme with annotations --
-- you can fill it like you want --
-- to put your own CSS --
*/


/* main UL container */
<?php echo $id; ?> {
text-decoration: none;


}

/* style for all links */
<?php echo $id; ?> li {
background: none;
text-decoration: none;

}

/* style for all anchors */
<?php echo $id; ?> li a {
background: none;
text-decoration: none;
}

<?php echo $id; ?> li a.active {
background: none;
text-decoration: none;
color: #B83A32;
}


<?php echo $id; ?> .accordeonck_outer {
display: block;
text-decoration: none;
}


/* style for all link descriptions */
<?php echo $id; ?> li a span.accordeonckdesc {
display: block;
text-decoration: none;
}



/*
-- Level 1 --
*/

/* first level (root) link */
<?php echo $id; ?> li.level1 {
list-style-type: none;

}

/* first level (root) link anchor */
<?php echo $id; ?> li.level1 > a {
text-decoration: none;

}

/* first level (root) link anchor */
<?php echo $id; ?> li.level1 > a.active {
text-decoration: none;
color: #B83A32;

}



/* first level (root) link description */
<?php echo $id; ?> li.level1 > a span.accordeonckdesc {

}


/*
-- Level 2 --
*/

/* second level link */
<?php echo $id; ?> li.level2 {

}

/* second level link anchor */
<?php echo $id; ?> li.level2 > a {
text-decoration: none;

}

/* second level link description */
<?php echo $id; ?> li.level2 > a span.accordeonckdesc {

}

/*
-- Level 3 and more --
*/

/* third and deeper level link */
<?php echo $id; ?> li.level2 li {

}

/* third and deeper link anchor */
<?php echo $id; ?> li.level3 a {

}

/* third and deeper link description */
<?php echo $id; ?> li.level3 a span.accordeonckdesc {

}



Please tell me what I am doing wrong. Again, I am using menu item alias if that makes a difference.

Thank you.

Please Log in or Create an account to join the conversation.

More
7 years 11 months ago #39330 by ced1870
Replied by ced1870 on topic ACTIVE STATE?????
please give me your url to check

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
7 years 11 months ago #39332 by flebotomy
Replied by flebotomy on topic ACTIVE STATE?????
You can use this URL:
www.amegoinc.org/programs-services/adult...ces/day-habilitation

You will need to adjust your HOSTS file to see the website as it is in development:

107.180.28.42 www.amegoinc.org
107.180.28.42 amegoinc.org

I've also tried adding the following without any success:

#accordeonck203 li.level1 > .accordeonck_outer a.active {
text-decoration: none;
color:#B83A32;
}

#accordeonck203 li.level1 > a.active {
text-decoration: none;
color:#B83A32;
}


Thank you for your assistance.

-paul

Please Log in or Create an account to join the conversation.

More
7 years 11 months ago #39338 by ced1870
Replied by ced1870 on topic ACTIVE STATE?????
please make your website online, I can not modify my hosts file for every website that I need to check :)

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

Time to create page: 0.219 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1023 guests and 2 members online