Closed (fixed)
Project:
Omega
Version:
7.x-2.1
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
25 May 2011 at 11:11 UTC
Updated:
12 Jun 2013 at 16:59 UTC
Whenever I apply css to something that will appear in a block, I find that the contextual link function (edit block tool) shows permanently instead of just on mouseover. Moreover, the cogwheel icon also shows in the admin overlay.
I had wondered whether there was some z-index thing going on, but that doesn't explain the mouseover behaviour not working .
The screenshots probably do a better job of explaining than my words.
| Comment | File | Size | Author |
|---|---|---|---|
| Screenshot_2.jpg | 96.04 KB | mrpauldriver | |
| Screenshot_1.jpg | 147.07 KB | mrpauldriver |
Comments
Comment #1
mrpauldriver commentedFurther.
The css used for this block was as follows...
-------------------------------------------------------
#block-system-main-menu {
width: 220px;
padding-bottom: 10px;
position: relative;
left: -22px;
}
#block-system-main-menu ul {
padding-left: 0px;
}
#block-system-main-menu li {
font-size: 16px;
font-weight: bold;
list-style: none;
margin-left: 0px;
}
#block-system-main-menu a {
display: block;
padding-left: 23px;
}
#block-system-main-menu a:link, #block-system-main-menu a:visited {
color: #EB1B15;
text-decoration: none;
}
Comment #2
mrpauldriver commentedbump
Does anybody else have this problem?
Comment #3
mrpauldriver commentedbump
Does anybody else have this problem?
Comment #4
mengi commentededit:
*nevermind didn't read the OP well enough. Having the same problem though.
Comment #5
fubhy commentedThis is caused by you adding "a" styling to the #block directly which also styles the contextual links "a" => breaks it. Be more specific with your css and it works.
Comment #6
mrpauldriver commenteddoh!
Thank you
Comment #7
sjhuskey commentedThanks, fubhy! That saved a bunch of my time!