Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi
I'd like to display some large image in the header, 960px, which will occupate all available space.
I'm in fluid layout.
How can I center the logo so it will follow resizing of the browser?
thx
Comments
Comment #1
ajross CreditAttribution: ajross commentedThe answer to this depends on what else you have in the header region. But I'm assuming if your logo is 960px you are not using the site title or site slogan. In that case, try adding the following to local.css:
There may be problems if you have any blocks, the search form etc in the header. Let me know more details of your layout if this does not work for you and I will try to help.
Comment #2
ajross CreditAttribution: ajross commentedComment #3
manoloka CreditAttribution: manoloka commented1# worked for me.
I only had to change the width to re real width of my logo 532px
Thanks