gentelella icon indicating copy to clipboard operation
gentelella copied to clipboard

Tabs not working

Open fandrefh opened this issue 6 years ago • 3 comments

How can I make Tabs works? Whats is the script that make it work? I'm refer this HTML in general_elements.html.

<ul class="nav nav-tabs bar_tabs" id="myTab" role="tablist">
                      <li class="nav-item">
                        <a class="nav-link active" id="home-tab" data-toggle="tab" href="#home" role="tab" aria-controls="home" aria-selected="true">Home</a>
                      </li>
                      <li class="nav-item">
                        <a class="nav-link" id="profile-tab" data-toggle="tab" href="#profile" role="tab" aria-controls="profile" aria-selected="false">Profile</a>
                      </li>
                      <li class="nav-item">
                        <a class="nav-link" id="contact-tab" data-toggle="tab" href="#contact" role="tab" aria-controls="contact" aria-selected="false">Contact</a>
                      </li>
                    </ul>
                    <div class="tab-content" id="myTabContent">
                      <div class="tab-pane fade show active" id="home" role="tabpanel" aria-labelledby="home-tab">
                        Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher
                            synth. Cosby sweater eu banh mi, qui irure terr.
                      </div>
                      <div class="tab-pane fade" id="profile" role="tabpanel" aria-labelledby="profile-tab">
                        Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo
                            booth letterpress, commodo enim craft beer mlkshk aliquip
                      </div>
                      <div class="tab-pane fade" id="contact" role="tabpanel" aria-labelledby="contact-tab">
                        xxFood truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo
                            booth letterpress, commodo enim craft beer mlkshk 
                      </div>
                    </div>

fandrefh avatar Apr 25 '20 01:04 fandrefh

Hey Can you please be more specific I think I can solve this issue, I'm just not getting what you are saying

shivanandmanik avatar Jun 28 '20 11:06 shivanandmanik

If you want a drop down menu then try using display set to none and then make it block on onclick event

shivanandmanik avatar Jun 28 '20 11:06 shivanandmanik

Hi 👋 — closing this as part of a triage of the long-tail issue queue.

Gentelella has gone through a complete modernisation since this issue was opened. The current release (v2.2.0, April 2026) is essentially a different template under the same name:

  • Bootstrap 5.3.8 + Vite 8 build system (was Bootstrap 4 + Gulp)
  • jQuery completely removed — every script is vanilla JS modules
  • DataTables 2.x with native Bootstrap 5 styling (was DataTables 1.x + jQuery)
  • Sidebar fully rewritten with collapsed-state persistence across pages
  • Unified card / panel design tokens (--gt-radius-card, --gt-shadow-card, …)
  • Fresh dependency tree across the board (ESLint 10, Uppy 5, jsdom 29, ECharts tree-shaken −32 %, …)
  • Full HTML validity sweep, security headers, normalised <head> across all pages

If you're still hitting this exact issue on the current version, please open a fresh issue with the page where it reproduces, your browser, and steps to reproduce — we'll take a fresh look.

If your original report was a framework-integration question (Django, Laravel, Angular, .NET, Vue, etc.), those are best asked in that framework's community — Gentelella is a static HTML/CSS/JS template, so wiring it into a backend is the same as any static asset bundle.

Thanks for the original report. 🙏

— Closed during the v2.2.0 housekeeping pass.

puikinsh avatar Apr 23 '26 13:04 puikinsh