Hi,
A client needed additional styles for a multi-themed site. I've added about 5 additional styles my copy of the module. You can see the first in action on the dev site at http://fhfvp.illuminateweb.org.uk - the others vary by colour only and use the colours in the logo.
I'd be happy to contribute these to the module. If you're interested, let me know.
Matthew
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | superfish-more-styles-776480-3.patch | 7.59 KB | mshepherd |
| #3 | superfish-more-styles-css.tar_.gz | 900 bytes | mshepherd |
Comments
Comment #1
mehrpadin commentedHey Matt,
If your clients don't mind this, well it's great! but since we're not going to see - I hope so - any new version any time soon - we actually don't need as the current release is very mature - I think you should upload them here, and I'll put a link back to it at the project page.
Thanks!
Comment #2
mshepherd commentedThey're very pro-open source, so I think they'll be excited about it actually! I'll do that as soon as I can. Cheers for now.
Comment #3
mshepherd commentedHere's a patch against v1.6 to add in a few additional styles.
If you're not confident applying patches, you do the following. Find this code in superfish.module:
Remove one of the closing brackets and add a few lines so that
'white' => t('White')),becomes:Then unzip the attached superfish-more-styles-css.tar_.gz file into superfish/css/extra/
Comment #4
mshepherd commentedComment #5
mehrpadin commentedThank you so much!
Comment #6
mshepherd commentedNo, thank you so much for a great module!
Matthew
Comment #7
mehrpadin commented:) you're welcome
Comment #8
janji commentedI added the code as above. And downloaded the css file. The new styles appear in the configuration but, when chosen, only the light blue standard style appears in the menu. Thanks for any suggestions!
Comment #9
mehrpadin commentedHey there,
Basically, I don't recommend that patch, the best practice for this is to have the style in a CSS file outside of the modules directory, probably somewhere in your theme folder, and attaching the required classes to the main
ULvia your Superfish block config > Advanced CSS settings > Extra classes.Comment #10
erok415 commentedI tried modifying the module as shown in the example above. The new style showed up in the appearance panel option but it didn't apply the new style. It defaulted to the default style.
However, I did try @Mehrpadin's (comment #9) recommendation by adding the stylesheet in the /admin/structure/block "configure" "advanced settings" and it worked perfectly.
E.
Comment #11
erok415 commentedCheck this out.
It took me a few days to get this right while testing the the best styles to achieve this goal. See this post I created which gives a step-by-step instruction how to create rounded Bartik style tabs to the top nav position.
E.
See post: http://drupal.org/node/1073298
Comment #12
nancydruI'm building a church site where I wish to change the site colors based on the liturgical colors. Since your selections don't cover the whole set of seasons, I can create a the ones I need. It would be nice, however, if you could read the style directory and include them in the list. Is that possible?
Comment #13
nancydruSetting to my release
Comment #14
nancydruSorry, I don't have have patching capabilities at the moment.
Comment #15
ckng@Nancy,
The patch in #1165838: Dynamic loading of styles from libraries and theme folders should do what you need
Comment #16
ysgrace commentedCan't get the new Superfish styles to load after one is selected in block config. It's not recognizing the new css, perhaps. I put these new css files in libraries/superfish/css/extra/ ... is that correct name for folder? Thanx for helping a newbie.
Comment #17
tanitani commentedActually the path s/b
sites/all/libraries/superfish/style
HTH,
Gábor
Comment #18
mehrpadin commentedNancy, Matt, everybody! thank you all :) added a similar functionality, try v1.9-beta3, thanks again!