Skip to main content

All Questions

1 vote
1 answer
230 views

How to highlight the current section

When navigating in the menu bar, some of the options are not selected. I have tried to do it with JQuery but my attempts are in vain. Briefly what I am looking for is that if the user clicks Home Page ...
Martin Vargas's user avatar
0 votes
1 answer
274 views

Django + Bootstrap collapsed table front-end issue?

I have been trying to figure out a front-end issue I've been on for a few days. I am using Django + Bootstrap collapsed accordion. What I am trying to do is completely hide a div, and all spacing ...
master_j02's user avatar
1 vote
1 answer
81 views

My repeated HTML Bootstrap collapse function only works for the first set

So I'm creating a page that is a directory where each issue has a set of articles and authors. I'm implementing a function that cuts a list of articles after its fourth element and collapses the ...
Marie Konopacki's user avatar
4 votes
2 answers
5k views

Django: Bootstrap CDN or loading Bootstrap files from local server?

I am trying to make my first website. I am using Django for it. I have a question related to the inclusion of css/js from Bootstrap. What is the difference between installing it and linking it using ...
Hamid Khan's user avatar
0 votes
1 answer
69 views

JQuery: div class-specific hover not working with bootstrap css

Context: Developing a "google-calendar-like" hardware booking tool at work using DJango. View reservations (their time slot and reserving user). Click empty space to create another reservation (...
Patrick Dallaire's user avatar
5 votes
1 answer
9k views

Different css margins for mobile & desktop without multiple {% block content %} in Django template

I need to change the margin-left that is applied to my main {% block content %} in my base.html template (that contains my navbar and other common elements) based on if the viewer is using mobile or ...
TimJ's user avatar
  • 399
1 vote
0 answers
228 views

difficulty with bootstrap container - django-bootstrap3

How can I fix this problem without removing the bootstrap template tags? Context: I have the following template schema: layout.html is my base template And I have another templates which inherit ...
bgarcial's user avatar
  • 3,153
0 votes
1 answer
51 views

Overflow after inserting image in column

I know this is a one setting issue but I'm quite new and don't know what the exact terminology to get the answer i'm looking for. I'm using Bootstrap-3.3.7 on Django 1.11 When I insert an image the ...
Mr Panda's user avatar
  • 101
2 votes
0 answers
244 views

Styling an Accordion Table

I made this accordion table using bootstrap accordion. It works well, but it looks terrible. The way I have it set up is a nested accordion. the code can be seen as follows: <!DOCTYPE html> &...
Big_VAA's user avatar
  • 774
0 votes
2 answers
2k views

How to override bootstrap cdn in Django?

I'm new to Django, and even more so to CSS. In the base.html of my site I included a bootstrap cdn as follows: <meta charset="UTF-8"> <link rel="shortcut icon" href="{% static '...
Shoval Sadde's user avatar
  • 1,182
0 votes
1 answer
17k views

Creating a header image with bootstrap

To learn more about web development I am trying to make a webapp. My first challenge is working out how to interface Django, Bootstrap and custom css. I am trying to create a nav bar consisting of ...
PaulBarr's user avatar
  • 929
0 votes
2 answers
49 views

Bootstrap layout issue when displaying images

I've been facing this issue for a day or so. Basically I have this code <div class="container"> <div class="row"> {% for post in posts %} <div class="col-md-6"> <div ...
user avatar
0 votes
1 answer
471 views

x-editable not working with bootstrap 3 in django

I'm trying to integrate x-editable library in my web application so that I can create editable elements on my page I have followed the steps in the official link of X-editable (Just the frontEnd ...
pietà's user avatar
  • 760
0 votes
0 answers
295 views

Scrollable table with fixed header loses feature when Chrome window is full screen

I have a Django website where the CSS shown below modifies my tables to have a fixed header and a scrollable body. @import 'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css'; ...
JC203's user avatar
  • 384
0 votes
3 answers
465 views

Bootstrap 3 CSS: Thin white gap above navbar only on mobile in production

I'm using Django + Bootstrap 3 + Heroku. In production, there's a thin white line above the navbar on the mobile viewport. It's there on all pages. On my local machine, it isn't there. I've done ...
msarlo's user avatar
  • 117

15 30 50 per page