1
richbrown
Background Image in a block
  • 2004/11/22 15:07

  • richbrown

  • Just popping in

  • Posts: 96

  • Since: 2004/10/20


Hi

I would like to be able to add an image to the opening background block. The image would need to be scaleable but if it fits within the block then it would be... yes?

Can anybody help?

Url is http://www.weddingcompanycornwall.co.uk and the image is the dress painting in the right.

When I uploaded the image I was also restricted to size. I presume I can decide on these sizes within preferences?

Thanks

Rich

2
rcjohnson
Re: Background Image in a block
  • 2004/11/22 15:44

  • rcjohnson

  • Not too shy to talk

  • Posts: 187

  • Since: 2004/7/23


Hi Rich,
You can set the image using plain old html, or use css to apply the background.

Just save the block with an "html" format.
<body background="wedding.gif">

You may also want to use
<body background'<$xoops_imageurl>/wedding.gif'>
if the image is in your "themes" folder.

( i think that is the proper structure for the link.)

3
richbrown
Re: Background Image in a block
  • 2004/11/24 12:16

  • richbrown

  • Just popping in

  • Posts: 96

  • Since: 2004/10/20


Hi

Within the theme I am using the custom block I use is displayed in a frame.

This is the line:-




I can't access the image because I don't know what to type in the url.

Can anybody help?

Thanks

Rich

Login

Who's Online

425 user(s) are online (319 user(s) are browsing Support Forums)


Members: 0


Guests: 425


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits