Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

[SOLVED] Header Problems


  #1  
Old Mar 9, 2013, 06:13 AM
Kaori29
 
24 posts · Feb 2013
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, 07: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 08:16 AM.
  #3  
Old Mar 9, 2013, 08:19 AM
juggledad's Avatar
juggledad
 
23,600 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 08:22 AM.
  #4  
Old Mar 9, 2013, 08: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, 09:21 AM
juggledad's Avatar
juggledad
 
23,600 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, 09:40 AM
Kaori29
 
24 posts · Feb 2013
Nearly...

Now the Menu is no longer in the header

  #7  
Old Mar 9, 2013, 12:08 PM
juggledad's Avatar
juggledad
 
23,600 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
edit the css and remove the 'position: absolute' from the '#menu1-wrapper' - I'll let you figure out which css file it is in.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #8  
Old Mar 10, 2013, 03:02 AM
Kaori29
 
24 posts · Feb 2013
I found it in the menus_menu1.css

I first looked at the menus.css

Thanks for your help.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


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


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


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