All Questions
Tagged with html bootstrap-5
3,026
questions
0
votes
0
answers
6
views
How to combine skip content behavior with displaying accordion collapsed?
I've an accordion by bootstrap in content and an anchor tag in a summary. I want skip content when I click on item of summary, it was the current behavior. But I would also like to set bootstrap ...
0
votes
0
answers
14
views
Tom-select ordering within optgroup
I am having an issue with tom-select, where the order of elements within an optgroup is not being preserved. Based on this docs, I thought that all I had to do was:
new TomSelect("#sampleSelect&...
0
votes
1
answer
18
views
Get the navbar start/end margins left AND right to be close to the edge using bootstrap5
If I remove ms-2 it shifts right, put back in, and it shifts left.
I have tried various options but I can't seem to get my head around how this works, and the order that needs to be in. I find ...
-1
votes
1
answer
37
views
Bootstrap overflow container's list items
How do I make this dropdown list's each item to be shown in full length single line, instead wrapping the text?
.autocomplete-items {
/* position: absolute; */
/* border: 1px solid #ccc; */...
1
vote
1
answer
44
views
Angular - Why isn't my dropdown list working
HTML code:
<li class="nav-item dropdown pe-3">
<a class="nav-link nav-profile d-flex align-items-center pe-0" (click)="toggleProfileMenu()">
<img src=...
0
votes
1
answer
36
views
How to resolved the angular 13 version build issue?
Facing an issue building with Angular 13:
I am trying to build using ng build --configuration=test but I'm getting the errors listed above. If I comment the bootstrap.min.css in the Angular json file ...
1
vote
1
answer
42
views
Add a close button to tabs
I am learning bootstrap, and I want to have an x next to each tab name to close it:
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" ...
0
votes
1
answer
39
views
If I add position fixed to header, modal becomes unreachable
I'm working on a personal news website and the name is News pews this is my third project and I didn't have this problem in my other project.
The project has a search btn which opens a modal in the ...
1
vote
1
answer
54
views
Apply Bootstrap custom validation only to invalid fields
I am learning about Bootstrap, and I was wondering if there is a simple way of changing the style of a field only when it is invalid?
<link href="https://cdn.jsdelivr.net/npm/[email protected]/...
-1
votes
0
answers
39
views
how to collapse bootstrap navbar if the options start to overflow
I have a bootstrap 5 navbar where user's can add options to it.
The issue I am facing is that if they add ten or so option its starts to overflow.
I want it automatically to collaspe when it starts to ...
-1
votes
0
answers
22
views
Unwanted blurred edges of grayscale elements on the page [closed]
I have a problem in my rails application and I don't know what it is. All grayscale elements display randomly with blurred edges - this applies to all browsers.I use bootstrap5, using some facilities ...
-1
votes
0
answers
27
views
Can't get bootstrap dropdown in my header to work after changing pages
Using Ruby on Rails and Boostrap 5.3 to create a site to host my projects and info. I have a header file containing all of my navbar code. After visiting any link from one of the dropdown options, the ...
0
votes
0
answers
44
views
Bootstrap dropdown menu on collapse formatting
I'm trying to format the dropdown menu of my navbar when it's collapsed. Right now, it's a white background that's underneath other containers on the page. The links/:hover/overall functionality all ...
0
votes
0
answers
14
views
Struggling to recreate a particular categories grid layout with bootstrap 5.3 [duplicate]
Hoping someone can put me on the right path. I’m trying to re-create this layout using bootstrap 5.3 but can’t seem to get the layout right, I also need it to be responsive so that on small devices ...
-2
votes
0
answers
57
views
Styling Bootstrap 5 datalists [closed]
I'm aware that bootstrap datalists don't have custom css support. And yes, I am aware that trying to comes with a few problems. That been said, I did it :), because I had a huge amount of options that ...