Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

Need to tweak bfa_header_config to add some javascipt.


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Nov 14, 2012, 05:59 AM
pegasus
 
2 posts · Oct 2012
Hi Juggledad,

Found the new thread button!

I am new to this site and forum and have difficulty even finding the new thread.

Tried looking through to find a solution for my problem but to no avail. Could you please advise if I am looking at the wrong place.

This piece of code <?php echo bfa_header_config(); ?> is called from header.php. What I am not sure is if it is bfa_header_config.php or bfa_new_wp3_menus that churned out this piece of code
' <div id="menu1" class="menu-top-menu-container"> ' in Atahualpa 3.7.7.

I need to add javascript to change it from <div id="menu1" class="menu-top-menu-container"> to output as this <div id="menu1" class="menu-top-menu-container" onMouseOver="hideIFrame(true);" onMouseOut="hideIFrame(false);">. The javascript has been added to header.php and works fine when it is saved and tested as a stand alone page.

Been looking for a week but still could not find an answer. Could you please help?

Regards
Pegasus
  #2  
Old Nov 14, 2012, 10:02 AM
juggledad's Avatar
juggledad
 
21,687 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
If you are using an atahualpa menu, you can change it in bfa_config_header.php.
If you are uisng the new WordPress menu then the menu is built using the wordpress function 'has_nav_menu()'
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support
  #3  
Old Nov 20, 2012, 03:10 AM
pegasus
 
2 posts · Oct 2012
Hi Juggledad,

I did look into what you pointed to me but still could not find which piece of code that forms <div id="menu1" class="menu-top-menu-container"> and I am using Atahulpha 3.4.2.

Regards
Pegasus
  #4  
Old Nov 20, 2012, 05:19 AM
juggledad's Avatar
juggledad
 
21,687 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
That is an old release. I would suggest you upgrade to 3.7.9 the latest release.
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hiring - Improve site speed and tweak plugins jrmallory Customization, Design, Programming... 5 Sep 26, 2012 06:17 PM
How badly could I mess up my blog if I try to copy this css tweak? Hidden Driveways Page & Category Menu Bars 3 Jul 12, 2010 09:22 PM
[SOLVED] How to place Chitika Javascipt on individual posts maxhomebits Forum How-To 3 Nov 5, 2009 05:53 AM
How to Tweak Theme for FAQ-Tastic Paged Question Group cltaylor Header configuration & styling 1 Oct 20, 2009 06:30 PM
Image rotation PHP script needs a tweak paulae Sidebars & Widgets 9 Jun 14, 2009 12:41 PM


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


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