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.
I have a problem with black vertical bars in my masthead. Have anyone else had this problem, and how did you solve it?
Attached a screenshot...
Comment | File | Size | Author |
---|---|---|---|
Billede 6.png | 29.33 KB | Jacobtv |
Comments
Comment #1
Jacobtv CreditAttribution: Jacobtv commentedEhh... Bump... No one?
Comment #2
archi CreditAttribution: archi commentedHi,
Can you tell me which theme is this?
And can you give your site's url if you can so that i can figure out the problem.
Comment #3
blukas CreditAttribution: blukas commentedPage.tpl.php
on line 45 you have to remove the slash before <?php print drupal_get_path('theme', 'simply_modern')
this is the correct line:
background:#020202 url('<?php print drupal_get_path('theme', 'simply_modern') ?>/images/top_gradient_dark.jpg') repeat-x;
Comment #5
ju.ri CreditAttribution: ju.ri commentedRemoving the slash doesn't solve it completely. When I call up the root path or one level below root (/admin/user), it seems to work. one level below that (/node/add/page) it displays the black bars and there's a "page not found" for the top_gradient_dark in the logs. strange. this is only with fixed width setting.
Comment #6
ju.ri CreditAttribution: ju.ri commentedopening this again.. it's only a minor thing but still a bug :)
Comment #7
jrglasgow CreditAttribution: jrglasgow commentedI changed that line to look like this:
This seems to fix it on my dev site. I have committed the change
Comment #8
jrglasgow CreditAttribution: jrglasgow commentedComment #9
ju.ri CreditAttribution: ju.ri commentedthat did it! thanks a lot!
Comment #11
tomski CreditAttribution: tomski commentedI am sorry to re-open this again, but I have got again the same problem. It appears when I switch the site to a second (not default) language. Why, I have no idea.
You can check it here http://gedi.gerpisa.org (the default language is French).
Thanks for any support with this,
Tommaso
Comment #12
tomski CreditAttribution: tomski commentedComment #13
Corey Smith CreditAttribution: Corey Smith commentedseems like you have a css issue.