The height of your image is determined by a default header height setting which is cropping it to 520px.
This is considered a modification, and is provided as-is. We expect you understand what you are doing if applying coding changes using these or other WordPress tutorials. Make a backup of your existing file so you can replace it if something goes wrong and you need to start over. Modified files WILL probably be replaced by a theme update at some point, so keep note of your changes for future reference or see our guides below. We cannot assist you with modifying your theme or support problems you encounter as a result!
If you are modifying a theme as part of a client project, the following are really important!How to Modify Your Theme the Right Way
How to Track Update Changes and Maintain Modifications
- Go to → and earch for “Solid Code Theme Editor” and install/activate it.
- Go to → and then expand “ocmx” on the right side and expand “theme-setup.” Click on the theme-support.php link to view the file contents on the left.
- Locate the section titled
/// Add support for custom headers
- In that code string, you will see a height variable like this:
/// Add support for custom headers $headerargs = array( 'wp-head-callback' => 'ocmx_header_style', 'admin-head-callback' => 'ocmx_admin_header_style', 'width' => '2000', 'height' => '520',
- Change it to 635:
/// Add support for custom headers $headerargs = array( 'wp-head-callback' => 'ocmx_header_style', 'admin-head-callback' => 'ocmx_admin_header_style', 'width' => '2000', 'height' => '635',
- Be careful not to remove a quote or comma. Save your changes, then return to Select File, then locate your image to select it. This time it should set the crop at 635. > , click