Hi - I'm using template ddj003 on Joomla 1.0.9 which I think is great. Very easy to navigate around, nice and clean.
What I want to do if possible is to have a colored background around the outside of the template, whilst retaining the white background of all the content pages.
I've created a gradent.jpg file that's 50px wide and the height of the template. Is it possible for someone to give me the fix for what (and where) I should put into the .css file to make this image appear.
I'm a real novice with this stuff and know nothing about css, so please be gentle with me
Changes to index.php
first delete some lines from
and delete these lines
now add these lines to the top of your template_css.css file:
body {
margin: 0px;
padding: 0px;
font-family: Arial, Helvetica, Sans Serif;
line-height: 120%;
font-size: 11px;
color: #333333;
background: #ffffff;
}
#outer_wrapper {
background: yourbackgroundcolor url('../images/yourbackgroundimage.jpg') repeat-x;
width: 100%;
height: 100%;
}
<div id="outer_wrapper">and add this just after the<?phpmosLoadModules( 'debug', -1 );
?>
</div>I added this outer_wrapper tag because if you use TinyMCE WYSIWYG editor your editor background will be the background of your . That is usually undesirable. In this case it will be a white background with black font. Perfect for your users to type in a new entry. save all the changes and you should be set. ;D