Modify CB Menu

14 years 8 months ago #105782 by krileon
Replied by krileon on topic Re:Modify CB Menu
CSS responsible for menu:
[code:1]
/***** menu BestCSS *****/
@media print { .cbMenu, .cbSSmenu { visibility:hidden; } }
/* BestCSS Menu Functional: */
.cbpMenu { margin: 0px; padding: 0px; z-index: 4; }
.cbMenu, .cbSSmenu {margin: 0px !important; padding: 0px !important; white-space: nowrap; text-align: left; float: left; list-style: none outside none !important;
width: 8em !important; }
.cbMenu ul { position: absolute; left: auto; z-index: 32001; } /* second-level lists */
.cbMenu ul ul { margin: -1em 0px 0px 10em; z-index: 32001; } /* third-and-above-level lists N/A yet */
.cbMenu span, .cbSSmenu span { display: none; }
.cbMenu a { text-align: center; }
.cbSSmenu a { text-align: left; display: block; width: 100% !important; }
.cbSSmenu li { list-style: none outside none; display: block; width: 100% !important; }
html>body .cbMenu a, html>body .cbMenu a:visited, html>body .cbMenu a:hover, html>body .cbMenu a:active,
html>body .cbSSmenu a, html>body .cbSSmenu a:visited, html>body .cbSSmenu a:hover, html>body .cbSSmenu a:active { width:auto !important; }
.cbSSmenu img { margin-right: 8px; border: none; }
.cbSSmenu img.hr { margin: 1px 0px 1px 0px; display:block; width:100% !important; height:1px; }
#conteneurmenu { height: 30px; }
/* BestCSS Menu Decoration: */
.cbMenu, .cbSSmenu {
background: #CCC;
color: #606060;
font: bold 12px Menu,Arial,Verdana,sans-serif;
border: 1px solid #CCC;
}
.cbMenu {
margin-right: 0.5em !important;
}
.cbSSmenu {
width: auto !important;
margin-top: 0.3em !important;
}
.cbSSmenu li {
padding: 0px !important;
margin: 0px !important;
background: #CCC;
border-bottom: 1px solid #CCC;
border-right: 1px solid #CCC;
width:auto !important;
}
.cbMenu a, .cbSSmenu a, .cbMenu a:link, .cbMenu a:visited, .cbMenu a:hover, .cbSSmenu a:link, .cbSSmenu a:visited, .cbSSmenu a:hover {
display: block;
color: #404040;
text-decoration: none;
font-family: Menu,Arial,Verdana,sans-serif;
font-size: 12px;
margin: 0px;
padding: 2px;
}
.cbSSmenu a, .cbSSmenu a:link, .cbSSmenu a:visited, .cbSSmenu a:hover {
padding-left: 5px;
padding-right: 3px;
}
.cbSSmenu ul:hover, .cbSSmenu a:hover, .cbSSmenu a:focus, .cbMenu a:hover, .cbMenu a:focus {
background: #EEEEEE;
color: #000040;
text-decoration: none;
margin: 0px;
}
[/code:1]

Also check your plugin/tab params for the cb.menu plugin/tab. Examine default templates template.css file and you'll see all the default styles necessary. Some required, others optional. When creating a template you should begin by editing it live with Firebug. This will allow you to dynamically change the styles without actually changing them. Find what fits and appeals to you then modify it in the file.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

14 years 8 months ago #105794 by Boumy
Replied by Boumy on topic Re:Modify CB Menu
thank you krileon for all the sources, i'll check this out. I use FireBug or CSSEdit (on OS X) indeed it is much more interactive with those one.

To Nant: maybe i wasn't clear : i don't have problem with MyCommunity Template, I didn't even install it :D
The issue occurs with my Artisteer Template.

I'll be back when I'll find the clue.

Note : Is it me or you finally changed the order (asc/desc date) for replies in this forum ? ;-) It looks more obvious to me.

Please Log in to join the conversation.

14 years 8 months ago #105799 by nant
Replied by nant on topic Re:Modify CB Menu
Boumy wrote:

To Nant: maybe i wasn't clear : i don't have problem with MyCommunity Template, I didn't even install it :D
The issue occurs with my Artisteer Template.


Reason is that your post is in the Mycommunity forum support section.

Note : Is it me or you finally changed the order (asc/desc date) for replies in this forum ? ;-) It looks more obvious to me.


It's you - you should edit this in your profile.

Please Log in to join the conversation.

14 years 8 months ago #105803 by Boumy
Replied by Boumy on topic Re:Modify CB Menu
Oups sorry, you are right Nant. Probably i saw this pulsy Neon light writen "Template" and i came in ;-)

Please Log in to join the conversation.

14 years 8 months ago #105962 by krileon
Replied by krileon on topic Re:Modify CB Menu
Boumy wrote:

Oups sorry, you are right Nant. Probably i saw this pulsy Neon light writen "Template" and i came in ;-)


Additionally we don't provide support for templates other folks developed, :blink:. I suggest you consult the original developer (if you are the developer then delve into CBs existing templates).


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.459 seconds

Facebook Twitter LinkedIn