Forum Support

Shape 5
March 18, 2024, 10:48:06 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: Image in Box Issue  (Read 878 times)
solarparkc
Jr. Member
**
Offline Offline

Posts: 7



« on: February 02, 2012, 03:07:19 AM »

Hi Shape5!

I try to put a picture into the boxes. I used the provided sample code.

Code:
<div style="font-size:8pt; background:url(http://www.shape5.com/demo/forever_ace/images/applications.png) no-repeat top left; margin-top:5px">Create your own background to give your site a unique look like no other website.

<strong>Making a background takes just minutes.</strong></div>

The picture is not shown but it leaves a blank area where it actually should be. I tried to simplify the problem and posted a straight forward image into "EQUIRED - Main Content or HTML For Box 1"

Code:
<img src="http://www.solarparkgroup.com/images/solar.png">

No picture is shown either.

Here is my link:
http://www.solarparkgroup.com/index.php/products/product-line
In Box1 i put the plain image. In Box2 the example as described from the demo.

I tried position "below_body_1" and "above_body_1"...no difference.

Can you help me out here...tried also the other examples from the forum already.





Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #1 on: February 02, 2012, 08:36:45 AM »

Hello,

The image is created with a background call:


<div style="font-size:8pt; background:url(http://www.shape5.com/demo/forever_ace/images/applications.png) no-repeat top left; margin-top:5px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create your own  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background to give your site a unique look like no other website.

<strong>Making a background takes just minutes.</strong></div>


The image needs to be set on the first line of that code as the background, not an actual <img> call.
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
solarparkc
Jr. Member
**
Offline Offline

Posts: 7



« Reply #2 on: February 02, 2012, 05:48:06 PM »

Hi Mike!

I copy & pasted the code. The picture is still not shown. I am somehow running out of ideas on how to solve that.

http://www.solarparkgroup.com/index.php/products/product-line

When I inspect the code I see only the following:
Code:

<h3 id="s5_fd_box1_h3" style="height:21px; color:#FFFFFF; font-family:arial; font-size:9pt; padding-left:13px; padding-top:8px">SPP X Series poly</h3>


div id="s5_fd_box1_pretext" style="background:#E3E3E3; font-size:8pt; color:#000000; padding:7px; margin-bottom:0px; margin-left:5px; margin-right:5px; margin-top:-2px">220 | 225 | 235 | 240 | 245</div>


<div id="s5_fd_box1_content" style="font-size:9pt; color:#000000; padding-top:5px; padding-bottom:5px; padding-left:7px; padding-right:7px; margin-bottom:0px; margin-left:4px; margin-right:4px; margin-top:0px">          Create your own            background to give your site a unique look like no other website.

Making a background takes just minutes.</div>

There is no reference to http://www.shape5.com/demo/forever_ace/images/applications.png

Any other suggestions?

Logged
solarparkc
Jr. Member
**
Offline Offline

Posts: 7



« Reply #3 on: February 02, 2012, 06:04:37 PM »

I solved the problem by directly editing "mod_s5_frontpage_display.php"

Find "s5_fd_box1_content" and add your content within the DIV tag.

Works for me!
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.