[SOLVED] Force line break in Page Menu Bar
Is it possible to force a line break between words in the page menu bar so all tabs have 2 lines? See http://northpolk.server284.com to see what's going on.
Thank you for your help! -Kimberly |
I just tested this and with the new WP 3 menu you can put HTML tags and CSS in the navigation label of the menus. I put the following in one and it gave me a two line centered text menu title.
HTML Code:
<div style="text-align:center;">First Line<br />Second Line</div> |
You are my hero! Thanks a million!
|
Works beautifully in the Page bar - but its also causing the names in my left Flexipages widget to line break and wasn't intending that outcome...any thoughts on changing the one and not the other?
http://northpolk.server284.com/ |
Where did you put the code and what did you use?
|
All I did was add <br /> where I wanted the line to break in the "Title" bar on the Wordpress page window.
|
I would make another menu for the sidebar widget without the breaks.
|
Sorry to be an idiot, but how would I go about making a different menu that still called the page titles...
I tried changing the flexipage code to pull the Body Title Single Pages data instead of the main page title data, but it seems to both be the same field name. How do I go about calling the Body Title Single Pages data? i.e. right now it calls "post_title," what should I put in its place? Is there a way I can send a donation to you for help, or should I just donate to the general fund? |
With the WordPress 3 update there is a new "Custom Menu" Widget which lets you choose any menus you create with the WP 3 menu system. There may be plugins that use the new systems as well.
As for donating. When you click on the donate link you will see my ugly face there if you wish to donate to me. Thanks. |
This Dropdown Menu Widget will also work with the new WP 3 menu system.
|
The above all works great, but would it be possible to have the extra line as links and to make several lines for multi level menus as in the navigaiton in the header here Thankyou
|
You could do that with a multi-celled widget area in the header and then use text widgets and html to create your "menu" but adding new menu items and such will be cumbersome. But if you aren't going to change things much that may not be too big a deal.
|
Awesome thanks. Added 6 new widget areas to the header then created 6 custom menus.
Dropped the custom menu widget into each area selecting the relevant menu. Styled the menu. Done.Many thanks for your help |
All times are GMT -6. The time now is 02:44 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.