WordPress.org

Ready to get started?Download WordPress

Forums

raindrops
[resolved] I want the header image to have custom places (3 posts)

  1. nobita
    Member
    Theme Author

    Posted 10 months ago #

    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

  2. nobita
    Member
    Theme Author

    Posted 10 months ago #

    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'

    :)

  3. nobita
    Member
    Theme Author

    Posted 9 months ago #

    IamPetard past 3 weeks not reply

    Change to resolved.

Reply

You must log in to post.

About this Theme

About this Topic

Tags