rob26r
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Header – Add Hyperlink to LogoNever mind – something wrong on my side. Thank you so much Andrew!!!
Forum: Themes and Templates
In reply to: Header – Add Hyperlink to LogoI pasted the code in the child theme style.css section and it did not work. Hmmmm.
Forum: Themes and Templates
In reply to: Header – Add Hyperlink to LogoI am guessing I would enter this on the style.CSS or at the bottom of the custom header?
Forum: Themes and Templates
In reply to: Header – Add Hyperlink to LogoMy default header is set to nothing. Figuring the code would set the header. If you see my site I have the blank header and the header from the code. http://Www.brewcityauctionpawn.com
Forum: Themes and Templates
In reply to: Header – Add Hyperlink to LogoAndrew – Thanks for you help so far. Almost there I think.
The good news is that the hyperlink is working but I have 2 headers. Any thoughts on how to adjust this?
Below is the code:
<?php
$header_textcolor = get_header_textcolor();
if( ( !empty( $header_textcolor ) && $header_textcolor != ‘blank’ ) ):
$head_wrap_bg_class = ( get_header_image() )? ‘head-wrap-bg’ : ”;
?><style type=”text/css”>
dl.image_map {display:block; width:946px; height:201px; background:url(http://www.image-maps.com/uploaded_files/3201212311202544_BCAP%2012%2030.jpg); position:relative; margin:2px auto 2px auto;}
a.LINK0 {left:10px; top:10px; background:transparent;}
a.LINK0 {display:block; width:600px; height:0; padding-top:154px; overflow:hidden; position:absolute;}
a.LINK0:hover {background:transparent; border:1px dashed black; color:black;}
a.BLINK {left:942px; top:197px; background:transparent;}
a.BLINK {display:block; width:202px; height:17px; overflow:hidden; position:absolute; font-size:0px;}
a.BLINK:hover {background:black; border:1px dashed white; color:white; font-size:9px;}
</style><dl class=”image_map”>
<dd></dd>
<dd>Mapped @ Image Mapper</dd>
</dl><!– Image map text links – Start – If you do not wish to have text links under your image map, you can move or delete this DIV –>
<div style=”text-align:center; font-size:12px; font-family:verdana; margin-left:auto; margin-right:auto; width:946px;”>
Untitled
| Image Map
</div>
<!– Image map text links – End – –><div class=”grid_12″>
<div id=”head-wrap” class=”<?php echo $head_wrap_bg_class; ?>”>
<div id=”head-text”>
<span class=”site-name”>” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” rel=”home”><?php bloginfo( ‘name’ ); ?></span>
<span class=”site-description”><?php bloginfo( ‘description’ ); ?></span>
</div> <!– end of #head-text –>
</div> <!– end of #head-wrap –>
</div>
<div class=”clear”></div><?php
elseif( get_header_image() ):if ( function_exists( ‘get_custom_header’ ) ) {
$header_image_width = get_custom_header()->width;
$header_image_height = get_custom_header()->height;} else {
$header_image_width = HEADER_IMAGE_WIDTH;
$header_image_height = HEADER_IMAGE_HEIGHT;}
?><div class=”grid_12″>
<div id=”head-wrap”>
<div id=”head-image”>
” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” rel=”home”><img src=”<?php header_image(); ?>” width=”<?php echo $header_image_width; ?>” height=”<?php echo $header_image_height; ?>” alt=”<?php bloginfo( ‘name’ ); ?>” />
</div> <!– end of #logo –>
</div> <!– end of #head-wrap –>
</div>
<div class=”clear”></div><?php endif; ?>
Forum: Themes and Templates
In reply to: Header – Add Hyperlink to LogoI found something similar in my custom-header.php.
Maybe it goes somewhere here?
<?php $header_textcolor = get_header_textcolor(); if( ( !empty( $header_textcolor ) && $header_textcolor != 'blank' ) ): $head_wrap_bg_class = ( get_header_image() )? 'head-wrap-bg' : ''; ?> <div class="grid_12"> <div id="head-wrap" class="<?php echo $head_wrap_bg_class; ?>"> <div id="head-text"> <span class="site-name"><a>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span> <span class="site-description"><?php bloginfo( 'description' ); ?></span> </div> <!-- end of #head-text --> </div> <!-- end of #head-wrap --> </div> <div class="clear"></div> <?php elseif( get_header_image() ): if ( function_exists( 'get_custom_header' ) ) { $header_image_width = get_custom_header()->width; $header_image_height = get_custom_header()->height; } else { $header_image_width = HEADER_IMAGE_WIDTH; $header_image_height = HEADER_IMAGE_HEIGHT; } ?> <div class="grid_12"> <div id="head-wrap"> <div id="head-image"> <a>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><img src="<?php header_image(); ?>" width="<?php echo $header_image_width; ?>" height="<?php echo $header_image_height; ?>" alt="<?php bloginfo( 'name' ); ?>" /></a> </div> <!-- end of #logo --> </div> <!-- end of #head-wrap --> </div> <div class="clear"></div> <?php endif; ?>[please remember to mark any posted code – the above code is corrupted – http://codex.ww.wp.xz.cn/Forum_Welcome#Posting_Code ]
Forum: Themes and Templates
In reply to: Header – Add Hyperlink to LogoOdd – I don’t see the code you have referenced in my header.php file that I copied over to my child theme.
I see:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> <head profile="http://gmpg.org/xfn/11"> <meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type' ); ?>; charset=<?php bloginfo( 'charset' ); ?>" /> <title><?php wp_title( '|', true, 'right' ); ?><?php bloginfo( 'name' ); ?></title> <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" /> <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /> <?php wp_head(); ?> </head> <body <?php body_class(); ?>> <div class="container_main"> <div class="container_12"> <?php get_template_part( 'custom', 'header' ); ?> <?php get_template_part( 'primary', 'menu' ); ?>[please mark any posted code – http://codex.ww.wp.xz.cn/Forum_Welcome#Posting_Code ]
Forum: Themes and Templates
In reply to: Header – Add Hyperlink to LogoI am open to trying other methods…
Forum: Themes and Templates
In reply to: Header – Add Hyperlink to LogoI am using image map because I thought it was the easiest way. Yes I will have more than one link at some point.
Forum: Themes and Templates
In reply to: Header – Add Hyperlink to LogoI am using a child theme.
The CSS code from image-map is:
<style type=”text/css”>
dl.image_map {display:block; width:946px; height:201px; background:url(http://www.image-maps.com/uploaded_files/3201212311202544_BCAP%2012%2030.jpg); position:relative; margin:2px auto 2px auto;}
a.LINK0 {left:10px; top:10px; background:transparent;}
a.LINK0 {display:block; width:600px; height:0; padding-top:154px; overflow:hidden; position:absolute;}
a.LINK0:hover {background:transparent; border:1px dashed black; color:black;}
a.BLINK {left:942px; top:197px; background:transparent;}
a.BLINK {display:block; width:202px; height:17px; overflow:hidden; position:absolute; font-size:0px;}
a.BLINK:hover {background:black; border:1px dashed white; color:white; font-size:9px;}
</style><dl class=”image_map”>
<dd></dd>
<dd>Mapped @ Image Mapper</dd>
</dl><!– Image map text links – Start – If you do not wish to have text links under your image map, you can move or delete this DIV –>
<div style=”text-align:center; font-size:12px; font-family:verdana; margin-left:auto; margin-right:auto; width:946px;”>
Untitled
| Image Map
</div>
<!– Image map text links – End – –>Forum: Themes and Templates
In reply to: Canyon Theme – Remove Page HeaderThat was not a smart move on my part. It works now. Thanks a ton!!!
Forum: Themes and Templates
In reply to: Canyon Theme – Remove Page HeaderI am new maybe I didn’t copy it correctly. I also cleared my cache. See below.
@import url(“../canyon/style.css”);
/*
body {
background: #333;
*/
}.entry-title {
display: none;
}Forum: Themes and Templates
In reply to: Canyon Theme – Remove Page HeaderWPyogi – I deactivated the plug-in and added the code to the style.css and it did not work. Hmm?
Forum: Themes and Templates
In reply to: Canyon Theme – Remove Page HeaderHi – the site is http://brewcityauctionpawn.com/
If you click on online quote you will see that the page title shows up for a second then disappears. The other issue is that I can’t remove the Brew City Auction & Pawn page title when I click on the Brew City Auction & Pawn tab.
My preference would be not use a plugin and just put some code in my child theme so it hides the page titles.
Thanks!!