Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Page & Category Menu Bars (http://forum.bytesforall.com/forumdisplay.php?f=10)
-   -   [SOLVED] Page menu bar (http://forum.bytesforall.com/showthread.php?t=12482)

sophia1 Jan 27, 2011 11:14 AM

[SOLVED] Page menu bar
 
Hi All,

I am trying to adjust the width of the second level and child menu width, so that the title is in one line
I have changed the sub menu width to 200 em but it does not seem to be working. Any idea would be great.
Thank you
http://wildlife.southsafari.com/

lmilesw Jan 27, 2011 11:43 AM

What version of Atahualpa? If it is 3.5.3 do you have the sub-menu bug fixes in place?

sophia1 Jan 27, 2011 12:14 PM

Hi it is 3.4.9 and is there a bug to fix here too?

lmilesw Jan 27, 2011 12:42 PM

The issue is that WordPress changed the menu code for WP 3.0. You could try the following.
Add the following line
HTML Code:

$list_pages_string = preg_replace("/<ul class='children'/","<ul",$list_pages_string);
Just before the following line in /functions/bfa_hor_pages.php near the top
HTML Code:

if ( $bfa_ata['page_menu_1st_level_not_linked'] == "Yes" ) {
You should make a copy of your bfa_hor_pages.php file first just as a precaution and double and triple check what you are copying and pasting. I only say that as I don't know how comfortable you are playing in the files. This is not a big deal to do but if you copy out too much or don't paste in the right place it can mess things up. Thus the copy of the file "in case"

sophia1 Jan 27, 2011 12:59 PM

Thank you ever so much :) The menu looks a million times better!!! It was so easy, which I knew more alas.....


All times are GMT -6. The time now is 10:51 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.