Kunena Menu
changing color and background color on page load
14 years 4 months ago - 14 years 4 months ago #4107
by mmoltzan
changing color and background color on page load was created by mmoltzan
Hi, I really like your products!
I'm using CustomCSS from: www.hyde-design.co.uk/free-joomla-extensions/custom-cs To change the color and background color on a per page basis and I need some help finding out how to get CustomCSS to change the background color for maximenu items.
CustomCSS is working great for the my css .header , .navigationbar and .navigationbar1 class ids but I can’t fixgure out how overide the maximenuck and ul.maximenuck ids from the /themes/default/css/maximenuhck.php.
Thanks for your help!
Mark Moltzan
I'm using CustomCSS from: www.hyde-design.co.uk/free-joomla-extensions/custom-cs To change the color and background color on a per page basis and I need some help finding out how to get CustomCSS to change the background color for maximenu items.
CustomCSS is working great for the my css .header , .navigationbar and .navigationbar1 class ids but I can’t fixgure out how overide the maximenuck and ul.maximenuck ids from the /themes/default/css/maximenuhck.php.
Thanks for your help!
Mark Moltzan
Last edit: 14 years 4 months ago by mmoltzan.
Please Log in or Create an account to join the conversation.
14 years 4 months ago #4109
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Re: changing color and background color on page load
Hi
you can put the css as it is in the file /themes/default/css/maximenuhck.php but replace the <?php echo $id; ?> with the Id you give in the module options (example with myID : #myID ...)
Ced
you can put the css as it is in the file /themes/default/css/maximenuhck.php but replace the <?php echo $id; ?> with the Id you give in the module options (example with myID : #myID ...)
Ced
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
14 years 4 months ago - 14 years 4 months ago #4145
by mmoltzan
Replied by mmoltzan on topic Re: changing color and background color on page load
Hi Ced,
I do not understand your reply.
My Maximenu CK module has an id of: 88 and site: of Maximen CK
Should I edit the maximenuhck.php file and change the
<?php echo $id; ?>
to
#88
for all the entries in the file?
ex:
/* container style */
div#<?php echo $id; ?> ul.maximenuck {
background : url(../images/fond_bg.png) top left repeat-x;
height : 20px; /* 34 */
padding : 0% 0% 0% 33%;
margin : 0;
overflow: visible !important;
display: block !important;
float: none !important;
visibility: visible !important;
to
/* container style */
div#88 ul.maximenuck {
background : url(../images/fond_bg.png) top left repeat-x;
height : 20px; /* 34 */
padding : 0% 0% 0% 33%;
margin : 0;
overflow: visible !important;
display: block !important;
float: none !important;
visibility: visible !important;
I do not understand your reply.
My Maximenu CK module has an id of: 88 and site: of Maximen CK
Should I edit the maximenuhck.php file and change the
<?php echo $id; ?>
to
#88
for all the entries in the file?
ex:
/* container style */
div#<?php echo $id; ?> ul.maximenuck {
background : url(../images/fond_bg.png) top left repeat-x;
height : 20px; /* 34 */
padding : 0% 0% 0% 33%;
margin : 0;
overflow: visible !important;
display: block !important;
float: none !important;
visibility: visible !important;
to
/* container style */
div#88 ul.maximenuck {
background : url(../images/fond_bg.png) top left repeat-x;
height : 20px; /* 34 */
padding : 0% 0% 0% 33%;
margin : 0;
overflow: visible !important;
display: block !important;
float: none !important;
visibility: visible !important;
Last edit: 14 years 4 months ago by mmoltzan.
Please Log in or Create an account to join the conversation.
14 years 4 months ago #4147
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Re: changing color and background color on page load
no, it is the ID you give in the module options 
here it seems to be "maximenuck", so use this
here it seems to be "maximenuck", so use this
Code:
div#maximenuck ul.maximenuck {
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
14 years 4 months ago #4211
by mmoltzan
Replied by mmoltzan on topic Re: changing color and background color on page load
this is what worked for me:
div#maximenuck ul.maximenuck li div.floatck{background:#FFFFFF !important;}
Thanks!
div#maximenuck ul.maximenuck li div.floatck{background:#FFFFFF !important;}
Thanks!
Please Log in or Create an account to join the conversation.
Time to create page: 0.197 seconds




