Hendrik Spree
asked 4 years ago

Hey guys!
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!

3 Answers
DominicStaff
answered 4 years ago

Please send me your site URL for further checking.

Hendrik Spree
replied 4 years ago

Sure, Dominic. It’s http://drikkes.com/ The task is to make the illu big and the name too, but something like https://www.canva.com/design/DADZidz6qYI/xExc-IBpWoKFGOjpAOznbA/view?utm_content=DADZidz6qYI&utm_campaign=designshare&utm_medium=link&utm_source=publishsharelink doesn’t work for some reason, the graphic gets very small.

DominicStaff
answered 4 years ago

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; ?>
</a>
Hendrik Spree
answered 4 years ago

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.
Thanks!

Dominic Staff
replied 4 years ago

Please send me your FTP account, I will help you resolve it.

Hendrik Spree
replied 4 years ago

No, thanks. I haven’t used my FTP in ages and the web interface for that is only available in German, I think. And Iusually don’t give other people my passwords.

Dominic Staff
replied 4 years ago

You can check the code in the header.php file here: http://snippi.com/s/npu9eo5
We have customized the header.php file and checked on our demo site.

Powered by DW Question & Answer Pro