Closed (fixed)
Project:
NewsFlash
Version:
6.x-1.6
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
29 Jan 2010 at 21:01 UTC
Updated:
23 Oct 2011 at 20:41 UTC
I am using newsflash and need to theme the suckerfish menu to have horizontal 2nd level (sub level) menus.
I believe this can be achieved with either css or adding code to the theme's phptemplate.
I would also like to make the 2nd level background-color and text color different from the top level.
But I am horrible at doing either and would appreciate some guidance.
For reference, a suggestion I was given for a different theme (acquia prosper) was to do the following to inject the sf-navbar class:
function acquia_prosper_preprocess_page(&$vars) {
// Add Superfish navbar class if dropdown enabled
if ($vars['primary_links'] && theme_get_setting('primary_menu_dropdown') == 1) {
$vars['primary_links_tree'] = preg_replace('/<ul class="menu sf-menu/i', '<ul class="menu sf-menu sf-navbar', $vars['primary_links_tree'], 1);
}
}
Comments
Comment #1
kenyan commentedAnyone?
Comment #2
kenyan commentedAnyone on the css? :)
Bumping
Comment #3
kenyan commentedOh well.
I guess not
Comment #4
irishgringo commenteddid you ever resolve this? I was about to do the same thing with a openpublish theme.
Comment #5
kisugiai commentedclosed -- issue fixed for 2 weeks with no activity.