FrameMarket header height.

Hi-
How can I change the size of the custom header image on the FrameMarket theme?

For example, I'd like to change the dimensions from 980x100 to 980x500.

Thanks!

  • Tammie

    It's not a matter of changing an option you'd have to change in library/functions/theme.php:

    define( 'HEADER_TEXTCOLOR', '' );
    	define('HEADER_IMAGE', get_stylesheet_directory_uri() . 'library/images/headers/default.jpg');
    	define( 'HEADER_IMAGE_WIDTH', apply_filters( 'framemarket_header_image_width', 980 ) );
    	define( 'HEADER_IMAGE_HEIGHT', apply_filters( 'framemarket_header_image_height', 100 ) );
    	define( 'NO_HEADER_TEXT', true ); 
    
    		function framemarket_header_style() {
    		?>
    		<style type="text/css">
    		   #branding h1 a{
    		            background: url(<?php header_image(); ?>);
    		        }
    		</style>
    		<?php
    		}
    
    		function framemarket_admin_header_style() {
    		?>
    		<style type="text/css">
    				#headimg {
    		            width: <?php echo HEADER_IMAGE_WIDTH; ?>px;
    		            height: <?php echo HEADER_IMAGE_HEIGHT; ?>px;
    				}
    		</style>
    		<?php
    		}

    We strongly advise you only do this if know coding and creating your own custom header call in child theme.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.