Hello lmcseo, There is a filter to change the height and width of header image. Open functions.php from rtPanel theme and add the following line of codes.
<?php
// This line is to set image width
add_filter( 'rtp_header_image_width', create_function( '', 'return 940;' ) );
// This line is to set image height
add_filter( 'rtp_header_image_height', create_function( '', 'return 300;' ) );
?>
For a fluid Header Image , add these lines in "rtp-mobile.js" that you can find in the "js" folder. You can tweak the script as per your need.
jQuery( document ).ready(function() {
var bg_url = jQuery('#header-wrapper').css('background-image');
bg_url = bg_url.match(/^url\(['"](.+)["']\)$/);
bg_url = bg_url ? bg_url[1] : ""; // If matched, retrieve url, otherwise ""
if( bg_url != '' ) {
jQuery('#header-wrapper').css({'background':'none', 'height':'auto', 'width':'auto'}).append('
');
jQuery('#header-wrapper .rtp-grid-12').css({'position':'absolute', 'left':'0', 'top':'0', 'z-index': '10'});
jQuery('#rtp-primary-menu').css({'top':'100px'});
}
}
CSS for wide monitors
Add these lines in "style.css" at the bottom.
/*Header Image Resize*/
body #header-wrapper { height: auto; width: auto; }
/* You can generate custom grids here: http://grids.heroku.com/ */
/* Responsive Structure */
@media screen and (min-width: 1200px) { .rtp-container-12 { width: 1200px; }
/* Grid >> 12 Columns */
.rtp-grid-1 { width: 80px; }
.rtp-grid-2 { width: 180px; }
.rtp-grid-3 { width: 280px; }
.rtp-grid-4 { width: 380px; }
.rtp-grid-5 { width: 480px; }
.rtp-grid-6 { width: 580px; }
.rtp-grid-7 { width: 680px; }
.rtp-grid-8 { width: 780px; }
.rtp-grid-9 { width: 880px; }
.rtp-grid-10 { width: 980px; }
.rtp-grid-11 { width: 1080px; }
.rtp-grid-12 { width: 1180px; }
/* Prefix Extra Space >> 12 Columns */
.rtp-prefix-1 { padding-left: 100px; }
.rtp-prefix-2 { padding-left: 200px; }
.rtp-prefix-3 { padding-left: 300px; }
.rtp-prefix-4 { padding-left: 400px; }
.rtp-prefix-5 { padding-left: 500px; }
.rtp-prefix-6 { padding-left: 600px; }
.rtp-prefix-7 { padding-left: 700px; }
.rtp-prefix-8 { padding-left: 800px; }
.rtp-prefix-9 { padding-left: 900px; }
.rtp-prefix-10 { padding-left: 1000px; }
.rtp-prefix-11 { padding-left: 1100px; }
/* Suffix Extra Space >> 12 Columns */
.rtp-suffix-1 { padding-right: 100px; }
.rtp-suffix-2 { padding-right: 200px; }
.rtp-suffix-3 { padding-right: 300px; }
.rtp-suffix-4 { padding-right: 400px; }
.rtp-suffix-5 { padding-right: 500px; }
.rtp-suffix-6 { padding-right: 600px; }
.rtp-suffix-7 { padding-right: 700px; }
.rtp-suffix-8 { padding-right: 800px; }
.rtp-suffix-9 { padding-right: 900px; }
.rtp-suffix-10 { padding-right: 1000px; }
.rtp-suffix-11 { padding-right: 1100px; }
/* Push Space >> 12 Columns */
.rtp-push-1 { left: 100px; }
.rtp-push-2 { left: 200px; }
.rtp-push-3 { left: 300px; }
.rtp-push-4 { left: 400px; }
.rtp-push-5 { left: 500px; }
.rtp-push-6 { left: 600px; }
.rtp-push-7 { left: 700px; }
.rtp-push-8 { left: 800px; }
.rtp-push-9 { left: 900px; }
.rtp-push-10 { left: 1000px; }
.rtp-push-11 { left: 1100px; }
/* Pull Space >> 12 Columns */
.rtp-pull-1 { left: -100px; }
.rtp-pull-2 { left: -200px; }
.rtp-pull-3 { left: -300px; }
.rtp-pull-4 { left: -400px; }
.rtp-pull-5 { left: -500px; }
.rtp-pull-6 { left: -600px; }
.rtp-pull-7 { left: -700px; }
.rtp-pull-8 { left: -800px; }
.rtp-pull-9 { left: -900px; }
.rtp-pull-10 { left: -1000px; }
.rtp-pull-11 { left: -1100px; }
}
Let me know if this helps.
Thanks