4

Can I use a background image, using PHP/HTML within a block?

http://drupal.org

I am not a webdesigner, by any means, but as a fairly new company I lack the funds to hire a firm.
I am dissatisfied with my website's overall appearance and mostly slow loading performance.
One of the ways I would like to reduce the load time, is to change some items to a single background image, that will be used within 4 blocks, showcasing my poducts.
I am not very confortable working within CSS, and would prefer a method to use a background image, within a block, using HTML or PHP code.
Can I use something like the following example, to perform my desired function?

<style type="text/css">
body{
background-image:url('<?php echo $profpic ;?>');
}
</style>
Read »
Created by Dplanet 27 weeks 1 day ago
Category: Theming   Tags:

PSD to Drupal Theme

Drupal Development

Module Development

Get an Estimate

Tags for Can I use a background image, using PHP/HTML within a block?

Recent comments