![]() | | ||||||||
| | #1 |
| HyperActive Warrior War Room Member Join Date: Jan 2008 Location: USA
Posts: 225
Thanks: 53
Thanked 5 Times in 5 Posts
|
Hi Warriors, I'm wondering why the theme is doing this... If you look at my site: A to Z Tree Service Tree Service Oregon - Grants Pass, Medford, Ashland, Rogue River Valley You'll see that the top navigation button bar is messed up in that the last button I added got pushed to a second row and it also pushed my side bar down the page. I can't figure out why this happened... anyone have any ideas? Thanks! Rebecca |
| | |
| | #2 |
| Advanced Warrior War Room Member Join Date: Feb 2006 Location: Kolkata, India.
Posts: 594
Blog Entries: 2 Thanks: 44
Thanked 71 Times in 44 Posts
|
I notice that "us in action" is not listed in the list of pages, when I view your page source.
|
|
Swaminathan
| |
| | |
| | #3 |
| HyperActive Warrior War Room Member Join Date: Apr 2009 Location: Jacksonville Florida
Posts: 160
Thanks: 69
Thanked 38 Times in 21 Posts
|
This is a long shot as I can not see your css code. I would say that the width of the div class="navigation" needs to be set wider if you go in to your editor look for the stylesheet.css you should see something that looks like /* Begin Structure */ look for #navigation{ background-color: #ECEFFA; margin: 0 0 0 1px; padding: 2; height: 265px; width: 777px; } look for width and make sure that the width of the navigation is the same as the header I am not looking at your code so I can not promise this is your problem but it is very possible. Before you make any changes to your css file, make sure you copy the original and save it. If you mess up your stylesheet you want to have a back up The reason I say this may be the problem is if your navigation is set to a width smaller than needed the navigation menu will sometimes wrap causing your button to the next line. Good luck Will |
| | |
| | |
| | #4 |
| Denizen of Azeroth War Room Member Join Date: Aug 2007 Location: St Louis, MO
Posts: 373
Blog Entries: 9 Thanks: 458
Thanked 82 Times in 56 Posts
|
I added "clear: right;" to .navigation and to .sidenav and it brought everything into alignment. But doing that caused a few other problems. The change to .navigation caused a gap to appear right under the header graphics. The change to .sidenav in IE 6 (it's all I have access to at the moment as far as IE goes...) caused the .main/.container divs to expand. Firefox was fine with the change to .sidenav. Beyond that, looks like it's going to take some major tweakage or a rewrite, just to clean up the css design. Happy hunting. |
| | |
| | #6 |
| HyperActive Warrior War Room Member Join Date: Jun 2009 Location: United Kingdom
Posts: 218
Thanks: 39
Thanked 60 Times in 48 Posts
|
Hi Rebecca, I think I might have a solution for you but you gona need to do a couple of coding. 1) In the Stylesheet (CSS) look for the code: .header .right { overflow: auto; width: 212px; padding-top: 47px; text-align: center; color: 222; } and add this line - height: 103px; to it just bellow the overflow: auto; line. Now the code should look like this: .header .right { overflow: auto; height: 103px; width: 212px; padding-top: 47px; text-align: center; color: 222; } The above code is linked to a div in the header.php where I believe you now have the banner with the guys and telephone number - this should now align with the left banner. It was the div that was pushing your menu down 1 line and therefore displacing your sidebar. (You may have to readjust this banner and resize it to match the above px - so it doesn't leave you with a scroll bar). I've also noticed that you are having to input your pages manually via the header.php - code (not your own code as I did not think it would be right to publiclly display your source code): <div class="container"> <div class="navigation"> <a href="<?php bloginfo('url'); ?>">Home</a> <a href="">About</a> <a href="">Photo</a> <a href="">Blog</a> <a href="">Contact</a> <div class="clearer"><span></span></div> </div> To have wordpress automatically input your pages use this code: <?php $pages = wp_list_pages('sort_column=menu_order&depth=1&titl e_li=&echo=0'); print_r($pages); ?> in place of: <a href="">About</a> <a href="">Photo</a> <a href="">Blog</a> <a href="">Contact</a> Your new code should now look like this: <div class="container"> <div class="navigation"> <a href="<?php bloginfo('url'); ?>">Home</a> <?php $pages = wp_list_pages('sort_column=menu_order&depth=1&titl e_li=&echo=0'); print_r($pages); ?> <div class="clearer"><span></span></div> </div> Here is how it looks after the above adjustments >>wordpressreloaded dot com /wpbeta/ (sorry can't post links yet) - If you need more assistance do throw us a PM, will be glad to help ![]() Hope this helps, good luck. ![]() Zulfikar. |
| Last edited by zulfnore; 06-14-2009 at 06:40 AM. Reason: Extra notes | |
| | |
![]() |
|
| Tags |
| blog, cooperating, press, theme, word |
| Thread Tools | |
| |
![]() |