Home Forums WordPress Theme Support Envision Nivo Slider – Width & Height

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • crcraig
    Participant

    I’m curious how I might could change the width and height of the Nivo Slider. I’m not sure what it is currently. I’ve poked around a little bit looking for it, but I finally concluded it would be best to ask here and not risk messing something up.

    Thanks for the help.

    Max
    Keymaster

    Hi,

    open the featured.php file and find there this code:

    <!-- slider -->
    <div class="container_12">
    <div class="slider">
    <div class="sImages">
    <div class="sliderBody" id="imageSlider">
    <?php $k = 1; while(tfuse_meta_exist(PREFIX . '_' . $valtype . '_slider2_data_sliderdata_' . $k, $post->ID))
    {
    $slideArr = get_post_meta($post->ID, PREFIX . '_' . $valtype . '_slider2_data_sliderdata_' . $k, true);
    $k++;
    if($slideArr["slider2_" . $valtype . "_link"] != '')
    {
    ?>
    <a href="<?php echo $slideArr["slider2_" . $valtype . "_link"]; ?>" target="<?php echo $slideArr["slider2_" . $valtype . "_target"]; ?>"><?php tfuse_get_image(898, 362, 'img', $slideArr['img'], '', false, 'slider-img') ?></a>
    <?php
    }
    else
    {
    tfuse_get_image(898, 362, 'img', $slideArr['img'], '', false, 'slider-image');
    }
    }
    ?>
    </div>
    </div>
    </div>
    </div>
    <!--/ slider -->

    Find there the 898 and 362 values and change them with yours. And then you need to change some classes from style.css. I don’t recommend you to do that (those classes are used for all site) but if you want then I can provide you witch classes you need to change. Also there is an image you need to change to the new width.

    crcraig
    Participant

    I’m having trouble locating the featured.php file.

    *Edit*

    Sorry, I found it.

Viewing 3 posts - 1 through 3 (of 3 total)