- This topic is empty.
February 22, 2012 at 4:35 pm #36791
I’ve just started developing a site in Twitter Bootstrap and got a couple of quick questions.
Can anyone tell me where I am going wrong? The instructions for implementing the Carousel are here.
Also, I’ve added my company logo to the navbar, but ideally I want this to sit above the navbar. I tried simply adding a new div above which contained the logo but I could get it to show. Can anyone advise on how I would do this?
Any help would be much appreciated.
RossFebruary 22, 2012 at 4:47 pm #97246
The URL of your images are wrong.
Not sure if that will fix your problem entirely, but start there.February 22, 2012 at 5:06 pm #97248
Thanks Senff, I’ve taken out the ‘/img’ before the url’s but unfortunately that didn’t work. Any other ideas?February 22, 2012 at 5:43 pm #97252TheDocMember
None of your JS files are loading – are they are your server?February 23, 2012 at 8:44 am #97289
I have a ‘js’ folder in the website directory that contains the ‘bootstrap-carousel.js’ file. However it doesn’t seem to be linking to it. I’m not sure what I am doing wrong. It’s probably something quite straight forward, but I can’t figure it out.
RossFebruary 23, 2012 at 10:46 am #97292Paulie_DMember
Well obviously you need to call the JS then.
Try adding this inside your head tag.February 23, 2012 at 11:11 am #97293
You’re probably calling the JS files in the wrong folder, or you have them misplaced.
At the end of your code, you’re calling all the JS files like this:
However, those files can not be found:
etc. etc, they all give 404 errors.
I checked in the root folder, but they’re also not there:
So basically, just make sure you have placed all the JS files in the right location, and then call them using the proper path.February 23, 2012 at 12:26 pm #97301
Hmm… the files are definitely there but as I’m working on the site in Coda on my machine. I think it’s to do with the way that I am linking to them. The links like this below just don’t work.
I’m sure it’s something quite straight forward. If anyone has a chance to look it may help by looking at the download files for Twitter Bootstrap, as I haven’t edited them much at all yet.
Hope someone can help me find a solution.
RossFebruary 23, 2012 at 1:29 pm #97305
When you say the files are definitely there…they are definitely WHERE? Cause if you follow any of the links I posted in my previous post, you’ll see that they’re definitely not there.
(Unless they are, but made hidden/unaccessible/secret.)February 23, 2012 at 7:01 pm #97347
Figured it out. I had installed the bootstrap-carousel.js plug-in thinking that’s all I needed, but I hadn’t installed the other files you mentioned:
I installed all of the files and now it works. Sorry that it was such as basic mistake, and thanks for helping me out.
- The forum ‘CSS’ is closed to new topics and replies.