WordPress.org

Ready to get started?Download WordPress

Forums

WP-Cycle
Resize background? (2 posts)

  1. sroehm
    Member
    Posted 1 year 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.

    http://wordpress.org/extend/plugins/wp-cycle/

  2. radhika
    Member
    Posted 1 year 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:

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.