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 am not an advanced coder, and I have a problem to get rid of the black bar at the top of the page/template (above header section).
I could not find it on the file style.css
I want to remove it to insert a large background image under the logo (somethink like the attached file). Image is not black and that is why I have to remove.
It looks like this for now: www.zoesport.pl.
Is anyone able to help me with this?
Comment | File | Size | Author |
---|---|---|---|
#4 | screen-1.jpg | 351.4 KB | gtsopour |
#4 | screen-2.jpg | 347.77 KB | gtsopour |
exemp.jpg | 56.08 KB | muerteno1 |
Comments
Comment #1
shruti.sheth CreditAttribution: shruti.sheth commentedHello,
One of the solutions to remove the black bar at the top of the page/template can be done by giving the top margin to the header.
The steps are as follows :-
1. Add the following code in your corporateclean.info file
2. Create a custom css file named corporate.css in your themes/custom/corporateclean/ directory and then add the following code in it.
Hope this helps!
Regards,
Shruti Sheth
Comment #2
aRawd CreditAttribution: aRawd commentedCouldn't he just add that to the normal style.css?
I'm going on the basis that you would use that separate stylesheet for any changes made by the user.
Comment #3
gtsopour CreditAttribution: gtsopour commentedHello muerteno1,
The addition of a negative margin to #header, as shruti.sheth said, is in fact a solution.
But, I made a detailed review and it seems to exist a line break (or something else) just above the
So, you should edit your page.tpl.php file and remove any line break just above your
Thanks
George
Comment #4
gtsopour CreditAttribution: gtsopour commentedSorry, i forgot the attachments...
Thanks
George
Comment #5
gtsopour CreditAttribution: gtsopour commentedComment #7
lagadoo CreditAttribution: lagadoo commentedHi,
How do you add an image in the first place to the header i cant find where to input the image code?
Many Thanks for any help