News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

See-Through Menus?

Started by Skhilled, May 27, 2022, 10:40:11 AM

Previous topic - Next topic

Skhilled

I'm not sure what the heck I did but my menus seem to show "behind" menus lower than they are such as the admin menu dropdown over the admin submenus.

You cannot view this attachment.

FrizzleFried

Um,  why do I see an attachment but get a 404 error when I click on it or the thumbnail?


Aleksi "Lex" Kilpinen

That's a good question, I got that as well at first - but works now just a moment later. Could be something a bit off in our setup here.
@SleePy - Pinging you just so you know this happened.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

FrizzleFried

Yup... I get the image now as well.   ???

At first I figured he'd changed the attachment or something but nope,  the one working now has the same attachment number as when I was getting the 404 error...


Doug Heffernan

Quote from: Skhilled on May 27, 2022, 10:40:11 AMI'm not sure what the heck I did but my menus seem to show "behind" menus lower than they are such as the admin menu dropdown over the admin submenus.

Most likely you edited css. You can ask at that theme 's support topic about this as its designer and/or co users can help you better with this seeing the factthat they are familiar with this particular custom theme.

Kindred

it's an improper z-index on the linktree (aka breadcrumbs)
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Skhilled

Quote from: Doug Heffernan on May 27, 2022, 11:57:12 AM
Quote from: Skhilled on May 27, 2022, 10:40:11 AMI'm not sure what the heck I did but my menus seem to show "behind" menus lower than they are such as the admin menu dropdown over the admin submenus.

Most likely you edited css. You can ask at that theme 's support topic about this as its designer and/or co users can help you better with this seeing the factthat they are familiar with this particular custom theme.

I am the the theme's support. LOL I know I did something wrong editing the css and it probably has something to do with the z-index but I can't figure it out. I've even compared it to the default to make sure the code was similar but got no joy.

I'm trying to fix it before I have to start over from scratch to make sure it's right. I'm just not sure what is EXACTLY wrong.

Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Antechinus

Quote from: Skhilled on May 27, 2022, 01:01:08 PMI am the the theme's support. LOL I know I did something wrong editing the css and it probably has something to do with the z-index but I can't figure it out. I've even compared it to the default to make sure the code was similar but got no joy.
The bold part is your problem. Ignore the default CSS, a lot of it is stupid (really).

Ok, z-index is tricky at times, and does not always work the way most people think it works. You cannot just keep adding a bigger and bigger z-index figure to an element and expect it to always get "higher" relative to another element that also has a z-index. When you see things like "z-index: 99;" or "z-index: 999;" this usually means someone is desperately trying to dig themselves out of a hole that they don't understand how they got into.

So, only (this means ONLY) use z-index when you absolutely have to. Do not assume it is needed until you have tried things without it. Only use it in single digit values (because if you can't get it working that way, it means the problem is something else 99% of the time).

There is no need for ANY z-index on ANYTHING except drop menus OR fixed overlays. If you see it anywhere else, get rid of it as a starting point. Standard top level button strips do not, ever, need a z-index.

(Related issue: z-index only works on elements that have position set to fixed, absolute, sticky, or relative. It will not work on elements that have the default position: static; and, funnily enough, I know of at least one instance of that in the default CSS. Which does not actually do any harm, but certainly does not good.)

Skhilled

Sorry, had a hard night at work last night and forgot the URL. LOL

https://docskillz.com/skins

I just checked and there are no z-indexes on any of the .dropmenus.

Antechinus

Umm, since guests do not have access to any drop menus at all...

Skhilled

Been getting too many hacking attempts. Just register.

Skhilled

And I forgot to mention that you can only see the problem if you're an admin because it only happens on that menu. Register and I'll make you an admin.

Skhilled

Ok, I've redone the theme from scratch cause I figured it would be faster to get it done than waiting for a fix. LMAO I think it's ready for release. 8)

https://docskillz.com/skins

FrizzleFried

Looks nice!  I think I will check it out when you do release it.

Skhilled

Thanks! More to come at The Crip Zone. :)

Steve

Wow! I like that! There is already a theme called 'Ambassador' on the SMF theme site, is this being released for there or for your own site?
DO NOT pm me for support!

Shades.

Quote from: Skhilled on May 30, 2022, 10:07:40 AMOk, I've redone the theme from scratch cause I figured it would be faster to get it done than waiting for a fix. LMAO I think it's ready for release. 8)

https://docskillz.com/skins
Nice! I like the colors black and orange! 8)
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

TwitchisMental

Quote from: Skhilled on May 30, 2022, 10:07:40 AMOk, I've redone the theme from scratch cause I figured it would be faster to get it done than waiting for a fix. LMAO I think it's ready for release. 8)

https://docskillz.com/skins
Nice to see Crips themes being kept alive.

Skhilled

Thanks everyone! :) I stumbled on the hovers by accident. I like to call them a "happy accident"...something I started long ago when I think I screwed up but it's a blessing in disguise! LMAO There's some in the admin as well. ;)

Any themes that I post are actual updated Crip Zone themes from the CZ site. I host the site for free on my hosting because Jeff was a friend:

https://buildzhosting.com

They will always be freely available at Crip Zone because that's what Jeff wanted. The link I posted is on my domain but maybe I should do them on a test site on that domain instead. LOL

Advertisement: