Homepage › Forums › HTML templates › Clean › Combining elements from different home layouts
-
AuthorPosts
-
October 15, 2014 at 1:38 pm #1249
I have used one home layout and want to add bits from other home layouts – for example I want to take the testimonial slide from home layout 3 and add it to my index page.
So I take the code from within layout 3 and insert the code (below) where I want it to appear on my page and it doesnt work. This is the code I am taking – do I need additional code? Thanks!
<div id=”testimonials”>
<div class=”container”>
<div class=”row”>
<div class=”col-sm-12″>
<div class=”testimonials-carousel owl-carousel owl-theme”>
<div class=”item”>Your site carries tons of sport team items, the sale prices are great, the discounts and free shipping make it my go-to for gifts!”
<p>Samantha July, Clivelend OH</p>
</div>
<div class=”item”>I was pleasantly surprised with the amount of styles this site has now. Over the last two years it has gotten considerably better, but this year far exceeded my expectations.”
<p>John Doe, Texas TX</p>
</div>
<div class=”item”>Your customer service is out of this world! Beyond happy with you guys. I plan on recommending you to everyone I know!”
<p>Sam Smith, New York NY</p>
</div>
</div>
</div>
</div>
</div>
</div><!– end testimonials –>October 15, 2014 at 1:42 pm #1250Hey there,
Yes you can take testimonial slider from a page to another, but don’t forget de js files to load and the trigger.
If you cannot handle, leave here a private message with your FTP details to help you with.
Best Regards.
LaurentiuOctober 15, 2014 at 6:40 pm #1252Thank – what do I need to do with the js file?
If you could let me know what it is, then I can move the elements from one layout to the other, as there are other things I will want to be moving around – and I cant expect you to do it each time!! Thanks
October 15, 2014 at 7:45 pm #1255So, each element like slider or carousel has js files, you need on each html page that you want to use an element you need to have the html markup like you post earlier and in the bottom of html page before close body tag , there to call js files from js folder.
Hope that make sens..
You also find in documentation how to use each element i think.Looking forward.
Best Regards.
LaurentiuOctober 15, 2014 at 10:34 pm #1259This reply has been marked as private.October 15, 2014 at 10:38 pm #1261This reply has been marked as private.October 15, 2014 at 10:43 pm #1262Hey Lauren,
I will help you tommorow at the first hour, because now i reply to you from home (23:42 PM) 😀
Thank you for understanding.
Best Regards.
LaurentiuOctober 16, 2014 at 12:49 am #1263This reply has been marked as private.October 16, 2014 at 1:15 pm #1267Hey there,
I just made some fixes, at infocard to show under the header, is because you have a bigger header than normal 😀
And the slider was a little bit under the header, i fixed that too.Now you want to make testimonials carousel you said, you needed the trigger: http://screencast.com/t/zWX4m8o9
And i see on responsive menu are a little bit down, i will fix that too right now.
Hope this helps.
Best Regards.
LaurentiuOctober 16, 2014 at 1:37 pm #1270Done.
October 16, 2014 at 5:39 pm #1290Thank you so much! That is awesome. I am going to now study your new code against the code I had and see if I can work it out! Lauren
October 16, 2014 at 8:49 pm #1294Ok – so now I am trying to find out how to change the colour of the dots (red/pink at the moment) in the testimonial slider..
October 16, 2014 at 9:11 pm #1295Hey there,
Right click on the bullets, inspect element (on chrome) and there you have css style.
If you cannot handle i will help you tommorrow. Oke? 🙂
Best Regards.
LaurentiuOctober 16, 2014 at 10:12 pm #1298Awesome – got it.
Thank you lovely.
Sleep well!
October 17, 2014 at 11:32 am #1304You welcome! 😀
-
AuthorPosts
You must be logged in to reply to this topic.