× Support for Joomla 2.5 templates is discontinued. This forum category is read-only.

Change background from color to image?

More
6 years 1 month ago #4288 by applied321
applied321 created the topic: Change background from color to image?
Hi,

I think this one is pretty simple.

How do I change the background color throughout the site from a color to an image?

BUT, please show me what to take out and exactly what code to put it for this to work. Thanks so much :)

Please Log in or Create an account to join the conversation.

More
6 years 1 month ago - 6 years 1 month ago #4289 by applied321
applied321 replied the topic: Change background from color to image?
I Guess Not!
Last Edit: 6 years 1 month ago by applied321.

Please Log in or Create an account to join the conversation.

More
6 years 1 month ago #4293 by marcin
marcin replied the topic: Change background from color to image?
Hello,

Sorry for the late response but our support is off during the weekends.
The background color for the template you can change in the layout.css file (templates/jm-business-marketing/css).
In the 12th line you will find styles for the body tag:
body {
    margin: 0;
    padding: 0;
    line-height: 1.6em;
    background: #fff;
}

Replace the background as follows:
body {
    margin: 0;
    padding: 0;
    line-height: 1.6em;
    background: url(../images/your_image.png);
}

The image you should place in the "images" folder in your template directory.

Please Log in or Create an account to join the conversation.

More
6 years 1 month ago #4298 by applied321
applied321 replied the topic: Change background from color to image?
Awesome, thanks so much :)

Please Log in or Create an account to join the conversation.

More
6 years 1 month ago #4300 by marcin
marcin replied the topic: Change background from color to image?
You're welcome :)

Please Log in or Create an account to join the conversation.

Time to create page: 0.238 seconds

INDICO S.C.

ul. Wałowa 10/3, 84-200 Wejherowo, registered in Centralna Ewidencja i Informacja o Działalnosci Gospodarczej
NIP/VATID: PL5882424318

Copyright © 2009-2019 Joomla-Monster.com All rights reserved.

Joomla-Monster.com and this site is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.