News:

Wondering if this will always be free?  See why free is better.

Main Menu

Drop down menu

Started by ToxicDocter, August 25, 2020, 03:23:36 AM

Previous topic - Next topic

Antechinus

  #topnav li {
    position: static;
  }
  #topnav li ul {
    position: absolute;
    width: 40em;
    left: 0;
  }
  #topnav li li, #topnav li:hover li {
    float: none;
    width: 220px;
    display: inline-block;
  }

@rjen

Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

Arantor

I also like the dirty hack to remove index.php from the URL guaranteeing that first time users are served with no theme.

@rjen

Quote from: Arantor on August 25, 2020, 06:43:18 AM
I also like the dirty hack to remove index.php from the URL guaranteeing that first time users are served with no theme.

Ha, I was wondering why that happened... yuck.
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

Arantor

Yup, if you hack QueryString.php to change the definition of $scripturl to not have index.php in it, this happens. The mod which does it does this too, which is why I kept asking for it to be removed.

ToxicDocter

Quote from: @rjen on August 25, 2020, 07:29:13 AM
Quote from: Arantor on August 25, 2020, 06:43:18 AM
I also like the dirty hack to remove index.php from the URL guaranteeing that first time users are served with no theme.

Ha, I was wondering why that happened... yuck.
Thanks for letting me know about that and the copyright i was messing around in the template

ToxicDocter

Quote from: Antechinus on August 25, 2020, 06:04:50 AM
  #topnav li {
    position: static;
  }
  #topnav li ul {
    position: absolute;
    width: 40em;
    left: 0;
  }
  #topnav li li, #topnav li:hover li {
    float: none;
    width: 220px;
    display: inline-block;
  }

I combined the 2 and added a subnav is there stuff thats not needed in there?


}
.dropmenu {
   position: relative;
}
.dropmenu>li {
   position: static;
}
.dropmenu li ul {
width: 100%;
box-sizing: border-box;
left: 0;
border: 1px solid #999;
}
.dropmenu li li {
   width: auto;
   float: none;
   position: static;
   display: inline-block;
   border: 0;
}
#admin_menu ul ul {
   margin: 0;
}
  #subnav {
   position: fixed;
   float: left;
   overflow: hidden;
  }
  #topnav li {
   position: static;
}
  #topnav li ul {
    box-sizing: border-box;
    width: 100%;
    left: 0;
    border: 1px solid #999;
  }
  #topnav li li, #topnav li:hover li {
    float: none;
    width: auto;
    position: static;
    display: inline-block;
    border: 0;
  }
   margin: 0;
}

Kindred

not sure what this is
Quote
Copyright © 2020 Simple Machines. All Rights Reserved.

We don't own a copyright to anything on your site...  only to the software.   So adding that line is improper.
Quote
SMF 2.0.17 | SMF © 2019, Simple Machines

this is the only copyright that we expect to see.
Сл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."

ToxicDocter

ok thanks i changed it so hopefully its good now

Kindred

why do you have anything manually in there at all?

the automatic copyright notice was restored and is displayed... you don't need a manual one as well.
Сл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."

Advertisement: