[SOLVED] Home link in page-right menu order
I have my page menu bar set to %page-right in ATO>Style and Edit Header Area.
In this setting, all the pages get sorted in reverse order, with home page last (on the right). I have fixed the other pages by reversing their page order but the Home page stays on the right. In ATO>Page Menu Bar I have Home in the first box and menu_order chosen for the page order. www.anovelwritingsite.com How do I get Home to move to the left side of the list? |
The reversal of the menu is due to CSS. To get the menu to the right side, a CSS 'float: Right;' is used. This causes the items to be listed from right to left instead of the normal left to right.
You could set your page order so the item you want to be the left most - when '%page-right' is used has the highest number, nd decrease the page numbers, but it won't help with the 'home' tag. To move the home tage, you will have to make a code change. This code change will only effect the 'home' tag (but you could use the page order also) in 3.4.2, edit bfa_header_config.php and find the block of code (lines 22-34) HTML Code:
// "Home" Link? HTML Code:
// "Home" Link? HTML Code:
// Close table if centered HTML Code:
if ( strpos($header_items,"%page-right") == FALSE ) { HTML Code:
if ( strpos($header_items,"%page-right") !== FALSE ) { |
I had this same problem, and this fixed it! I owe you. However, you may want to change the following instructions:
Quote:
|
Good point - fixed post and changed post #2 the word 'copy' to 'cut'
|
if we change the .php files though, will we need to add them in again when we upgrade to newer versions of Atahualpa?
|
That is correct
|
I had the same problem.
In my case it was the categories section, so just had to change Quote:
Quote:
|
Hello, is this right for atahualpa 3.5.3 too?
Thanks for your excellent theme! |
1 Attachment(s)
Hi there! thank you for your wonderful theme!
It's my first time ever doing this...so, I messed up! I followed the steps you said above but I have 3.4.9 version. WordPress 3.0.1. and now my header is messed up. no "Home" page anymore and other shifting of spaces in the header place. I put in attach how it looks now my bfa_header_config.php. pls tell me what changes should I do to get back the "Home" page - and to appear first when the pages are listed on the right side. pls help! Gratitude, Sophie |
In version 3.5.3
Quote:
Quote:
Quote:
Quote:
|
Solution for Atahualpa 3.5.3 and WordPress 3.0.3: Create your menu list in WordPress Menus, change %pages to %page-right in ATO>Style & edit HEADER AREA>Configure Header Area. Then follow Juggledad's recommendations in #2 above. When you view your page, if your page order on the menu is reversed, reverse the order of your menu elements on the WordPress Menus page.
|
All times are GMT -6. The time now is 10:48 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.