Solved

Help with testimonials (bootstrap)

Posted on 2015-01-12
6
266 Views
Last Modified: 2015-01-19
Hi, On this page,

test.magickitchen.com/responsive/

I'm having trouble with the testimonials part way down the page(search What our Customers are Saying).
I need two things:

1. needs to be further left.
2. needs to be slowed way down.

I just can't figure these two things out. Thanks.
0
Comment
Question by:mel200
  • 4
  • 2
6 Comments
 
LVL 38

Accepted Solution

by:
Tom Beck earned 500 total points
ID: 40544878
#1. You have this in the markup for each testimonial item: <div class="col-md-6 col-md-offset-3 slide-custom">. Change the offset to col-md-offset-1.

#2. At the bottom of the markup find this and change the interval between slides to something higher like 5000.

<script>
        $('.carousel').carousel({
            interval: 2000 //TIME IN MILLI SECONDS
        })
    </script>
0
 

Author Comment

by:mel200
ID: 40545071
Thanks! You can see that I've changed it to 80000 milliseconds now, but it's not getting any longer, it seems stuck at about a max of 8 seconds.

<script>
        $('.carousel').carousel({
            interval: 80000 //TIME IN MILLI SECONDS
        })
    </script>
0
 
LVL 38

Expert Comment

by:Tom Beck
ID: 40545436
There is definitely something wrong with that slider speed for sure. You should be able to set the interval to 80 seconds if you desire (although I don't know you would want to). I'm thinking that the carousel script at the bottom of the page is not doing anything at all. Try commenting out the whole script and I'll bet it makes no difference to the testimonial slider.

Could be a conflict with code in another javascript file, could be a css issue, could be the fact that you are loading the main jQuery library and bootstrap.js twice each on the page (once in full code, once in minified code). You should fix that problem right away even if it does not solve the testimonial slider issue.

Also realize that, in theory anyway, that script at the bottom should initialize any carousel on the page with the "carousel" class. I see two on that page. I'd have to read the docs to see if you can initialize two carousels with one script. Maybe that's the problem. As I said, in my tests with your code, it appears that the carousels work equally well without that script.

I may have more time this evening to look again.
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

Author Comment

by:mel200
ID: 40545583
ok, thanks for your help. I bet that's it, the two carousels. I just set it to 80 seconds to prove to myself that it wasn't working. :)
0
 

Author Comment

by:mel200
ID: 40545597
This says, I can have more than one carousel as long as they are independently named. http://stackoverflow.com/questions/10521257/is-it-possible-to-have-multiple-twitter-bootstrap-carousels-on-one-page 

I'll work on that, but may need your help. Thanks,
0
 

Author Closing Comment

by:mel200
ID: 40558815
Thanks!
0

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will learn how to count occurrences of each item in an array.

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question