• ResolvedTheme Author nobita

    (@nobita)


    for IamPetard

    Why you make a new post ?

    quoted here

    I also have one more question but I’m not sure should I make a new post – I want the header image to have custom places where you can click(if you look at my image you see there are a few possible places to click

    HERE

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author nobita

    (@nobita)

    header.php

    <?php
    		if ( $raindrops_link_unique_text == true ) {
    
    			echo raindrops_header_image( 'elements' );
    		}else{
    
    			echo raindrops_header_image( 'home_url' );
    		}
    
    ?>

    change below.

    <div class="yui-ge">
     <div class="yui-u first">
     <?php
    		if ( $raindrops_link_unique_text == true ) {
    
    			echo raindrops_header_image( 'elements' );
    		}else{
    
    			echo raindrops_header_image( 'home_url' );
    		}
    
    ?>
    </div>
    <div class="yui-u">
    <?php
    	wp_nav_menu( array('menu' => 'Header Image' ));
    ?>
    </div>
    </div>

    style.css

    add to style.css last line.

    #menu-header-image{
    	margin:0;
    	padding:0;
    }
    #menu-header-image li{
    	list-style:none;
    	margin:0 10px;
    	padding:.5em;
    
    }
    @media screen and (min-width : 641px){
    
    #top #header-image{
    	/* kill header image height adjustment */
    	height:150px!important;
    }
    }
    @media screen and (max-width : 640px){
    	#top #menu-header-image,
    	#top #header-image,
    	#top .yui-u{
    		width:100%;
    		display:block;
    		float:none;
    	}
    	#menu-header-image li{
    		border-bottom:1px solid rgba(222,222,222,.3);
    	}
    	#menu-header-image{
    		border-top:1px solid rgba(222,222,222,.3);
    	}
    }

    Dashborad appearance / menus.

    create menu ‘Header Image’

    ??

    Theme Author nobita

    (@nobita)

    IamPetard past 3 weeks not reply

    Change to resolved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘I want the header image to have custom places’ is closed to new replies.