iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more
Bootstrap’s accordion behavior comes from its Collapse plugin; the plus and minus signs are a visual customization, not the default Bootstrap 5.3 indicator. The example below uses Bootstrap 5.3 markup and CSS to show a plus while a panel is closed and a minus while it is open.
“V17” is not identified in the available Bootstrap documentation as a release or implementation, so this guide does not treat it as one.
How the plus/minus accordion works
Bootstrap connects each trigger button to a collapsible panel using the button’s data-bs-target selector and the panel’s matching id. Clicking the button lets the Collapse JavaScript plugin change the panel state. The button’s aria-expanded value and collapsed class reflect that state; CSS can use the class to switch the visible symbol.
Quick wins for a faster PC:
Clear out junk files and repair common Windows errorsFree Scan →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Repair Windows errors before they cause bigger problemsFix Now →Bootstrap 5.3 uses an SVG chevron for its standard accordion indicator. Replacing it with plus and minus signs is a deliberate styling change. The official documentation describes custom CSS and Sass overrides for changing the indicator: Bootstrap 5.3 Accordion.
#1 Best Overall
- Make Repairs Easier: Stop worrying about broken folding door hardware! CRANACH bi-folding door repair parts have correctly classified the hardware problems of the entire bi-folding door, providing a variety of parts in standard sizes, safe materials, and durability. Detailed installation instructions are included with each package, which is easy to operate and replace parts. Bi-fold barn door hardware set saves money and gives you a sense of accomplishment in repairing doors or furniture.
- The Adequate Parts, Standard Sizes: A bifold closet door hardware kit include a 3/8" metal top pivot, 3/8" bottom pivot, 3/8" plastic top pivot, 7/8" top guide wheel, steel top, and bottom bracket, and 3 screws. Closet door hardware kit can repair bifold doors weighing up to 50 pounds and ranging from 1" to 1-3/8" thickness. The hardware repair set allows you to quickly fix a door without having to replace it, saving you both money and time while ensuring a properly working door.
- Easy to Install, Worked Well: When replacing the bifold closet door hardware kit, you hardly need to make any extra drilling, measuring, and other adjustments when you are changing the fittings. CRANACH pivots and guide wheels have their own springs, when they are fixed on the door hole, by pressing the built-in springs, the distance between the door and the track will be adjusted so that it can quickly enter the bracket and track, and the folding door can slide easily.
- Solid & Durable, Widely Used: Double folding door fittings are mainly made of steel and plastic. The high hardness of steel and the good toughness and wear resistance of nylon PA6 plastic. They will not become brittle and break over time, making them long-lasting. Suitable for repairing bi-fold doors, sliding doors, bi-fold closet doors, bedroom closet doors, garage doors, laundry room doors, pantry doors, etc. Door hardware can quickly make your doors look like new.
- Caring Service: Each package will provide a manual with a list of accessories, installation steps, and diagrams. CRANACH provides 24-hour professional customer service. If you have any problems during the purchase and use, please feel free to contact us. CRANACH customer service team will follow up your case until the issue is properly resolved. Use it now, and feel the convenience and fun of maintenance in your daily life.
Bootstrap 5.3 plus/minus example
This example uses Bootstrap 5.3’s data-bs-* attributes. It starts with the first panel open and the second closed. Include Bootstrap 5.3’s CSS and JavaScript bundle in your page; the bundle supplies the Collapse behavior.
<div class="accordion" id="helpAccordion">
<div class="accordion-item">
<h2 class="accordion-header" id="headingOne">
<button class="accordion-button" type="button"
data-bs-toggle="collapse" data-bs-target="#panelOne"
aria-expanded="true" aria-controls="panelOne">
First question
<span class="pm-icon" aria-hidden="true"></span>
</button>
</h2>
<div id="panelOne" class="accordion-collapse collapse show"
aria-labelledby="headingOne">
<div class="accordion-body">First answer.</div>
</div>
</div>
<div class="accordion-item">
<h2 class="accordion-header" id="headingTwo">
<button class="accordion-button collapsed" type="button"
data-bs-toggle="collapse" data-bs-target="#panelTwo"
aria-expanded="false" aria-controls="panelTwo">
Second question
<span class="pm-icon" aria-hidden="true"></span>
</button>
</h2>
<div id="panelTwo" class="accordion-collapse collapse"
aria-labelledby="headingTwo">
<div class="accordion-body">Second answer.</div>
</div>
</div>
</div>
.accordion-button::after {
display: none;
}
.pm-icon {
margin-left: auto;
position: relative;
width: 1rem;
height: 1rem;
flex: 0 0 1rem;
}
.pm-icon::before,
.pm-icon::after {
content: "";
position: absolute;
background: currentColor;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
.pm-icon::before {
width: 1rem;
height: 2px;
}
.pm-icon::after {
width: 2px;
height: 1rem;
}
.accordion-button:not(.collapsed) .pm-icon::after {
display: none;
}
The horizontal bar remains visible in both states; the vertical bar is hidden when the button is expanded. That creates a plus for a collapsed panel and a minus for an expanded one. The symbol is decorative, so it is hidden from assistive technology with aria-hidden="true"; the button’s text and expanded state communicate the control’s purpose.
Rank #2
- 【Package Include】top bracket *2, bottom bracket *2, top guide wheel *2, top plastic pivot *2, bottom pivot *2, spring metal pivot pin *2, screws. Suit for 7/8" to 1" wide door track
- 【Advantages & Features】Space saving, quick restoration of old doors, this bi-fold door hardware kit allow the door opening and closing operation is smooth and silent,
- 【Durable Material】Made of stainless steel, waterproof, rust-proof and moisture-proof. The pivot and guide wheels come with springs to prevent sliding jams, ensuring bifold door slide smoothly
- 【Easy Installation】No need to cut mortises, surface installation, with detailed installation instructions, repairing damaged folding doors is easy without the need for a professional
- 【Wide Application】This closet door hardware kit is suitable for light folding doors, closet folding doors, such as bathroom doors, closet doors, laundry room doors, pantry room doors, tool room doors, windows, etc.
Keep the initial state consistent
The first item is open at page load. Bootstrap’s documented open-state pattern uses show on the panel, removes collapsed from the trigger, and sets aria-expanded="true". The closed item uses collapse without show, has the collapsed class, and sets aria-expanded="false". Keep all three indicators aligned; otherwise, the icon, visible panel, and accessibility state can disagree.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Choose whether panels close each other
Bootstrap 5.3 documents two behaviors. To make opening one panel close another, add data-bs-parent="#helpAccordion" to each .accordion-collapse element. To allow multiple panels to remain open, omit that attribute, as in the example above. See the framework’s accordion examples for its grouped and stay-open patterns.
Rank #3
- 【High-quality Repair Kit】Each kit includes top metal pivot, top plastic pivot, bottom pivot, plastic guide wheels, top and bottom brackets, and mounting screws. The high load-bearing design easily repairs bifold doors weighing up to 50 pounds and ranging in thickness from 1 inch to 1-3/8 inches, ensuring seamless installation of a wide variety of doors.(Please note: Track and hinges are not included.)
- 【Easy and Quick Installation】The bifold door repair kit comes with easy to understand picture installation instructions, every step is clearly visible, making installation and replacement of damaged parts easy and simple. You don't need to hire a professional to fix your door quickly, say goodbye to costly repairs and get your door back to optimal performance fast.
- 【Durable Materials】For long-term use, the hardware kit is made of high-quality stainless steel and nylon PA6 plastic, featuring strong toughness and wear resistance. The high-hardness steel can easily support the linkage of the door, preventing frequent sliding that could cause parts to break or the folding door to tilt. The built-in spring pivot and guide wheels enable the door to slide smoothly and noiselessly.
- 【Wide Application】Our kit has a wide range of applications and is perfect for quickly fixing old doors, allowing you to restore their functionality without having to replace them. It is suitable for bifold cabinet doors, wardrobe doors, sliding doors, garage doors, barn doors, organ doors, pantry doors and so on. With this kit, you can easily handle all types of old doors to meet your different needs.
- 【Why Choose Us】Please refer to the product information before purchase to ensure that the product meets your needs. To enhance your installation experience, we have provided a list of accessories, installation steps, and illustrations. If you have any questions during the installation process, feel free to contact us at any time, and we will provide comprehensive support.
Version and keyboard considerations
This code is specifically for Bootstrap 5.3. Bootstrap 5 uses data-bs-toggle and data-bs-target; do not assume those attributes work unchanged in earlier versions. Bootstrap 5.2 added local CSS variables for accordion customization while continuing to support Sass customization, as described in its accordion documentation.
If maintaining a Bootstrap 4 implementation, consult its version-specific Collapse documentation and verify keyboard interactions against your project’s accessibility requirements. Bootstrap 4.0 notes that its Collapse implementation does not cover every optional keyboard interaction in the ARIA accordion pattern.
Quick Recap
Best Value
- Ideal Use: Replaces worn or damaged latch strike plates on interior and exterior hinged doors to improve latch engagement and operation
- Dimensions & Compatibility: Measures 1-7/16 in. W x 2-1/4 in. H with mounting holes spaced 1-5/8 in. on center; fits many standard residential door latche
- Materials & Components: Durable stamped steel construction with satin nickel finish; includes two strike plates and installation fasteners
- Key Features: Adjustable tab design helps fine-tune latch engagement for improved door alignment and secure closure
- Fit Guidance: Compare strike plate size, mounting hole spacing, and latch opening dimensions with existing hardware before ordering
Rank #4
- Packaged Set Component - 2 pack bifold door hardware kit includes 2 x top metal pivots, 2 x top plastic pivots, 2 x bottom pivots, 2 x 7/8” plastic guide wheels, 2 x bottom pivot brackets, 2 x top pivot brackets, 6 x installation fasteners, and 1 x installation manual. The folding door hardware kit can repair doors weighing up to 50 lbs and with thicknesses ranging from 1" to 1-3/8", suitable for 7/8"-1" wide track. (Please note: Track and hinges are not included.)
- Easy repairs & Quickly Install - HELEMAN bifold closet door hardware repair Kit comes with all the necessary hardware and easy-to-follow mount instructions, making installation a breeze even for those without prior experience. This bifold closet door repair kit allows you to quickly repair your doors without replacing them, saving you money and time while ensuring that your doors work properly smoothly operation.
- High-Quality Materials & Smooth Operation - Bifold door hardware is made of stainless steel and nylon PA6 plastic materials sturdy, durable, waterproof, and moisture-proof, avoid frequent sliding to cause accessories to break, causing the folding door to tilt or even fall off ensuring the longevity of the door. The pivots and Guide Wheel of the kit are designed to provide a smooth and effortless operation, allowing the doors to glide with ease, avoiding sliding stuttering and sliding noise.
- Widely Used - HELEMAN Door hardware repair kit set is suitable for repairing bi-fold doors, folding doors, sliding doors, accordion doors, closet doors, barn doors, pocket doors, wardrobe doors, kitchen doors, bathroom doors, bedroom doors, laundry room doors, storage doors, lounge doors, cabinet doors, balcony doors, entrance doors, entry doors, partition doors, bookcase doors, wine cabinet doors, etc.
- Important Notes & Thoughtful Services - For all dimensional information please refer to the size picture and compare it to your needs before purchasing. We provide a detailed product manual that includes a list of accessories, and installation steps with textual descriptions and picture demonstrations. HELEMAN offers 24-hour professional customer service, and always focuses on the quality and details of the tools and will do our best to resolve any issues until you are satisfied.
Common implementation errors
- The icon never changes: Confirm the trigger’s class changes between
collapsedand expanded state, and that the icon element is inside the button. - The wrong panel toggles: Make the selector in
data-bs-targetmatch exactly one panel’sid. - The page starts in a contradictory state: Match the panel’s
showclass with the button’scollapsedclass andaria-expandedvalue. - The panel does not open: Check that Bootstrap’s JavaScript bundle is loaded and that the markup uses attributes appropriate to the Bootstrap version in use.
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.
The Tool Desk
Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →

