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 » Montezuma Theme »

[SOLVED] Header Problems


  #1  
Old Mar 9, 2013, 05:13 AM
Kaori29
 
24 posts · Feb 2013
Unhappy [SOLVED] Header Problems

Hello,

this is the code of my header:

Code:
<div id="banner-bg" class="cf">
	<div id="banner" class="row">
		<div id="logo-img" class="col3">
		  <a href="<?php echo home_url(); ?>">
              <img src="http:///www.lovelystamps.de/wp-content/uploads/2013/03/logoblack-e1362827389929.jpg">
          </a>
		</div>
		<div id="logo-area" class="col4">
			<<?php bfa_if_front_else( 'h1', 'h3' ); ?> id="sitetitle">
				<a href="<?php echo home_url(); ?>"><?php bloginfo( 'name' ); ?></a>
			<<?php bfa_if_front_else( 'h1', 'h3' ); ?>>
			<p id="tagline"><?php bloginfo( 'description' ); ?></p>
		</div>
               
             
		<?php wp_nav_menu( array( 
			'container' => 'nav', 
			'container_class' => 'menu-wrapper col5', 
			'container_id' => 'menu1-wrapper', 
			'menu_id' => 'menu1', 
			'menu_class' => 'cf menu', 
			'theme_location' => 'menu1', 
			'fallback_cb' => 'bfa_page_menu' 
		) ); ?>
             
	</div>
</div>

<a href="<?php bloginfo( 'rss2_url' ); ?>" class="rsslink" title="<?php _e( 'Subscribe to RSS Feed', 'montezuma' ); ?>"></a>
		

<div id="breadcrumbs1-bg">
	<nav id="breadcrumbs1" class="breadcrumbs lw">
		<?php bfa_breadcrumbs( 'breadcrumbs1' ); ?>
	</nav>
</div>
And it looks so:




Is it posibble to set the menu unter the image, sidetitle and discription?

Please help me to modify the code.

I know that every class has to be "12"

so i think the menu should look so:

Code:
<?php wp_nav_menu( array( 
			'container' => 'nav', 
			'container_class' => 'menu-wrapper col12', 
			'container_id' => 'menu1-wrapper', 
			'menu_id' => 'menu1', 
			'menu_class' => 'cf menu', 
			'theme_location' => 'menu1', 
			'fallback_cb' => 'bfa_page_menu' 
		) ); ?>
But how to add the rows?
  #2  
Old Mar 9, 2013, 06:08 AM
Kaori29
 
24 posts · Feb 2013
I got it with the rows

Code:
<div id="banner-bg" class="cf">
	<div id="banner" class="row">
	
		<div id="sidetitle" class="col7">
			<<?php bfa_if_front_else( 'h1', 'h3' ); ?> id="sitetitle">
				<a href="<?php echo home_url(); ?>"><?php bloginfo( 'name' ); ?></a>
			<<?php bfa_if_front_else( 'h1', 'h3' ); ?>>
			<p id="tagline"><?php bloginfo( 'description' ); ?></p>
		</div>
              
              
              <div id="logo" class="col5">
		  <a href="<?php echo home_url(); ?>">
              <img src="http:///www.lovelystamps.de/wp-content/uploads/2013/03/logoblack-e1362827389929.jpg">
          </a>
   </div>
          </div>

<p> </p>
     
 <div id="menu" class="cf">
	<div id="menu" class="row">
		<div id="menu" class="col12">     
      
		<?php wp_nav_menu( array( 
			'container' => 'nav', 
			'container_class' => 'menu-wrapper col12', 
			'container_id' => 'menu1-wrapper', 
			'menu_id' => 'menu1', 
			'menu_class' => 'cf menu', 
			'theme_location' => 'menu1', 
			'fallback_cb' => 'bfa_page_menu' 
		) ); ?>
          </div>       
	</div>
</div>

<a href="<?php bloginfo( 'rss2_url' ); ?>" class="rsslink" title="<?php _e( 'Subscribe to RSS Feed', 'montezuma' ); ?>"></a>
		
<div id="breadcrumbs1-bg">
	<nav id="breadcrumbs1" class="breadcrumbs lw">
		<?php bfa_breadcrumbs( 'breadcrumbs1' ); ?>
	</nav>
</div>
But now the "description" is not shown

How can i display it?

Last edited by juggledad; Mar 9, 2013 at 07:16 AM.
  #3  
Old Mar 9, 2013, 07:19 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
every ROW has to have 12 columns

by description do you mean the blog's TAG line?
Also ID's must be unique on a page, you have ID="menu" in three places
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Mar 9, 2013 at 07:22 AM.
  #4  
Old Mar 9, 2013, 07:25 AM
Kaori29
 
24 posts · Feb 2013
Yes i mean the Tagline. Sorry for the wrong word.

i tried some things and i saw that the tagline is hidden under the menu.

Maybe i have to create another row only for the tagline?
  #5  
Old Mar 9, 2013, 08:21 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
TRY THIS
HTML Code:
<div id="banner-bg" class="cf">
	<div id="banner" class="row">
	
		<div id="sidetitle" class="col7">
			<<?php bfa_if_front_else( 'h1', 'h3' ); ?> id="sitetitle">
				<a href="<?php echo home_url(); ?>"><?php bloginfo( 'name' ); ?></a>
			<<?php bfa_if_front_else( 'h1', 'h3' ); ?>>
			<p id="tagline"><?php bloginfo( 'description' ); ?></p>
		</div>
              
              
              <div id="logo" class="col5">
		  <a href="<?php echo home_url(); ?>">
              <img src="http:///www.lovelystamps.de/wp-content/uploads/2013/03/logoblack-e1362827389929.jpg">
          </a>
   </div>
          </div>

<p> </p>
     
 <div class="cf">
	<div id="menu" class="row">
      
		<?php wp_nav_menu( array( 
			'container' => 'nav', 
			'container_class' => 'menu-wrapper col12', 
			'container_id' => 'menu1-wrapper', 
			'menu_id' => 'menu1', 
			'menu_class' => 'cf menu', 
			'theme_location' => 'menu1', 
			'fallback_cb' => 'bfa_page_menu' 
		) ); ?>
	</div>
</div>

<a href="<?php bloginfo( 'rss2_url' ); ?>" class="rsslink" title="<?php _e( 'Subscribe to RSS Feed', 'montezuma' ); ?>"></a>
		
<div id="breadcrumbs1-bg">
	<nav id="breadcrumbs1" class="breadcrumbs lw">
		<?php bfa_breadcrumbs( 'breadcrumbs1' ); ?>
	</nav>
</div>
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #6  
Old Mar 9, 2013, 08:40 AM
Kaori29
 
24 posts · Feb 2013
Nearly...

Now the Menu is no longer in the header


Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Header problems curroburguillo Header configuration & styling 3 Feb 14, 2012 01:11 PM
header widget problems... abdell Header configuration & styling 18 Feb 11, 2012 05:13 PM
Header and Header image problems elemenopee Header configuration & styling 7 Jul 23, 2009 10:01 AM


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


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