Forum Support

Shape 5
March 29, 2024, 12:43:36 AM *
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: Display Window: Center & White Background  (Read 834 times)
iesinc
Jr. Member
**
Offline Offline

Posts: 95



« on: November 20, 2011, 10:24:26 AM »

What lines of code do I change in mod_s5_photo_expression.php to:

1. Center image in display window
2. White background in display window.

URL: http://allsaintsconcert.org/index.php/other-school-photos

Also, please see attachment. Thank you. Nancy
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #1 on: November 21, 2011, 09:08:37 AM »

Hello,

You cannot center the images because they are background images. They are intended to all be the same size. The black background can be changed in:

modules/mod_s5_photo_expression/mod_s5_photo_expression.php

Just search for 000000 and it will take you right to the code, just change the hex color code to FFFFFF
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
iesinc
Jr. Member
**
Offline Offline

Posts: 95



« Reply #2 on: November 21, 2011, 03:18:56 PM »

Thank you, Mike.

When I change to code from 000000 to FFFFFF in:

1. Line 203 only: No large image showing. Black background.
2. Line 741 only: No large image showing. White background.
3. Both line 203 & 741: No large image showing. White background

Code for #3 attached, named mod_s5_photo_expression_WHITE BKG_11-21-2011. PLEASE NOTE: I am renaming to mod_s5_photo_expression.php on server.

Joomla: J1.7.3
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #3 on: November 22, 2011, 09:03:50 AM »

Hello,

If you can private message me ftp access I can make this change for you.
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
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.