Dec 06, 2019, 08:03 AM

News:

Backup those files BEFORE manually editing them


QUICK NEWS

{NEW} - A new tutorial for Github is ready for your veiwing in the articles section.

{OLD} -New boards have been introduced. Stop on in and check it out.

Video of the week


Internal Links

SMF Sites

Quick Info

Side tab trick

Started by lesmond, Apr 22, 2019, 08:41 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bigguy

In FF the tabs you have slide under the main menu.

lesmond

Quote from: SychO on Apr 22, 2019, 04:58 PMYou'd have to add global $context; before it

Damn I always miss that one, thanks SychO :rgton

The only person who got all his work done by Friday was Robinson Crusoe

lesmond

Quote from: Bigguy on Apr 22, 2019, 06:04 PMIn FF the tabs you have slide under the main menu.
Sorry I'm not sure what you mean, even if I look with FF :dontknow

The only person who got all his work done by Friday was Robinson Crusoe

Bigguy

On the demo I saw the tabs that side out would be underneath all the other graphics. Main menu mostly. Adding a z-index took care of this for @lurkalot


https://www.smfhelper.com/index.php?topic=293.msg2697#msg2697

lesmond


The only person who got all his work done by Friday was Robinson Crusoe

lurkalot

Quote from: lesmond on Apr 22, 2019, 05:46 PMNot sure why a z index is needed, I don't see any difference tbh

the only thing I would suggest is reduce the width, maybe too 110px

width: 110px; /* Set a specific width */

Les because your demo has that extra header, that pushes the SMF tabs down below the side menu.  If you line up the home button with one of the side menu buttons you'll see that when you hover over it, the side button goes underneath the home button, instead of over the top of it.

lesmond

ahh now I see what you mean, its was because I use a big screen that's why I didn't see it before, sorry guys :emb

The only person who got all his work done by Friday was Robinson Crusoe

lesmond

Edited first post to reflect correct code placing, thanks to @SychO  for the correction.

The only person who got all his work done by Friday was Robinson Crusoe