Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Old Version fixes and change logs (http://forum.bytesforall.com/forumdisplay.php?f=37)
-   -   BUGFIX 342 Highlighting of category in category menu bar is gone (http://forum.bytesforall.com/showthread.php?t=2540)

upscho Jul 20, 2009 11:07 AM

BUGFIX 342 Highlighting of category in category menu bar is gone
 
3 Attachment(s)
On my web page I use a page menu bar (green) and a category menu bar (blue). I've noticed that the selected category is no longer highlighted (yellow) after clicking. No problem after selecting one of the pages.

This behaviour has changed from earlier versions. I found another web page where this is still working (see screen shots). This web site seems to use an older version of Atahualpa.

I guess that this is a bug of version 3.4.2. Can anybody please confirm this? Thanks!

Best regards,
upscho

juggledad Jul 23, 2009 06:08 AM

This is a two part fix. First edit css.php and change lines 2371-1378 from
HTML Code:

div#menu2 ul.rMenu li.current_page_item a:link,
div#menu2 ul.rMenu li.current_page_item a:active,
div#menu2 ul.rMenu li.current_page_item a:hover,
div#menu2 ul.rMenu li.current_page_item a:visited,
div#menu2 ul.rMenu li.current_page_item > a:link,
div#menu2 ul.rMenu li.current_page_item > a:active,
div#menu2 ul.rMenu li.current_page_item > a:hover,
div#menu2 ul.rMenu li.current_page_item > a:visited,

to
HTML Code:

div#menu2 ul.rMenu li.current_cat a:link,
div#menu2 ul.rMenu li.current_cat a:active,
div#menu2 ul.rMenu li.current_cat a:hover,
div#menu2 ul.rMenu li.current_cat a:visited,
div#menu2 ul.rMenu li.current_cat > a:link,
div#menu2 ul.rMenu li.current_cat > a:active,
div#menu2 ul.rMenu li.current_cat > a:hover,
div#menu2 ul.rMenu li.current_cat > a:visited,

Part 2 - edit bfa_header_config.php and chage lines 75-78 from
HTML Code:

                                $cat_menu_bar .= ' current-cat';
                        }
                } elseif ( is_home() ) {
                        $cat_menu_bar .= ' current-cat';       

to
HTML Code:

                                $cat_menu_bar .= ' current_cat';
                        }
                } elseif ( is_home() ) {
                        $cat_menu_bar .= ' current_cat';       

(Note: the '-' is changed to an '_' for 'current_cat' in just 2 places)

adum Jul 27, 2009 07:28 AM

I tried this fix for 3.4.1 and it didn't seem to change anything. Is the selected category supposed to be the same color as the hover color? I am not sure if I even noticed this in my previous version of Atahualpa.


All times are GMT -6. The time now is 05:07 AM.

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