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.
Bonjour,
I used a banner of 1000 to 140 px as logo. If I use a background, background in 1 mm higher than picture. I did not see it, but my clients did! And now I can see it. How can I ajust header and logo?
I made on purpose a back background so we can see it easily. In definitive release, it's an image background.
All the best
Comment | File | Size | Author |
---|---|---|---|
header.pdf | 482.52 KB | sahuni |
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedI'm sure there's a better way to do this, but try setting a line-height of 0 for the header. This should remove the extra space.
Comment #2
sahuni CreditAttribution: sahuni commentedNo change with
#header {
background-color: #000000;
line-height: 0em;
}
I rebuilt theme registry, clear cached data
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedMaybe try with a star after header
#header *
Comment #4
sahuni CreditAttribution: sahuni commentednope, same with
#header * {
background-color: #FF0000;
line-height: 0em;
}
Comment #5
Anonymous (not verified) CreditAttribution: Anonymous commentedWell, it's getting too complicated to identify without having the code. Any link to your page ?
Comment #6
sahuni CreditAttribution: sahuni commentedSome one suggested to me to do a background image a little bigger than banner image and to make it white at bottom, so problem is still alive but we don't see it.
Here is the result : http://www.lamurithienne.ch
Thanks for offering help
All the best
Sahuni
Comment #7
Anonymous (not verified) CreditAttribution: Anonymous commentedHere is a fix :
Comment #8
sahuni CreditAttribution: sahuni commentedWell done,
it's working perfectly.
Thanks a lot
Sahuni