Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

Customizing the header


  #1  
Old Jul 23, 2009, 01:15 PM
mcphoto
 
120 posts · Apr 2009
Hi folks -
I've done several sites with this theme and in every case I'm using flash or HTML in the header (works great with Flynn's awesome "if" code to have a flash homepage header and static headers on other pages, too - real cool!)

Anyway - I realized in every instance, I have the page menu & any "bar1/bar2" I want at the top of the layout, followed by my custom header files. I'm playing with a layout that requires page menu/bar content BELOW the header art.

How do I chop up the code to do this? (Using 332 for this site, BTW). Everything I try breaks up the page, looks like a column span issue??

Here's what works with the menus/bars at page TOP:

Code:
</colgroup> 
	<tr>

<?php bfa_header_config($bfa_ata['configure_header']); ?>
		<!-- Header -->
		<td id="header" colspan="<?php echo $cols; ?>">		
		<div style="height: 303px;">PUT HEADER CONTENT HERE, flash, table, etc</div>
		</td>
		<!-- / Header -->
	</tr>
	<!-- Main Body -->
Any ideas?? I've really painted myself into a corner with this layout! I know next-to-nothing about php but I've tried moving various bits around with no luck. Thanks for any help!
  #2  
Old Jul 23, 2009, 03:24 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Have you tried changing the order of things at ATO->Style & edit HEADER AREA->Configure Header Area?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Jul 23, 2009, 03:30 PM
mcphoto
 
120 posts · Apr 2009
Nope, once you insert custom code into the header, you have to delete %image, because you're calling your own image/flash/whatever -

The whole "%image %bar1 %bar2 %pages" section is treated as one "block" of stuff by the theme, far as I can tell... I need to get it below the code I've pasted into header.php. As I said above, getting it on top works fine...

It would be cool to know how to manually order all of that in header.php, say:

bar 1
custom code
page menu
bar 2

I find messing with the header is really handy for doing some cool stuff. Wish I understood PHP better! (I'm a designer, my brain is already full!)
  #4  
Old Jul 23, 2009, 05:41 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
You can put any code in between those %something items, they are not one block. I'll make this clear in the next release
  #5  
Old Jul 23, 2009, 08:12 PM
mcphoto
 
120 posts · Apr 2009
Do you mean I can paste code in the header/Configure Header Area box in theme options?

(Still haven't found a way to get the page menu below the code I've entered in header.php)
  #6  
Old Jul 24, 2009, 03:09 PM
mcphoto
 
120 posts · Apr 2009
Umm... pasting code in the configure header are box sure is interesting..

Anyway, while it would be cool to understand how to "put anything between the %whatever items"... for now, is there a simple way to get custom HTML or Flash ABOVE the page menu/bars/etc???

The code in my initial post references how I've successfully gotten it BELOW... anyone? Thanks!
  #7  
Old Jul 27, 2009, 10:37 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
You can use

...HTML or PHP...
%image
...HTML or PHP...
%bar1
...HTML or PHP...
%pages
...HTML or PHP...
%cats
...HTML or PHP...
  #8  
Old Jul 27, 2009, 01:29 PM
mcphoto
 
120 posts · Apr 2009
Thanks for the info - still unsure of where to put the code;

If I try it like this, it just appears as text below my custom image:

Code:
<!-- Header -->
<td id="header" colspan="<?php echo $cols; ?>">
		
<div style="height:400px;"><img src="path/to-image" width="900" height="400"></div>

%bar2 %pages %bar1

		</td>
		<!-- / Header -->
I've tried wrapping it in the bfa-configure-header code, but just get "unexpected "%" errors.

I've tried dropping those into an html table, but same thing - can you share any specifics of how to actually enter those? (I'm not a PHP guy, mostly a designer!) Thanks!
  #9  
Old Jul 29, 2009, 08:39 AM
mcphoto
 
120 posts · Apr 2009
*Bump* - Flynn? Anyone? Even just a hint...???
  #10  
Old Aug 5, 2009, 03:11 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
You would put this at Theme Options -> Style & Edit HEADER AREA -> Configure Header Area

The ability to add PHP and HTML code to that area was added in 3.4 though so it would not work in your version. The theme is evolving quickyl, I suggest that you upgrade to the newest version.
  #11  
Old Aug 5, 2009, 09:17 AM
mcphoto
 
120 posts · Apr 2009
Thanks, that's a great theme addition, I'll get started.

The experimental site I'm doing uses about 40 individual page templates; has the index.php changed to the point where I would re-do all of those, or can I just drop those in?

Thanks for your help - as a feature for updates in the future, would it be possible to define a folder external to the theme folder to store images that are used in the theme options panels? That way upgrading could keep most of the background images used.

Thanks again - MC

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Customizing Page Links (sidebar) crashley1784 Sidebars & Widgets 0 May 29, 2009 05:19 PM
Problem Customizing Widgets on Different Pages davidferris Sidebars & Widgets 1 Apr 27, 2009 08:00 PM
Help Color Customizing Page Menu Bar Please hovering Header configuration & styling 3 Mar 29, 2009 04:31 AM
Recommended: Use Firebug while customizing your site Flynn Atahualpa 3 Wordpress theme 9 Mar 27, 2009 06:50 PM
Customizing widgets Riddle36 Sidebars & Widgets 3 Mar 4, 2009 08:25 AM


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


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