ROCKETTHEME IS CLOSING ON JUNE 30, 2025. As a thank-you to our community, enjoy 50% off all themes with the promo code THANKYOU before we shut down.
Read our Farewell Blog Post for more details.
Using a background image rather than just solid color
Posted 13 years 8 months ago
Is it possible with the Panacea template to configure it to use a background image rather than just picking a solid color? I attempted to do so by setting the template to "static css" = yes and in the static-styles.css file on the body tag insert a background-image url but my page then displayed a permissions error.
Certainly there is a way to make it so when using Panacea that you are not stuck to backgrounds just in the color selector.
Re: Using a background image rather than just solid color
Posted 13 years 8 months ago
There is, it's a bit complicated. You need to first disable the color chooser from assigning a body background. You can do this by opening up your styledeclaration.php inside the features folder in your template directory. Go to line 47, you'll see a $css .= body ..... line - either delete it or comment it out. Then in your CSS file, add body{background:url (INSERT-IMAGE-PATH);} and you should be all set. Hope that helps.
The difficult we do immediately, the impossible takes a little longer.