If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

Featured templates

Magento. How to add more slides to slider

This tutorial is going to show you how to add more slides to slider in Magento.

Magento. How to add more slides to slider

In order to add more slides to slider, you should perform the following steps:

  1. Open admin section, go to CMS->Static Blocks:

    Magento_How_to_add_slide-1

  2. Find Slideshow block and open it:

    Magento_How_to_add_slide-2

  3. Open Content field. There you will find code for slider:

    Magento_How_to_add_slide-3

  4. In order to add new slide, you need to copy part of the code that is related to the slide. Copy the following code and locate it above or below of the existing code:

  5.            <div data-src="{{skin url='images/camera/slides/slide3.jpg'}}">
                   <div class="camera_caption fadeIn">
                     <a href="{{store url='headphones.html'}}">
                      <div class="container">
                       <div class="camera_caption_txt">
                         <p>The Best</p>
                          <h6>Musical Instruments</h6>
                           <span>Mes cuml dia sed inenias ingerto lot aliiqt dolore ipsumcommete.</span>
                           </div>
                           </div>
                           </a>
                         </div>
                       </div>
    	          

    Magento_How_to_add_slide-4

  6. In order to display new image in slider, start from the new line. Navigate to the Top menu and click on Insert Image button. Press Browse button and click on Upload button in order to download a new image from your computer:

    Magento_How_to_add_slide-5

  7. Select new image and press Insert File in the right corner of the form:

    Magento_How_to_add_slide-6

  8. After that steps you will get directory for new image:

    Magento_How_to_add_slide-7

  9. In order to display the new image in slider, replace “{{skin url=’images/camera/slides/slide3.jpg’}}”> with newly created directory “{{media url=”wysiwyg/new_image.jpg”}}” alt=”” />. Keep original coding structure:

    Magento_How_to_add_slide-8

    Magento_How_to_add_slide-9

  10. Remove all parts of code that we will not use: <img src.

  11. After all changes, code should look in such a way:

               <div data-src="{{media url="wysiwyg/new_image.jpg"}}" alt="" />
                   <div class="camera_caption fadeIn">
                     <a href="{{store url='headphones.html'}}">
                      <div class="container">
                       <div class="camera_caption_txt">
                         <p>The Best</p>
                          <h6>Musical Instruments</h6>
                           <span>Mes cuml dia sed inenias ingerto lot aliiqt dolore ipsumcommete.</span>
                           </div>
                           </div>
                           </a>
                         </div>
                       </div>
    	          
  12. Save changes and refresh your website. Now we can see that slide is added.

Also you can add a new slide in the following way:

  1. Change name of image in skin url directory for example from slide3.jpg to slide4.jpg .<div data-src=”{{skin url=’images/camera/slides/slide4.jpg’}}”>. Keep original coding structure:

    Magento_How_to_add_slide-10

  2. Upload new image with name slide4.jpg in the following directory: skin/frontend/themes/themeXXX/images/camera/slides/.

  3. Save changes. Now we can see that new slide is added.

Feel free to check the detailed video tutorial below:

Magento. How to add more slides to slider