So, I've been theming with Fusion/D6 for about a year now- love it. I've recently started the process of switching to Fusion/D7 and I'm having some issues.
To create sub-themes in 6.x I edit the fusion-starter-style.css. In 7.x, it seems like things are a bit different.
I'm especially having questions about how to style the main menu. In 6.x I edited lines 104-154 in fusion-starter-style.css to style the main menu (.primary-menu), this worked great! In most cases fusion-starter-style.css was the only file I needed to edit.
It appears that in 7.x I need to edit lines 379-434 in style.css to style the main menu. As far as I can see that'd be my only (main) reason to dip in to style.css. I love having to only edit a single style sheet, it made my sub-theming folder super lean. I'd love to not have to include another file, or merge classes from 2 files.
Is my thinking here right? Or am I completely off base? :/
Thanks a bunch!
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | d7-fusion-header-problem.png | 96.35 KB | sorensong |
Comments
Comment #1
stephthegeek commentedWe haven't finalized the default CSS for the Superfish module or the main menu in Fusion yet. It should be basically the same in D7 and D6, but the markup may not quite be all correct at this point. We'll be looking at this asap.
Comment #2
sorensong commentedWonderful. Should I subscribe to this post to stay updated?
Comment #3
aquariumtap commentedyou're already subscribed :) sorensong, this is something i'll be working on in the upcoming week, so do stay tuned.
Comment #4
bjlewis2 commentedFantastic! I'm glad this is already being worked on.
Subscribing...
Comment #5
sorensong commentedI'm having an issue where when I adjust .main-menu it's also adjusting my logo attributes. Any ideas?
Comment #6
stephthegeek commentedsorensong, could you open another issue for this with more info on what you're trying to do? It sounds like a support issue for CSS targeting.
Comment #7
sorensong commented@stephthegeek sorry #5 was an unrelated hiccup. Sorry.
Comment #8
dobe commentedBeen a couple months since I have seen anything here. Is there a time frame for the implementation of the superfish javascript / making main_menu part of the core functionality instead of a block region?
Comment #9
mshepherd commentedMy understanding is that superfish has been taken out of the Fusion for D7. It's suggested instead that you use the superfish module.
It's got a few colour variants built in and it's easy to retheme with just css. It's also got a few nice options - http://drupal.org/project/superfish
I guess this frees the guys and gals at Top Notch to concentrate more on the core theme and less on the javascript. And with the introduction of Fusion Accelerator, they've got their hands full :)
Comment #10
sheena_d commentedmshepherd, Thanks for bumping this thread!
We have come to the decision to retain the Drupal Core functionality of having the Menus all be rendered via blocks and have the functionality for drop-down menus be left up to contributed modules. It doesn't make sense to duplicate functionality in our theme that exists in a well-supported module. Superfish is our preferred module for drop-down menus, and our Free and Premium Fusion sub-themes will include styles that can be applied to any Superfish block to make its styling match the theme.
I think there have been other Issues on Superfish where we addressed this decision, but obviously neglected to mention it in this thread.