Solved

Help with testimonials (bootstrap)

Posted on 2015-01-12
6
259 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
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

705 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now