StudioPress Community Forums

StudioPress Community Forums (http://www.studiopress.com/support/index.php)
-   General Discussion (http://www.studiopress.com/support/forumdisplay.php?f=7)
-   -   Parent Child Nesting (http://www.studiopress.com/support/showthread.php?t=24553)

jerwash 03-22-2010 01:28 AM

Parent Child Nesting
 
Hi, I've upgraded to Agent 3.0. Question on nesting....

On my site, for some reason I can only get 1 level of parent/child nesting. I would like to add a "grandchild" -- or a child to the child. I've assigned the correct "parent" to this page in the control panel, but the page doesn't appear. How can I get the 3rd level?

Any suggestions?

www.washburnre.com. Specifically, I would like to add another level under Bishop Homes --> how to build --> New child level.

Thanks!

adew 03-22-2010 02:00 AM

Hi,

Can you post your header.php?

jerwash 03-22-2010 08:45 AM

Ade,

Thanks for your help! I can't believe this -- but I actually figured it out on my own! On my header.php, I just changed the "navbar" to depth = 3.

I can do this!! Yahooooo!!!!

Thanks!


<div id="navbar">

<ul id="nav">
<li><a href="<?php echo get_option('home'); ?>">Home</a></li>
<?php wp_list_pages('title_li=&sort_column=menu_order&de pth=3'); ?>
</ul>

</div>

jerwash 03-22-2010 08:47 AM

For some reason, when I copied and pasted that code, the computer put a space in "depth" so it shows "de pth." In any event, it works now. Thanks.

adew 03-22-2010 09:09 AM

Cool! Glad you sorted it out. :smile:

jerwash 03-22-2010 02:25 PM

Ade (or anybody), as long as I'm figuring our NESTING, do you know how to change the color of the background menu? Currently it is white on the navbar dropdowns. I love that it changes to a darker shade of gray when hovered. I'd like to have a lighter shade of gray in the main drop down. (Just personal preference -- I think the white looks not as good.)

Thanks!

adew 03-22-2010 03:08 PM

Add a background color to #nav li li a, #nav li li a:link, #nav li li a:visited in style.css.

jerwash 03-22-2010 04:11 PM

Colors
 
Thanks, Ade. Whoever thought a colorblind guy like me would be coding colors!?

adew 03-22-2010 04:27 PM

Quote:

Originally Posted by jerwash (Post 124699)
Thanks, Ade. Whoever thought a colorblind guy like me would be coding colors!?

Go for it! :smile:


All times are GMT -5. The time now is 05:33 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.