Support » Theme: WEN Business » WEN Business – logo crop settings 200 x 150

  • mslcreative

    (@mslcreative)


    Hi, I am using WEN Business and would like to add a logo sized 1000px x 300px but when I try to add an image the select logo panel shows “Suggested image dimensions:200×150” and I have not been able to find where I can change the cropping settings. I do know the answer is there somewhere as I have done it before. Basically I want a header picture that reflects the website and hope someone can point me in the right direction.
    Thank you for reading this and any help

Viewing 5 replies - 1 through 5 (of 5 total)
  • The theme specifies a max width for logos of 200px. They are flexible in height though, so it can be as high as you want it to be.

    If you want to change the theme setup there don’t edit the theme files directly, otherwise your changes will be overwritten every time the theme is updated.
    You could create a child theme and specify the dimensions you’re looking for. This will most like make it necessary to adjust styles as well though.

    mslcreative

    (@mslcreative)

    Hi,
    Thank you for your response, thats interesting as I have done it before on another site and can’t see how I did it http://www.aroundhogroasts.co.uk/blog/

    I think the easy answer maybe to use a different theme what do you think?

    wensolutionsupport

    (@wensolutionsupport)

    Hello,
    Seems like you already fixed your issue?
    The logo seems larger.
    If you want to re-size the images without having to worry about the code, you can always use plugins like simple image re-size plugin https://wordpress.org/plugins/simple-image-sizes/

    and you can custom define the dimensions for most of the image defined on the theme.

    I hope this helped,
    best regards.

    mslcreative

    (@mslcreative)

    Hi,
    Thank you for your response. Just to update you I have not solved the problem, as I said above I have done it before but for some reason cant see how I did and still can’t. One solution is to use another theme but I know a lot about WEN Business theme so ideally would like to find the answer.

    Would using the re-size plugin change the option when uploading the logo allowing a larger image to be uploaded and cropped bigger than 200×150 as stated on the screen before cropping?

    Thank you

    wensolutionsupport

    (@wensolutionsupport)

    Hello again,
    The idea of using the plugin was not valid, I apologize for that.

    If you want to change the logo cropping width, you will have to follow these easy simple steps.

    First create a child theme for the theme,
    If the process of creating child theme is hard for you I will list out the steps,

    1- Create a folder in your theme directory named wen-business-child
    2- Create a file named style.css and add the below give lines in the style.css

    /*
    Theme Name: Wen Business Child Theme
    
    Author: WEN Themes Team
    
    Text Domain: wen-business
    Template: wen-business
    */
    
    /* =Child Theme Custom CSS
    -------------------------------------------------------------- */

    Then you can create another file named functions.php and add the following code on it

    <?php
    /**
     * Child Theme functions and definitions
     *
     */
    
    /**
     * Loading Parent theme stylesheet
     *
     */
    
    add_action( 'wp_enqueue_scripts', 'wen_business_child_enqueue_styles' );
    function wen_business_child_enqueue_styles() {
        wp_enqueue_style( 'wen-business-parent-style', get_template_directory_uri() . '/style.css' );
    }
    
    function wen_business_setup() {
    
    	/*
    	 * Make theme available for translation.
    	 */
    	load_theme_textdomain( 'wen-business' );
    
    	// Add default posts and comments RSS feed links to head.
    	add_theme_support( 'automatic-feed-links' );
    
    	/*
    	 * Let WordPress manage the document title.
    	 * By adding theme support, we declare that this theme does not use a
    	 * hard-coded <title> tag in the document head, and expect WordPress to
    	 * provide it for us.
    	 */
    	add_theme_support( 'title-tag' );
    
    	/*
    	 * Enable support for custom logo.
    	 */
    	add_theme_support( 'custom-logo', array(
    
    	) );
    
    	/*
    	 * Enable support for Post Thumbnails on posts and pages.
    	 *
    	 * @link http://codex.wordpress.org/Function_Reference/add_theme_support#Post_Thumbnails
    	 */
    	add_theme_support( 'post-thumbnails' );
    
      // Register image size for featured slider
      add_image_size( 'wen-business-slider', 1600, 440, true );
    
    	// This theme uses wp_nav_menu() in one location.
    	register_nav_menus( array(
        'primary'  => __( 'Primary Menu', 'wen-business' ),
        'footer'   => __( 'Footer Menu', 'wen-business' ),
        'social'   => __( 'Social Menu', 'wen-business' ),
        'notfound' => __( '404 Menu', 'wen-business' ),
    	) );
    
    	/*
    	 * Switch default core markup for search form, comment form, and comments
    	 * to output valid HTML5.
    	 */
    	add_theme_support( 'html5', array(
    		'search-form', 'comment-form', 'comment-list', 'gallery', 'caption',
    	) );
    
    	/*
    	 * Enable support for Post Formats.
    	 * See http://codex.wordpress.org/Post_Formats
    	 */
    	add_theme_support( 'post-formats', array(
    		'aside', 'image', 'video', 'quote', 'link',
    	) );
    
    	// Set up the WordPress core custom background feature.
    	add_theme_support( 'custom-background', apply_filters( 'wen_business_custom_background_args', array(
    		'default-color' => 'f5f4f4',
    		'default-image' => '',
    	) ) );
    
      global $wen_business_default_theme_options;
      $wen_business_default_theme_options = wen_business_get_default_theme_options();
    
    }

    If you follow these steps you will have a child theme, where you can use logo of any width and height.
    Just activate the child theme from Appearance => Themes .

    If you want to know more about the child theme please check https://codex.wordpress.org/Child_Themes

    I hope this helped.
    Best regards.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WEN Business – logo crop settings 200 x 150’ is closed to new replies.