active menu in bold or with background

More
12 years 5 months ago #6766 by mainspring
Hello I would like to ask if its possible to change css so there is Active menu items in bold or with background color or image?

tahnk yoou for any help

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

More
12 years 5 months ago #6770 by ced1870
Hi

I would like to ask if its possible to change css

yes it is :)
look in the theme folder of the module, you will find the necessary file to play with
Ced

Joomlack Webmaster and Developer

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

More
12 years 5 months ago #6775 by mainspring
yes I have found this file mod_accordeonck_css
but I have only been able to change font to bold on mouseover not for active menu item i did this change. Is there a way how to change active menu item? Thank you.

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

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

/* main UL container */
<?php echo $id; ?> {
padding: 5px;
margin: 0;
}

/* style for all links */
<?php echo $id; ?> li {
border-bottom: 1px solid #ddd;
margin: 0;
text-align: left;
list-style: none;
color: #666;
background: none;
}

/* style for all links from the second level */
<?php echo $id; ?> li ul li {
list-style-type : square;
margin: 0 0 0 20px;
border-bottom: none;
border-top: 1px solid #ddd;
}

/* style for all anchors */
<?php echo $id; ?> li a {
margin: 0;
color: #555;
text-align: left;
display: block;
padding-bottom: 7px;
padding-left: 15px;
padding-right: 4px;
padding-top: 7px;
text-decoration: none;
background: none;
}

/* style for all anchors on mouseover */
<?php echo $id; ?> li a:hover, <?php echo $id; ?> ul li a:focus {
color: #000; font-weight: bold;
}


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

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

More
12 years 5 months ago #6780 by ced1870
try something like this :
<?php echo $id; ?> li a:hover, <?php echo $id; ?> ul li.active > a {
color: #000; font-weight: bold;
}

Joomlack Webmaster and Developer

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

More
12 years 5 months ago #6787 by mainspring
still the same. no change.
appreciate any help.
thank you

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

More
12 years 5 months ago #6795 by ced1870
give me your url

Joomlack Webmaster and Developer

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

Time to create page: 0.209 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 874 guests and no members online