0
Welcome Guest! Login
0 items Join Now

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

    • busterw's Avatar
    • busterw
    • Newbie
    • Posts: 6
    • Thanks: 0

    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.

      Thanks for any help!
      Buster
    • Cliff Pfeifer's Avatar
    • Cliff Pfeifer
    • Preeminent Rocketeer
    • Posts: 8444
    • Thanks: 20
    • Website Developer

    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.

Time to create page: 0.063 seconds