Clear Background for Superfish
Permalink Browser Info EnvironmentAny help would be great appreciated.
Thanks!
Jeremy
Type: | Discussion |
---|---|
Status: | New |
changed - .sf-menu a to be
.sf-menu a {
/*
border-left: 1px solid #fff;
border-top: 1px solid #CFDEFF;
*/
padding: .6em 1em;
/*Changed first from .75 to .5 */
text-decoration:none;
/* Paul Mod */
border: 0px none;
background-image: url(bluebar.png);
background-position:left top;
background-repeat:repeat-x;
}
To make it easy on me I threw the image in the same folder as the CSS.
#sf-menu<?php echo $bID?> .sf-menu li{background:none} <?php if(strlen($controller->menuColor)){ ?> #sf-menu<?php echo $bID?> .sf-menu li li{background-color:<?php echo $controller->menuColor ?> !important} <?php } ?> <?php if(strlen($controller->menuColor)){ ?> #sf-menu<?php echo $bID?> .sf-menu li li li{background-color:<?php echo $controller->menuColor ?> !important} <?php } ?>
Modify 'em like in the first level (cut out the php chunk and replace it with background-color: none) and I think it'll work.
Create a directory named autonav in your local blocks/ directory, and copy packages/superfish/blocks/autonav/view.php to this directory, and open it and make changes to the code itself.
Then, open view.php and look for lines referencing <?php echo $controller->menuColor ?>. Change those CSS lines to use transparent instead of the color.