Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

Changing template to reposition slides - 2 simple questions

More
12 years 5 months ago - 12 years 5 months ago #49235 by ausus
1.  I'd like my images to be "contant height" whereas the FP resize is for constant width. So I manually resized my slides to 360 pixels high and specified the option not to resize images when creating the slides.

Now i'd like to right-justify the image in the slideshow window.  My default it appears left justified and so is overlaid by the text.  The relevant template code looks like this:
.fpss-template-movies .slides-wrapper {width:<?php echo $width; ?>px;height:<?php echo $height; ?>px;margin:0;padding:0;float:right;position:relative;overflow:hidden;background:#fff;}
.fpss-template-movies .slides-wrapper .slides {}
.fpss-template-movies .slide {width:<?php echo $width; ?>px;height:<?php echo $height; ?>px;overflow:hidden;list-style:none;}

The change of "slides-wrapper" from float:left to right makes no difference, as i expected, since its the whole slide port and not the image. Disappointingly adding float:right to the "slide" properties did nothing. (Can you tell I'm not experienced at this kind of thing?)

As far as I can see the image width is never accessed anywhere.  I have followed the component code as far as where the MainImage property is set up in FPSSHelperSlideshow.php, but can't see where it is loaded or how to get the width.

2. The first slide displays with text already overlaid on it.  I'd like the text to transition in according to the settings in the FrontPage module. They do this properly on subsequent transitions but not the very first.

My website is aususgroup.com

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum