showmenu2, and css, and childpages, oh my!

PurpleEdge

Well done!

If that's the effect you want, then you have done it the correct way!  :-D

Muse

Well after hours and hours of testing and tweaking I think I'm finally there. Phew!

I ended up using the following menu calls and parameters, along with lots and lots and lots of CSS! Hehe!

<div class="menu-wrapper">
<div class="menu"><?php show_menu2(1SM2_ROOTSM2_START); ?></div>
<div class="childmenu"><?php show_menu2(1SM2_ROOT+1SM2_START+1); ?></div>
</div>


Please let me know if I have broken any unwritten "No-No" laws of web development.

Thanks!

Muse

I think I have fixed my problem... mostly... ;) I used this code to call the show_menu2 twice:


<div class="menu-wrapper">
<div class="menu"><?php show_menu2(1SM2_ROOTSM2_START); ?></div>
<div class="childmenu"><?php show_menu2(1SM2_CURR+1SM2_START+2); ?></div>
</div>


Then I styled the menu and childmenu classes separately. I have no idea if this was the best way to do it... but it seems to have achieved what I was looking for.

Now I only have a small problem left. My limited understanding of PHP is making it difficult to figure out all of the show_menu2 parameters and how to used them correctly. So, at the moment if you navigate to the About page and then click on a child page link (like Mission, for example) then the entire childpage menu just disappears.

Any help with configuring my parameters for the childmenu would be very much appreciated.

Thank you!

Muse

Hello!

I'm a new user of WB and so far I am really very happy. It does everything I need it too... and nothing I don't. :) Apologies in advance if my question has been asked a million times, I did search the forums but couldn't find anything related to my issue.

So here is my noobie problem: I'm using showmenu2 and trying to style my menu but I'm having issues with child pages.

I have a simple horizontal menu, like so:

Home | About | Services

This part looks great... all stylish and yummy looking.

However, the About page has two child pages under it, like so:

Mission | Testimonials

These two child pages are listed horizontally right under About. I formated the .menu-child class to make them look the way I want them to look. So far so good.

The problem happens when one of the child pages becomes the active page. Then, (I'm assuming) because the two child pages are no longer child pages, they suddenly take on the formatting of the top level of the menu... which I don't want them to do. I want my child pages to STAY child pages and to retain their .menu-child formating even after they are clicked on.

Any help or suggestions?

You can see what I am working on here:
www.acuitygraphix.com

Thank you so much!!!!