• Resolved Dirtydeeds

    (@dirtydeeds)


    Hi.
    Very impressed of the theme. Im just having one problem to solve ??
    I added a logo to my site (in the header) but how do i do if i want the logo to change its size depending on the screensize? Right now its the same size on my cellphone as its on my computer…

Viewing 7 replies - 1 through 7 (of 7 total)
  • Theme Author acosmin

    (@acosmin)

    Did you upload your logo from the theme customizer (it will adjust its size on different screensizes)?

    If not, please undo the changes and use the customizer.

    https://www.acosmin.com/documentation/justwrite/

    Thread Starter Dirtydeeds

    (@dirtydeeds)

    Yes i did

    Theme Author acosmin

    (@acosmin)

    Please post your website url

    Thread Starter Dirtydeeds

    (@dirtydeeds)

    https://acdcmachine.com/wp/

    [Moderator note: Please post the website address without shortening it]

    Theme Author acosmin

    (@acosmin)

    There might be a bug, I will fix it in the next update. A quick fix would be to open functions.php and (line 402) find:

    echo '<img src="' . esc_url( $logo_image ) . '" alt="' . get_bloginfo( 'name' ) . '" />';

    Change it with:

    echo '<img src="' . esc_url( $logo_image ) . '" style="width: 100%;" alt="' . get_bloginfo( 'name' ) . '" />';

    Also, your logo is bigger than it should be, recommended width is 180px.

    Thread Starter Dirtydeeds

    (@dirtydeeds)

    Ok thanks.
    Now it looks better. It is much smaller than before but looks good on all screensizes. Can I get it any bigger? Or will it be a problem then?

    Theme Author acosmin

    (@acosmin)

    You could do it but I don’t recommend it.

    Open style.php, find:

    .logo-image {
    	display: inline-block;
    	max-width: 180px;
    }

    replace 180 with the size you want.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Add logo’ is closed to new replies.