How to Change the Logo Size

  1. Home
  2. Docs
  3. Januas
  4. Frequently Asked Question...
  5. How to Change the Logo Size

How to Change the Logo Size

You can change the width and height of the header logo. Take the next stepts to do that:

1. Backup the original files before editing.

2. Open the file wp-content/themes/januas/lib/januas.php

3. Locate this code (around line 31)

$header_config = array(
‘default-image’ => get_bloginfo(‘template_url’) . ‘/lib/images/januas_logo.png’,
‘random-default’ => false,
‘width’ => 306,
‘height’ => 87,
‘default-text-color’ => ”,
‘header-text’ => false,
‘uploads’ => true,
‘wp-head-callback’ => ”,
‘admin-head-callback’ => ”,
‘admin-preview-callback’ => ”,
);

4. Edit the width and height in this code as you need.

5. Update the file.

6. Navigate to Appearance>>Editor and open the style.css file

7. Find the ‘header.header’ class and change the min-height attribute.

For example, suppose you would like to add 50px height as minimum, to an existing height of 80, so you will change it to

header.header{ min-height: 130px }

8. Update the file.

Was this article helpful to you? Yes 1 No 1