Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #3197

    Hello,

    I’m sure this has already been said somewhere but I’m guessing this won’t be the first thing you will haev to repeat.

    I only have one image for the image header and therefore don’t want it to change back and forth creating the ripple effect. How do i turn that off? I might turn it back on later if I get a second image but is there a simple solution to just stop it for now.

    Thank you!

    #41193

    Hey,

    I’m not sure I understand the problem.

    Can you point me to the URL where the ripple effect is happening so I can take a look?

    James

    #41194

    Sorry ripple is probably wrong use of words. I just don’t want the header image to switch back and forth as I only have one header image. So I don’t want it to rotate back and forth.

    http://www.ludgateclinic.com

    Does that make more sense?

    #41195

    Hey,

    I understand, I guess it does kind of ripple but I didn’t understand before seeing it 1st hand.

    Open up header.php and find this code:

    <?php if($kriesi_options['slide_page'] != ""){
    $my_query = new WP_Query('page_id='.$kriesi_options['slide_page']);

    if ($my_query->have_posts()) : while ($my_query->have_posts()) : $my_query->the_post();

    the_content();

    endwhile; endif;

    }else{ ?>
    <!-- WANT TO EDIT YOUR SLIDESHOW IMAGES DIRECTLY? ADD ANY NUMBER OF IMAGES YOU LIKE BELOW-->

    <img src='<?php echo bloginfo('template_url'); ?>/images<?php echo $kriesi_options['whichdesign']; ?>/header_image1.jpg' alt='' height="240" width="900" />
    <img src='<?php echo bloginfo('template_url'); ?>/images<?php echo $kriesi_options['whichdesign']; ?>/header_image2.jpg' alt='' height="240" width="900" />

    <?php } ?>

    Replace it with:

    <img src='<?php echo bloginfo('template_url'); ?>/images<?php echo $kriesi_options['whichdesign']; ?>/header_image1.jpg' alt='' height="240" width="900" />

    This will now only load the one image and stop the ripple effect which was caused by having the 2 header images (header_image1.jpg and header_image2.jpg) changing. If they were different images the transition makes sense, but not in your case.

    Hope this helps!

    James

    #41196

    It worked so yes you did help!! Thank you very much.

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

The topic ‘Don't want image to ripple!’ is closed to new replies.