I’m using DW Jason for years and I’m still happy with it. However, now I’m trying to change the from displaying the website title to a site logo. I’m experimenting with different pixel sizes and width/heigth ratios, but I’m not fully satisfied.
The image consists of a name/word and a graphic element. how should I arrange it, so both will be visible/readable well? One above the other, one next to each other? Should the image be square or a rather lengthy rectangle?
Thanks in advance for some hints!
Please send me your site URL for further checking.
About this issue, you can open the header.php file then find the FOLLOWING code:
<?php dw_jason_logo(); ?>
Then replace it with the following code
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home" class="site-brand navbar-brand">
<?php $site_logo = dw_jason_get_theme_option('logo'); ?>
<?php if( $site_logo ) : ?>
<img src="<?php echo esc_url( $site_logo ); ?>" title="<?php bloginfo('name'); ?>" width="156">
<?php else : ?>
<?php bloginfo('name'); ?>
<?php endif; ?>
Unfortunately, that doesn’t work. I get an error message, when I try to update the code.
Just tell me, which dimension/ratio work best for a site logo.
Please login or Register to submit your answer