Shape 5

Wordpress Club Themes => Corporate Response - Club => : deflower June 20, 2013, 02:49:07 PM



: Left side image variety best solution
: deflower June 20, 2013, 02:49:07 PM
Hello
I am trying to get a variety of different sized images in the left side space of my template.

I have tried using the text module calling them directly with html but can only get 2/4 images to show up and if I try and modify any of the text or make additional edits then the information on my right side gets messed up.

I have also tried stacking 2 shape 5 content and image fader widgets of different sizes to accommodate the 2 sizes that I am working with in the left side but only the images in the top location will show up. The images underneath, in the second placement will only show the title but none of the images.

I need to show a variety of different banners in the left side. They all have the same width but different heights, what is the best way to do this?

http://67.19.214.98/~apicsvan/about-us/
I will forward the log in through PM

Thanks
Denise


: Re: Left side image variety best solution
: Tristan Rineer June 21, 2013, 06:21:59 AM
First -
As with the "more than 10 images" thing, the javascript is a limiting factor; you can currently only have 1 of each type of image slide/fader/etc on a page at a time, or the javascript for the second one will conflict with the first.

Second -
Just from looking at that screenshot (and then verifying by looking at your site with Firebug (http://getfirebug.com/)), you're missing a closing tag somewhere, that's why your site is all skewed.  It's most likely a close div, but it could be as simple as forgetting to self-close an img tag.

UPDATE: I couldn't find where the extra open div was coming from, so I added another close div in the code a couple lines before the "<!-- End Left column -->" comment in the theme index.php file.  That seems to have fixed it, but if for some reason it breaks the layout on another page for you, you can just remove that extra close tag; you'll just have to figure out what made it necessary in the first place.


: Re: Left side image variety best solution
: deflower August 05, 2013, 10:14:00 PM
Hi Tristan
Is it possible to put a banner rotation javascript into the  text widget?
Since I have so many banners on the left side I was wondering if there is any way I can get them to randomly change on refresh.
Thanks
Denise


: Re: Left side image variety best solution
: Tristan Rineer August 06, 2013, 06:40:30 AM
I would assume so, but I know very little JS, so I wouldn't know where to start; you can definitely give it a try and see what happens.

I believe there is an "Ad Rotator" plugin for WP that will randomly rotate through images on page refresh.  You don't need JS for something that changes on a page reload, JS is the stuff that happens *without* refresh.


: Re: Left side image variety best solution
: deflower August 06, 2013, 05:08:25 PM
Hi Tristan
The Ad Rotator widget worked perfectly, no need to JS.

If anyone else wants to download it and get instructions, they can be found here.
http://kpumuk.info/projects/wordpress-plugins/ad-rotator/

Thanks