Forum Support

Shape 5
March 28, 2024, 05:54:24 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Frame lines not correct  (Read 747 times)
MurrayG
Jr. Member
**
Offline Offline

Posts: 96



« on: July 29, 2016, 12:15:43 AM »

Hi,

I changed the "Active Image Width" parameter from 90% to 45% and now the vertical frame lines are offset to the right by a few pixels.  When the page first loads the picture and frame lines are aligned correctly but after the first "slide" the picture and frame lines are offset.

See new 45% offset version at http://www.westernbaymuseum.nz/
See original 90% correct version at http://mokoconsultants.com/wbm/

A solution to this would be greatly appreciated.

Thanks
Murray

I found another forum post and tried that solution - it made no difference.
Quote
Please try removing this line:
#s5_photo_showcase_outer {
    position: relative;
}
In:
modules/mod_s5_photo_showcase/s5_photo_showcase/s5_photo_showcase.css
To see if that changes anything.

« Last Edit: July 29, 2016, 12:19:58 AM by MurrayG » Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #1 on: July 29, 2016, 06:08:58 AM »

Hello,

I don't see much that is off, the left line is only half by 1px, everything else looks fine. This is because the script has to convert the percentage width to a px width, to determine the exact placement of each slide. In this case the percentage translates to a partial px, ie:141.5px, which doesn't always show right. You can add the following to the template's custom.css to move it over some. I've tried it in Firebug and it appears fine to me.

#s5_photo_showcase_prev_line {
margin-left:-1px !important;
}
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
MurrayG
Jr. Member
**
Offline Offline

Posts: 96



« Reply #2 on: July 29, 2016, 10:31:43 PM »

Ah ha!
I never thought of looking at it at different screen widths. You are correct that it is a maths issue. The "offset" comes and goes as you drag a window wider and smaller.

Cheers
Murray
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.