Raindrops Update – header problem
-
Hi Nobita – Just updated to the latest version of raindrops and the header height seems to have been shortened. (firefox).
Thanks
alteregovoices.com
-
Hi Cromerty
I change header image script newest version.
Your header image size is 752X157 but page width 850px too small
Prease reset header image , width 850px;
Thank you.
Hi – I’ve done that – but it still doesn’t look ok.
The picture is 850 x 156 pixels
Hi Nobita – I’ve re-drawn my header to fit. I’ll set this to resolved.
I like the old header resolution as I have 25 of them to fit. The Original header size is what I use. Reverted to old theme. Can you post change logs on theme changes from now on??
Hi Yak Chum
You have any difficulty in the header image?
Hello Nobita,
Yes new header size not default 1919 x 400. Understanding you have changed default header image size in latest version of your raindrops theme. I Thought that worked better for this theme. Personally i like the original header size I tried to step back the style CSS to 1.276 but that hasn’t seemed to repair the header on my homepage rather its missing now.Can you create code to allow custom size for header image?
Appears my Child theme does not work with update.
Website looks broken.
Raindrops theme, there was a bug when a large image has been set.
functions.php line:570
if( $page_type_check == 'doc3' ) { $max_width = raindrops_warehouse_clone( 'raindrops_fluid_max_width' ); $width = absint( raindrops_detect_header_image_size_clone( 'width' ) ); if( $width !== $max_width ) { $orrection_amount = $width / $max_width; return round( $height * $orrection_amount ); } return $height; }Change from $width !== $max_width to $width < $max_width
if( $page_type_check == 'doc3' ) { $max_width = raindrops_warehouse_clone( 'raindrops_fluid_max_width' ); $width = absint( raindrops_detect_header_image_size_clone( 'width' ) ); if( $width < $max_width ) { $orrection_amount = $width / $max_width; return round( $height * $orrection_amount ); } return $height; }I think this change makes correctly work
Even after this change, if you need further adjustment, you can use the following filter.
add_filter( 'raindrops_header_image_width', 'revert_raindrops_header_image_width' ); add_filter( 'raindrops_header_image_height', 'revert_raindrops_header_image_height' ); function revert_raindrops_header_image_width( $return_value ) { return 1280; } function revert_raindrops_header_image_height( $return_value ) { return 573; }Appears my Child theme does not work with update.
Website looks broken.
broken means background issue ?
Affect setting in the background does not conduct…
causing app error of Facebook with my chrome
Please a little more, Could you clarify the problem
thank you for your patience
Nobita,
Sorry yes I meant background issue not working. Only on home page. Background works fine under posts and pages.
Header seems to not fix with functions.php code changes.
For filter shall I edit in child theme or under raindrops theme?
Thank you
Sorry!
I’m recheck using same size your site image
if( $width < $max_width ) { $orrection_amount = $width / $max_width; return round( $height * $orrection_amount ); } if( $width > $max_width ) { $orrection_amount = $max_width / $width; return round( $height * $orrection_amount ); }please add
if( $width > $max_width ) { $orrection_amount = $max_width / $width; return round( $height * $orrection_amount ); }Now, I can Fix
filter works child theme ( I’m checked and works ).
Very Sorry.
Still not working i have added the code you provided to functions.php in child theme.
Here were errors from server.
[19-Mar-2015 21:39:46 UTC] PHP Strict Standards: Only variables should be passed by reference in /home2/burninga/public_html/wp-content/plugins/nextgen-gallery/non_pope/class.photocrati_installer.php on line 192 [19-Mar-2015 21:39:46 UTC] PHP Notice: Trying to get property of non-object in /home2/burninga/public_html/wp-includes/query.php on line 4349 [20-Mar-2015 04:30:48 UTC] PHP Parse error: syntax error, unexpected end of file in /home2/burninga/public_html/wp-content/themes/raindrops/functions.php on line 9865Problems:
1. No Header on home page.
2. No background on Home page (IE) Ok in chrome
3. Wrong header size in post pages
The topic ‘Raindrops Update – header problem’ is closed to new replies.
