Categories

Featured templates

WordPress. How to change slider dimensions

Ryan DeWitt July 2, 2013
Rating: 3.0. From 2 votes.
Please wait...

WordPress. How to change slider dimensions

This tutorial shows how to change slider dimensions in WordPress templates (where slider height is specified via custom-function.php file).

WordPress. How to change slider dimensions-1

  1. In order to change slider image dimensions, you should edit \themes\themeXXXXX\includes\theme-init.php file:

    WordPress. How to change slider dimensions-2

  2. Find slider-post-thumbnail and set the desired image size width/height in pixels. We have set 1170, 263. Original values were 1170, 491:

    WordPress. How to change slider dimensions-3

  3. Save changes and upload the modified file. Go to slides section and re-upload slider images for all slides. You should upload images that have the same size or aspect ratio as you have defined in theme-init.php file. Be sure to re-upload images for all slides:

    WordPress. How to change slider dimensions-4

  4. Refresh page. We have changed image dimensions. Now we should adjust height for slider area:

    WordPress. How to change slider dimensions-5

  5. Download and open \themes\themeXXXXX\includes\custom-function.php file for editing. Find function child_slider_params and adjust height in percents. Save changes and upload modified file:

    WordPress. How to change slider dimensions-6

  6. Clear browser cache, cookies and refresh the page. We have changed slider dimensions.

Feel free to check the detailed video tutorial below:

WordPress. How to change slider dimensions

In the event you might need templates to choose from, go ahead and see responsive business wordpress themes.

Best Wordpress Templates
This entry was posted in WordPress Tutorials and tagged change, dimensions, slider, WordPress. 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

Live Chat
We help you to choose the right product.