Advertisement:

Author Topic: MinDI  (Read 55185 times)

Offline lifeguard81

  • Jr. Member
  • **
  • Posts: 112
Re: MinDI
« Reply #20 on: February 12, 2014, 02:10:08 PM »
Is it possible to make the menu so, that its always on top of the page, even if you scroll down?
www.doenwenu.nl
Excuse me for my english. i am from holland :)

Offline Diego Andrés

  • Customizer
  • SMF Hero
  • *
  • Posts: 3,259
  • Gender: Male
    • DiegoSetroc on GitHub
    • @bihgetter on Twitter
    • SMF Tricks - Free & Premium Themes
Re: MinDI
« Reply #21 on: February 14, 2014, 08:57:01 PM »
Is it possible to make the menu so, that its always on top of the page, even if you scroll down?

Index.template.php
Code: [Select]
// Show the menu here, according to the menu sub template.
template_menu();

Replace with:
Code: [Select]
// Show the menu here, according to the menu sub template.
template_menu();

echo '
<br class="clear" /><br class="clear" /><br class="clear" /><br class="clear" />';

Index.css
Code: [Select]
.main_bar
{
height: 60px;
background: #fff;
padding: 0;
border-bottom: 1px solid #d6d6d6;
box-shadow: 0 4px 15px rgba(0,0,0,0.1)
}

Replace  with:
Code: [Select]
.main_bar
{
height: 60px;
background: #fff;
border-bottom: 1px solid #d6d6d6;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
margin: 0;
padding: 0;
position: fixed;
width: 100%;
z-index: 1000;
}

SMF Tricks - Free & Premium Responsive Themes for SMF.

Offline lifeguard81

  • Jr. Member
  • **
  • Posts: 112
Re: MinDI
« Reply #22 on: March 15, 2014, 08:49:56 AM »
Is it possible to make the menu so, that its always on top of the page, even if you scroll down?

Index.template.php
Code: [Select]
// Show the menu here, according to the menu sub template.
template_menu();

Replace with:
Code: [Select]
// Show the menu here, according to the menu sub template.
template_menu();

echo '
<br class="clear" /><br class="clear" /><br class="clear" /><br class="clear" />';

Index.css
Code: [Select]
.main_bar
{
height: 60px;
background: #fff;
padding: 0;
border-bottom: 1px solid #d6d6d6;
box-shadow: 0 4px 15px rgba(0,0,0,0.1)
}

Replace  with:
Code: [Select]
.main_bar
{
height: 60px;
background: #fff;
border-bottom: 1px solid #d6d6d6;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
margin: 0;
padding: 0;
position: fixed;
width: 100%;
z-index: 1000;
}
Sorry for my late comment, but i am gonna try this :)
Yes, it works. Great thanks!
www.doenwenu.nl
Excuse me for my english. i am from holland :)

Offline ForumMix

  • Semi-Newbie
  • *
  • Posts: 33
Re: MinDI
« Reply #23 on: November 12, 2014, 01:02:26 PM »
Neat theme.

How does one do if one does not want to have big letters on the thread title?

Offline Diego Andrés

  • Customizer
  • SMF Hero
  • *
  • Posts: 3,259
  • Gender: Male
    • DiegoSetroc on GitHub
    • @bihgetter on Twitter
    • SMF Tricks - Free & Premium Themes
Re: MinDI
« Reply #24 on: January 19, 2016, 12:36:47 AM »
Theme Updated!
- MinDI is now Responsive

SMF Tricks - Free & Premium Responsive Themes for SMF.

Offline vanbreuk

  • Newbie
  • *
  • Posts: 3
Re: MinDI
« Reply #25 on: June 13, 2016, 05:16:54 PM »
Hello Diego,

I registered so I could get your input because for some reason we're having a glitch hard to hunt down, and we'd like to fix it before going live with the forum pretty soon. Using SMF 2.0.11 and MinDI Theme with a few simple customizations here - wavesplatform.org

The problem is that, after a page refresh (for instance after the first index load) the navigation bar menus will drop down on mouse hover, but vanish as soon as the mouse goes to one of the options. On click they work perfectly fine, but it is annoying. This behavior seemed to start in the beginning as far as I can remember - even before we added a few mods that would modify layout.

We tried to debug without success so far, but I don't even need it to be debugged - just having a good way to completely disable menu dropdown on hover would be perfectly fine, and actually preferable.

Thanks in advance for your help.

Offline vanbreuk

  • Newbie
  • *
  • Posts: 3
Re: MinDI
« Reply #26 on: June 14, 2016, 07:09:33 PM »
Sorry, correct URL to see the issue:

wavestalk.org

The problem only happens after page load, the first time you hover on a menu options with further levels.

Offline Diego Andrés

  • Customizer
  • SMF Hero
  • *
  • Posts: 3,259
  • Gender: Male
    • DiegoSetroc on GitHub
    • @bihgetter on Twitter
    • SMF Tricks - Free & Premium Themes
Re: MinDI
« Reply #27 on: June 24, 2016, 12:33:47 AM »
Sorry, correct URL to see the issue:

wavestalk.org

The problem only happens after page load, the first time you hover on a menu options with further levels.


It's because hover effect it's removed if you're browsing on a mobile device or tablet. If you're getting this on desktop it will always happen because you would need to reload page to let javascript remove the hover effect

SMF Tricks - Free & Premium Responsive Themes for SMF.