Hello
We are using "nice menus" with a background graphic and want the graphic to only show up on the top horizontal bar and not the child dropdown lists. The horizontal list looks great, however on the dropdowns the parent graphic is being repeated rather than showing the secondary links normally.
The code we are using is from this DRUPAL discussion: http://www.drupal.org/comment/reply/209989#comment-form
FYI: using core 6.16 and Nice Menus 6.x-1.3
Does anyone know how to override this dropdown issue?
Many thanks for your help
Rebecca
Well, if I read this correctly.....it is late.... -------
Oh, I just did this!!! RUN AWAY!!!..... But if you can¹t, check out the coding for http://www.ecpcentre.com/philosophy.php
I believe it was nice menus (which I¹ve had css trouble with subthemes using blueprint for one site and went with superfish)...
The secret is to hand code the css (or that was the easiest solution for me)...then it was playing with the indent for the primary links so that it showed only the graphic...then the child links where resetting the indent needed. I even got a nice rollover image effect. (client had to have it look exactly like the old site which used images for the dropdown)...
Good Luck. Hope that helps.
Holly
On 5/7/10 12:47 AM, "Rebecca Macaulay" remacaulay@gmail.com wrote:
Hello
We are using "nice menus" with a background graphic and want the graphic to only show up on the top horizontal bar and not the child dropdown lists. The horizontal list looks great, however on the dropdowns the parent graphic is being repeated rather than showing the secondary links normally.
The code we are using is from this DRUPAL discussion: http://www.drupal.org/comment/reply/209989#comment-form
FYI: using core 6.16 and Nice Menus 6.x-1.3
Does anyone know how to override this dropdown issue?
Many thanks for your help
Rebecca
themes mailing list themes@drupal.org http://lists.drupal.org/mailman/listinfo/themes
Holly Ferree, Graphic Designer, BFA 813.786.0852 hferree@gmail.com http://www.designbyholly.com/
Holly-
Do you mean hand coding the whole menu into the page.tpl.php file? If that's the case, we'd like to try to avoid hard coding it into the template as much as humanely possible. Unfortunately, http://www.ecpcentre.com/philosophy.phpuses a table layout, and our site has a tableless layout.Extensive as the code may be, we really want this to work with Nice Menus--there has to be a way.
-Rebecca
No. I mean adding the appropriate css tag ex: .menu-292 { } into the css.
Nice menus is nice menus, that shouldn¹t have anything to do with the build of the site.....so no matter what you should be fine.
I sent you the wrong link...that was the original site (they look alike) and I still can¹t believe that they did all that coding with the menu...
Here is the drupal themed one that should make way more sense: The site is http://ecp.brianvuyk.com/node/1
Holly
On 5/7/10 1:17 AM, "Rebecca Macaulay" remacaulay@gmail.com wrote:
Holly-
Do you mean hand coding the whole menu into the page.tpl.php file? If that's the case, we'd like to try to avoid hard coding it into the template as much as humanely possible. Unfortunately, http://www.ecpcentre.com/philosophy.php uses a table layout, and our site has a tableless layout. Extensive as the code may be, we really want this to work with Nice Menus--there has to be a way.
-Rebecca
themes mailing list themes@drupal.org http://lists.drupal.org/mailman/listinfo/themes
Holly Ferree, Graphic Designer, BFA 813.786.0852 hferree@gmail.com http://www.designbyholly.com/
Holly-
Ahhh...! Ok, I see now. Yes this site is a perfect example of what we're trying to do (the other one had me quite confused, lol). We have dove into the css and have been hand coding it, but couldn't get the children not to use the background graphic of its parent. We'll inspect this site's css very closely and give it another shot--I'll let you know how it goes. Thank you so very much!
Rebecca
Dear Drupal Theme List
Can we delete this thread?
There are many stupid questions asked and answered, but this thread...well, it exceeds expectations.
Is there any moderation?
Bright Regards JMR
Holly-
Ahhh...! Ok, I see now. Yes this site is a perfect example of what we're trying to do (the other one had me quite confused, lol). We have dove into the css and have been hand coding it, but couldn't get the children not to use the background graphic of its parent. We'll inspect this site's css very closely and give it another shot--I'll let you know how it goes. Thank you so very much!
Rebecca
Sorry Jason, I disagree with you. The thread was perfectly appropriate for this mailing list, even if it wasn't of interest to you. Also, even if you think that the conversation was not appropriate, there is no reason to be so rude. Ross.
On 07/05/10 14:51, Jason Mark Roehrig wrote:
Dear Drupal Theme List
Can we delete this thread?
There are many stupid questions asked and answered, but this thread...well, it exceeds expectations.
Is there any moderation?
Bright Regards JMR
I agree that the question was appropriate. I might have easily asked a very similar question had I not happened on a solution poking at the 21 css files included in the theme I was modifying...
Gregg Marshall, CPMR, CSP Speaker, Author, Consultant LinkedIn: http://www.linkedin.com/in/greggmarshall Plaxo: http://greggmarshall.myplaxo.com/ Twitter: http://www.twitter.com/greggmarshall Website: http://www.repconnection.com
-----Original Message----- From: themes-bounces@drupal.org [mailto:themes-bounces@drupal.org] On Behalf Of Ross Kendall Sent: Friday, May 07, 2010 8:24 AM To: A list for theme developers Subject: Re: [themes] Theming Nice Menus with Graphics
Sorry Jason, I disagree with you. The thread was perfectly appropriate for this mailing list, even if it wasn't of interest to you. Also, even if you think that the conversation was not appropriate, there is no reason to be so rude. Ross.
On 07/05/10 14:51, Jason Mark Roehrig wrote:
Dear Drupal Theme List
Can we delete this thread?
There are many stupid questions asked and answered, but this thread...well, it exceeds expectations.
Is there any moderation?
Bright Regards JMR
_______________________________________________ themes mailing list themes@drupal.org http://lists.drupal.org/mailman/listinfo/themes
You¹re very welcome... Nice to know my slightly-more-stressful-than-I-wanted experience can help others :) (although I do suggest using html text whenever possible, it¹s so much easier to maintain)
Holly
On 5/7/10 8:20 AM, "Rebecca Macaulay" remacaulay@gmail.com wrote:
Holly-
Ahhh...! Ok, I see now. Yes this site is a perfect example of what we're trying to do (the other one had me quite confused, lol). We have dove into the css and have been hand coding it, but couldn't get the children not to use the background graphic of its parent. We'll inspect this site's css very closely and give it another shot--I'll let you know how it goes. Thank you so very much!
Rebecca
themes mailing list themes@drupal.org http://lists.drupal.org/mailman/listinfo/themes
Holly Ferree, Graphic Designer, BFA 813.786.0852 hferree@gmail.com http://www.designbyholly.com/
Excuse me Jason,
This particular task is quite difficult and have known many themers who have had an exceptionally hard time doing the very task about which I am asking. The Nice Menu project page http://drupal.org/project/nice_menus itself specifically referred me to this mailing list to ask questions about theming Nice Menus. If you have a problem with that referral, you should directly take it up with Addison Berry; otherwise, I would suggest filtering these "exceedingly stupid" questions yourself.
Good day.
Rebecca
Hello,
A similar problem like this I was able to solve without adding any new css class/id's to the menu system; but it was a pain. Basically if you define a bg image for the top level, but dont want it on the subsequent ones, you can do this by assigning the bg image to the first level, and then adding the necessary li or ul tags to the subsequent levels and explicitly remove it. It's really poor css in terms of clarity, but it does work.
example: [i am using tags/terms that probably do not occur in the menu]
#mycutemenu li.active { background:url('../img/something.jpg'); }
#mycutemenu li li.active { background:none; }
#mycutemenu li li li.active { background:none; }
so it's a hack, but it may help you! hope so,
good luck,
sebastian.
Rebecca Macaulay wrote:
Excuse me Jason,
This particular task is quite difficult and have known many themers who have had an exceptionally hard time doing the very task about which I am asking. The Nice Menu project page http://drupal.org/project/nice_menus itself specifically referred me to this mailing list to ask questions about theming Nice Menus. If you have a problem with that referral, you should directly take it up with Addison Berry; otherwise, I would suggest filtering these "exceedingly stupid" questions yourself.
Good day.
Rebecca
themes mailing list themes@drupal.org http://lists.drupal.org/mailman/listinfo/themes
Wow that's impressive... The only problem with that is that you won't get the individual rollover effects. Bot wow on the time... (although once you get the first two figured out, it's just a copy and paste thing)
Holly
On 5/7/10 12:35 PM, "sebastian" inforazor@gmail.com wrote:
Hello,
A similar problem like this I was able to solve without adding any new css class/id's to the menu system; but it was a pain. Basically if you define a bg image for the top level, but dont want it on the subsequent ones, you can do this by assigning the bg image to the first level, and then adding the necessary li or ul tags to the subsequent levels and explicitly remove it. It's really poor css in terms of clarity, but it does work.
example: [i am using tags/terms that probably do not occur in the menu]
#mycutemenu li.active { background:url('../img/something.jpg'); }
#mycutemenu li li.active { background:none; }
#mycutemenu li li li.active { background:none; }
so it's a hack, but it may help you! hope so,
good luck,
sebastian.
Rebecca Macaulay wrote:
Excuse me Jason,
This particular task is quite difficult and have known many themers who have had an exceptionally hard time doing the very task about which I am asking. The Nice Menu project page http://drupal.org/project/nice_menus itself specifically referred me to this mailing list to ask questions about theming Nice Menus. If you have a problem with that referral, you should directly take it up with Addison Berry; otherwise, I would suggest filtering these "exceedingly stupid" questions yourself.
Good day.
Rebecca
themes mailing list themes@drupal.org http://lists.drupal.org/mailman/listinfo/themes
themes mailing list themes@drupal.org http://lists.drupal.org/mailman/listinfo/themes
Holly Ferree, Graphic Designer, BFA 813.786.0852 hferree@gmail.com http://www.designbyholly.com/
That ecp site example was perfect! We mimicked the css and tweaked (some parts having to be changed altogether) and it works! our successful graphical horizontal menu can be found here: http://dev1.environment.arizona.edu The site itself needs much more theming and development, but the main navigation is gorgeous. Thank you all so much for helping!
Rebecca Macaulay
Graphic Artist/Web site Developer Climate Assessment for the Southwest (CLIMAS) http://climas.arizona.edu Institute of the Environment http://environment.arizona.edu macaulay@email.arizona.edu office 520.792.1123 cell 520.370.8548 fax 520.792.8795
R.L.Macaulay Artwork http://www.rlmacaulay.com remacaulay@gmail.com 520.370.8548
On Fri, May 7, 2010 at 1:49 PM, sebastian inforazor@gmail.com wrote:
Holly Ferree wrote:
Wow that's impressive... The only problem with that is that you won't get the individual rollover effects.
sure you can, just keep adding more css and keep "negating it" on the deeper levels as I described.
themes mailing list themes@drupal.org http://lists.drupal.org/mailman/listinfo/themes
On 05/08/2010 04:20 PM, Rebecca Macaulay wrote:
That ecp site example was perfect! We mimicked the css and tweaked (some parts having to be changed altogether) and it works! our successful graphical horizontal menu can be found here: http://dev1.environment.arizona.edu The site itself needs much more theming and development, but the main navigation is gorgeous. Thank you all so much for helping!
Rebecca Macaulay
Good work Rebecca looks nice. We may end up using some of that process on our site. Roger
I really appreciated all the helpful information in this thread. Thank you Rebecca, Holly, etc...
In gratitude
Saksiri
On Sat, May 8, 2010 at 4:34 PM, Roger arelem@bigpond.com wrote:
On 05/08/2010 04:20 PM, Rebecca Macaulay wrote:
That ecp site example was perfect! We mimicked the css and tweaked (some parts having to be changed altogether) and it works! our successful graphical horizontal menu can be found here: http://dev1.environment.arizona.edu The site itself needs much more theming and development, but the main navigation is gorgeous. Thank you all so much for helping!
Rebecca Macaulay
Good work Rebecca looks nice. We may end up using some of that process on our site. Roger
themes mailing list themes@drupal.org http://lists.drupal.org/mailman/listinfo/themes