Hi, I have a horizontal nice menu positioned on the left side of the header of my page. There is a horizontal line appearing directly to the right of the menu and extending all the way across the page (image attached - the header background is red to illustrate the problem). Does anyone know why this is happening? Thanks!
| Comment | File | Size | Author |
|---|---|---|---|
| Picture 1_0.jpg | 35.42 KB | mcrane |
Comments
Comment #1
basicmagic.net commentedhi mcrane-
did you find a fix for your issue, above?
its related to the default css style sheet for nice menus-
and how its interpreted by some browsers.
i have eliminated the same line that you have, by messing around
with the style sheet for nice menus-
and carefully removing / changing some of the elements that
called for a top border.
let me know if you need any more help or info...
thanks-
vincent
Comment #2
mcrane commentedhi vincent,
thanks for your suggestion! i will try messing with the top borders...
megan
Comment #3
jakeg commentedThis is due to the theme bluemarine setting:
... use a different theme to bluemarine or delete this line from bluemarine.
It cannot be overriden in nice_menus.css as it gets included before bluemarine's style.css.
Comment #4
faqing commentedNice menu works fine with theme bluemarine, however for other themes, nice-menu show the menu title, to sovle this problem, add the following to nice_menus.css
/* Hide nice-menu-hide-title */
.nice-menu-hide-title {
display: none;
}
Comment #5
nels commentedAfter encountering this problem on my custom theme, I re-read the page source and nice_menus style...
it appears that the Nice_Menus stylesheet is including a style not used :
My solution (which has worked for me) is to remove the .title
Comment #6
nels commentedAfter re-reading the question and looking at the picture, jakeg is right (although my post above is pertinent to the nice-menu title situation).
You should be able to remove this extra line/rule by adding the following to nice-menus.css or your prefered theme's style.css:
which will remove the bottom border from ALL blocks.
Either of the following class ids should work for ONLY the Nice Menus block:
.block block-nice_menus
- or -
.block-nice_menus
This isn't really a bug, but a theme issue. The wrong class-id in the nice-menus.css is a bug.
Comment #7
durum commentedSolutions like
are not good, because it still shows the
<h2>element there which covers some space and ends up in ugly view. But if I am not using my custom theme, the<h2>element is not displayed. So there must be something else the Garland theme does with Nice Menus. Does anybody has an other idea?Comment #8
add1sun commentedYou should probably look at how Garland is displaying block titles. That difference would be in Garland and not have anything to do specifically with Nice menus.