Resize background? (2 posts)

  1. sroehm
    Posted 3 years ago #

    Is there a way to alter the size of the white background? I can alter my images to 920x290 to keep the correct proportions but that leave a rather sizable white strip under my image. I would like to have a 20px border around my pix.


  2. radhika
    Posted 3 years ago #

    yes, you have to edit in wp-cycle.php file of your wp-content plugin.
    wordpress/wp-content/plugins/wp-cycle/wp-cycle.php & edit the w*h in this code:

    $wp_cycle_defaults = apply_filters('wp_cycle_defaults', array(
    'rotate' => 1,
    'effect' => 'fade',
    'delay' => 3,
    'duration' => 1,
    'img_width' => 300,<-- change here width
    'img_height' => 200,<-- change here height
    'div' => 'rotator'

    And edit code in style.css file of your theme:

    border:20px solid #000;<-- change here border color

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP-Cycle
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.