Closed (fixed)
Project:
Pixture Reloaded
Version:
6.x-3.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Oct 2008 at 07:55 UTC
Updated:
6 Nov 2008 at 13:41 UTC
Version 6.x-3.0
Want to "float" the superfish menu to the right?
What .css files to edited and what code to change?
I'm also interested in centering the menu for the version I have. Is this possible?
Thanks
Comments
Comment #1
Jeff Burnz commentedDoesn't matter what style sheet you use, style.css or superfish.css
#superfish-inner {float: right; margin-right: 15em;}
You need to add margin-right equal or greater than the value of the drop down, or else a horizontal scroll will appear on hover. The width of the drop down is 15em.
The code for centering the menu is already in superfish.css, just uncomment to use - this question is covered here http://drupal.org/node/308523
Comment #2
gustavson commentedI changed code but for some reason, menu is still floating left.
Here's is the relevant code from style.css:
Am I making changes to the wrong code?
Comment #3
Jeff Burnz commentedCopy and paste and/or review the code I posted again...
#superfish-inner {float: right; margin-right: 15em;}
NOT...
#superfish-inner .menu {...}
Comment #4
gustavson commentedSorry,
Do i add the code you gave to the code that is already there?
Like this:
Tried this and does not work.
Comment #5
Jeff Burnz commentedReally...
How come its working here then?
http://drupalstaging.com/pixture2/
Looks like you're on you're own then, I can't help you any more 1) without a link and 2) more details than "it doesn't work".
Comment #6
gustavson commentedWow...
If I knew why it was working there, then I probably wouldn't be asking here?
I don't know what else to give you?
I did what you said
and the menu does not float right.
Can you at least tell me by looking at the last bit of code that I posted, that I inserted your code correctly?
If so, then I can troubleshoot somewhere else.
Thanks for you help!
Comment #7
Jeff Burnz commentedDid you resave the theme settings?
With colorable themes, if you place new code in style.css you must resave the theme settings for it to take effect.
My apologies, I should have mentioned that before.
Comment #8
gustavson commentedPasted the code into the style.css file and uploaded it, re-saved the "Pixture Reloaded" theme settings and it worked.
Thank you jmburnz!
Comment #9
Jeff Burnz commentedComment #10
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.