Hey gang, I'm trying to adjust the z-index of the campaign's sidebar. You can see an example of my issue, by mousing over the scrap of parchment on the front page (desktop screen only).
TIA,
-bort
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Hey Bort,
Wow, I don't know what to tell you about that! I tried setting the z-index of the sidebar div to 9999 and the z-index of the parchment blockquote to 1, but that didn't work. Though the following thought just occured to me, would you be able to either change the tag containing the parchment to a div and then set it's z-index attribute? That or wrap it in a div? Don't remember if z-index works on blockquotes.
Johnprime
Where the west is really wild!
The Valley of Life
Well the problem actually isn't on the blockquote side, its on the sidebar side.
It can't be controlled by the z-index tag, and I can't figure out why. There are several things that can "grow", that still end up under the sidebar, regardless of the z-index I apply to both the grown object and the sidebar.
-bort
Campaign of the Year - 2018
Wonder if OP has some code that is disabling the z-index for the sidebar?
Johnprime
Where the west is really wild!
The Valley of Life
I'm sure they don't, my understanding of how to make z-index work correctly is essentially non-existant.
Besides, I've seen it done on other campaigns, I just can't remember which or I would go look at the code again!
-bort
Campaign of the Year - 2018
Sorry about that Bort,
I'll keep an eye out and if I see anything I'll be sure to let you know.
Johnprime
Where the west is really wild!
The Valley of Life
Thanks man! I've been opening campaigns from the 'all campaigns' page, I may eventually get lucky ;-)
-bort
Campaign of the Year - 2018
I am assuming that you want this
followed by this when you hover?
If that is the case I simply changed the z index of .sidebar-party-members .game-master:hover to 5
They are among us!
XCom: Defiance - Campaign of the Month November 2016
No sir, that's deliberate (trying hard to make the site not look blocky and square).
Rather here so that expansion boxes I'm working on are above the sidebar.
Campaign of the Year - 2018
The issue is you are trying to change the z-index of the blockquote. But that only changes it's position in respect to other elements on the main-content-container, but the main content containers z index is not changed with respect the the sidebar. So what you really want to do is modify the z-index of the main-content-container.
They are among us!
XCom: Defiance - Campaign of the Month November 2016
Aiieee! Glad you thought of that cgregory! That didn't even occur to me!
Johnprime
Where the west is really wild!
The Valley of Life
Oh you beautiful bastard! I'd been in and out of the bq and sidebar, and not gotten anywhere. Like John said, I'd never have thought to mess with z-index on main-content.
THANK YOU!
-bort
Campaign of the Year - 2018
Once again, cgregory earns the respect and appreciation of the community!
"I met a traveller from an antique land....."
CotM May 2016: Mysteria: set in Wolfgang Baur’s MIDGARD.
Previous CotM Aug 2012: Shimring: High Level Multiplanar Campaign
Inner Council Member