Categories

Featured templates

Magento. How to change slider dimensions

Eva Fox January 26, 2015
Rating: 5.0/5. From 3 votes.
Please wait...

This tutorial will show you how to edit slider images dimensions.

Magento. How to change slider dimensions

  1. First, log into Magento admin panel.

  2. Navigate to CMS -> Static Blocks -> Slider block or CMS -> Pages -> Home page -> Content tab that contains the coding for slider:

    Magento. How to change slider images dimensions_1

  3. In the coding look for:

    <div class="fluid_container">

    and replace with:

    <div class="container">
  4. Using Firebug we can find out the width and height of the container:

    Magento. How to change slider images dimensions_2

  5. Let’s replace the images with the new ones, of 1170px*510px size. You should use Photoshop or any other images editor to adjust all images to the new size, in our case I made all images of size 1170px*510px.

  6. Get back to the slider coding in admin panel, and since your new image width is 1170px and its height is 510px, the new percentage should be 43.58% -(510\1170)*100= 43.58. Change height: ‘40.357%’, into height: ‘43.58%’, and save the changes.

  7. Save the changes, clear cache and refresh your website in browser to see the changes.

Feel free to check the detailed video tutorial below:

Magento. How to change slider dimensions

Magento Premium Themes
This entry was posted in Magento Tutorials and tagged dimension, Magento, resize, size, slider. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket