active menu in bold or with background
- mainspring
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
12 years 5 months ago #6766
by mainspring
active menu in bold or with background was created 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
tahnk yoou for any help
Please Log in or Create an account to join the conversation.
12 years 5 months ago #6770
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic active menu in bold or with background
Hi
look in the theme folder of the module, you will find the necessary file to play with
Ced
yes it isI would like to ask if its possible to change css

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.
- mainspring
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
12 years 5 months ago #6775
by mainspring
Replied by mainspring on topic active menu in bold or with background
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;
}
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.
12 years 5 months ago #6780
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic active menu in bold or with background
try something like this :
<?php echo $id; ?> li a:hover, <?php echo $id; ?> ul li.active > a {
color: #000; font-weight: bold;
}
<?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.
- mainspring
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
12 years 5 months ago #6787
by mainspring
Replied by mainspring on topic active menu in bold or with background
still the same. no change.
appreciate any help.
thank you
appreciate any help.
thank you
Please Log in or Create an account to join the conversation.
12 years 5 months ago #6795
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic active menu in bold or with background
give me your url
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
Time to create page: 0.225 seconds