Hello, I used the theme setting to upload a background photo for the header region. I guess I will have to modify the code, but how do I get that banner photo to link to the home page?

In the past with another theme I have usually inserted a header banner photo using a custom block, and put that in <a>. However in this case that does not have a full width due to the block's left and right margin, which I do not want to modify.

Also, how do I resize the header region so that it has enough hight to show the photo? At the moment I have put a custom block in the header region which contains nothing but 6 lines of </br>.

Comments

damban created an issue. See original summary.

Sumit kumar’s picture

Hi damban,

Please add screenshot for more clarification
Are you talking about the logo upload in the theme setting ?

damban’s picture

Title: Mack header image link to home page » Make header image link to home page
damban’s picture

Hi Sumit, thank you for your reply. I am simply talking about the banner photo used in the header region. Not the logo.

Jeff Burnz’s picture

Why not just use Drupal inbuilt features for the logo - instead of setting a background image just use your background image as the logo and style accordingly using CSS.

Sumit kumar’s picture

Hi @damban

yaa this is also great if you make logo image as your background image.