Skip Navigation

[Gelöst] Adding a header image in Toolset Bootstrap theme

This support ticket is created vor 9 Jahre, 7 Monate. There's a good chance that you are reading advice that it now obsolete.

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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 2 Antworten, has 2 Stimmen.

Last updated by Robert Campbell vor 9 Jahre, 7 Monate.

Assigned support staff: Luo Yang.

Author
Artikel
#199564

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?

Regards

Robert

#199808

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>
				</h1>

You can replace it with your header image

2) you can try put your header image before:

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

Thanks luoy.