logo maximenuck 64Maximenu CK

Maximenu CK is a Joomla megamenu dropdown with nice effects.

logo slideshowck 64Slideshow CK

Slideshow CK, nice effect with this slideshow responsive design.

logo accordeonmenuck joomlaAccordeon Menu CK

Accordeon menu CK is a joomla accordion menu with mootools effects.

logo template creator joomlaTemplate Creator CK

Template Creator CK is a tool to create your own Joomla! templates.

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: ACTIVE STATE?????

ACTIVE STATE????? 20 Dec 2016 18:47 #39326

  • flebotomy
  • flebotomy's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Karma: 0
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.
The administrator has disabled public write access.

ACTIVE STATE????? 20 Dec 2016 18:58 #39327

  • ced1870
  • ced1870's Avatar
  • NOW ONLINE
  • Administrateur
  • Posts: 17491
  • Thank you received: 2232
  • Karma: 389
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
The administrator has disabled public write access.

ACTIVE STATE????? 20 Dec 2016 19:56 #39329

  • flebotomy
  • flebotomy's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Karma: 0
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.
The administrator has disabled public write access.

ACTIVE STATE????? 20 Dec 2016 20:09 #39330

  • ced1870
  • ced1870's Avatar
  • NOW ONLINE
  • Administrateur
  • Posts: 17491
  • Thank you received: 2232
  • Karma: 389
please give me your url to check
Joomlack Webmaster and Developer
The administrator has disabled public write access.

ACTIVE STATE????? 20 Dec 2016 20:25 #39332

  • flebotomy
  • flebotomy's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Karma: 0
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
The administrator has disabled public write access.

ACTIVE STATE????? 21 Dec 2016 10:32 #39338

  • ced1870
  • ced1870's Avatar
  • NOW ONLINE
  • Administrateur
  • Posts: 17491
  • Thank you received: 2232
  • Karma: 389
please make your website online, I can not modify my hosts file for every website that I need to check :)
Joomlack Webmaster and Developer
The administrator has disabled public write access.

ACTIVE STATE????? 21 Dec 2016 14:28 #39341

  • flebotomy
  • flebotomy's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Karma: 0
I can't just publish the website, it's not finished...this is the only way to view it until it's ready.

I've attached two screenshots with firebug, but I'd really appreciate it if you could look at



dev.
The administrator has disabled public write access.

ACTIVE STATE????? 21 Dec 2016 19:02 #39345

  • ced1870
  • ced1870's Avatar
  • NOW ONLINE
  • Administrateur
  • Posts: 17491
  • Thank you received: 2232
  • Karma: 389
ok
you can use this rule in the theme or any css file
ul#accordeonck203 li.accordeonck.active > span a {
color: #B83A32;
}
Joomlack Webmaster and Developer
The administrator has disabled public write access.

ACTIVE STATE????? 21 Dec 2016 21:19 #39353

  • flebotomy
  • flebotomy's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Karma: 0
Thank you, that worked. I'll replicate this for the other IDs - your help is greatly appreciated.

Happy Holidays!
The administrator has disabled public write access.

ACTIVE STATE????? 21 Dec 2016 21:24 #39354

  • ced1870
  • ced1870's Avatar
  • NOW ONLINE
  • Administrateur
  • Posts: 17491
  • Thank you received: 2232
  • Karma: 389
thank you, happy holidays to you too !

a little tips, if you are using the same theme for all modules you can use <?php echo $id; ?> like this
<?php echo $id; ?> li.accordeonck.active > span a {
color: #B83A32;
}

this avoids to replicate the css rule for each menu ID
Joomlack Webmaster and Developer
The administrator has disabled public write access.
The following user(s) said Thank You: flebotomy
  • Page:
  • 1
  • 2
Time to create page: 0.235 seconds
Powered by Kunena Forum

Mentions légales

Site made by Cédric KEIFLIN

Privacy policy

Copyright © 2010 - 2015

http://forum.joomlack.fr is not affiliated with or endorsed by the Joomla! Project or Open Source Matters. The Joomla!® name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.

Qui est en ligne

We have 89 guests and 2 members online