Skip Navigation

[Résolu] Adding a header image in Toolset Bootstrap theme

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 2 réponses, has 2 voix.

Last updated by Robert Campbell Il y a 7 années et 8 mois.

Assigned support staff: Luo Yang.


I am looking at two options for my header in my Toolset Bootstrap theme;

1. If I just want to have a header image instead of the site title and strapline, can you tell me how to modify the header.php to insert the image? Also how wide the image should be in pixels?

2. Is it possible to have a header image and also have the site title on top of the header image?




Luo Yang

Languages: Anglais (English ) Chinois simplifié (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

Hi Robert,

1) Please check the file header.php line 55~57:

				<h1 class="site-title">
					<a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>

You can replace it with your header image

2) you can try put your header image before:

<?php bloginfo( 'name' ); ?>

Thanks luoy.