-
AuthorPosts
-
December 7, 2011 at 9:36 am #171548
hi how are you? i am using JA Erio and i would like to change the background color on the sides from white to blue or to an image, is this possible, and how would i go about doing it?
your help would be highly appreciated!
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
December 8, 2011 at 4:40 am #428594Heya . . . Can you provide the url to the site you’re working on?
Also, in preparation, please set “Optimize CSS” to “No” within your Template Manager–>General SettingsDecember 8, 2011 at 9:03 am #428638currently working on my pc, havent uploaded as yet, still working offline!
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
December 8, 2011 at 6:00 pm #428751<em>@aadilk4 287848 wrote:</em><blockquote>currently working on my pc, havent uploaded as yet, still working offline!</blockquote>
Open your template.css file (within path /templates/ja_erio/css/template.css)
at line 25 you should see the following . . .
body#bd {
background: url(../images/bg_body.png) repeat-x #fff;
border-bottom: 10px solid #1a1a1a;
color: #333;
padding: 5px 0 0;
}
[FONT=arial]
This is where you can change the background parameter to what ever image and/or color you want.Hope that helps.
[/FONT]
December 9, 2011 at 7:12 am #428896<em>@TomC 287986 wrote:</em><blockquote>Open your template.css file (within path /templates/ja_erio/css/template.css)
at line 25 you should see the following . . .
body#bd {
background: url(../images/bg_body.png) repeat-x #fff;
border-bottom: 10px solid #1a1a1a;
color: #333;
padding: 5px 0 0;
}
[FONT=arial]
This is where you can change the background parameter to what ever image and/or color you want.Hope that helps.
[/FONT]</blockquote>
this allows me to add a background image, but how would i change the color of the background and leave the body background white as per my picture, still no luck even when trying out
#ja-wrapper{
background-color: blue;}
.wrap{
background-color:white;}still no luck!
please assistTomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
December 9, 2011 at 7:23 am #428899<em>@aadilk4 288160 wrote:</em><blockquote>this allows me to add a background image, but how would i change the color of the background and leave the body background white as per my picture, still no luck even when trying out
still no luck!
please assist</blockquote>Try it just this way . . .
body#bd { background: #fff; }
December 9, 2011 at 1:31 pm #428954this allows me to make the entire background white, im not sure if you are not understanding me! currently on the default it is white only, i would like to use a blue background on either side of the template to match with my logo,
it normally looks like ….and i would like it to look like ….
<em>@TomC 288163 wrote:</em><blockquote>Try it just this way . . .
body#bd { background: #fff; }
</blockquote>-
December 13, 2011 at 9:42 am #429459
still no help???
any1 have a solution??
December 15, 2011 at 11:03 am #429728still no help? whats happening, does any1 have a solution!
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
December 16, 2011 at 12:34 am #429843I have roundtabled this issue with several of my Support Team colleagues, and the consensus is that you will need to create a special background image where the side’s are blue (or whatever color you want). The image can be thin (height wise) and you can use a “repeat-y” modifier within the CSS – though the width should be whatever width you set your website at.
make sense?
January 11, 2012 at 8:24 am #433367still did not come right with my problem, could i upload to a site and give access so someone could assist me with it please???
pixelzombie Friendpixelzombie
- Join date:
- August 2010
- Posts:
- 339
- Downloads:
- 2
- Uploads:
- 49
- Thanks:
- 32
- Thanked:
- 168 times in 107 posts
January 11, 2012 at 11:12 pm #433459aadilk4, help is underway!
Tom asked me to help you out and here is your solution. You need to apply the background-color to your template.css as Tom said like
body#bd {
background: url(../images/bg_body.png) repeat-x #01b4f6;
border-bottom: 10px solid #1a1a1a;
color: #333;
padding: 5px 0 0;
}
Now the whole site is blue! Have fun with it :p – just kidding.
If you want a white background on your content, you need to add to your template.css (copy paste the whole block):
body.bd .main {
background: #ffffff;
}
You now have the main content blocks on a white background. There are still gaps between certain areas. If you don’t like them, please tell us. We’ll find a solution for you. You also might want to add a little padding to the .main class.
Cheers
Frank
January 14, 2012 at 11:02 am #433834thanks a mill, thats just what i was looking for,now need to ask! how would i add a lil white padding on either side?
have a look, iv uploaded it to a temp domain affiniti.co.za
pixelzombie Friendpixelzombie
- Join date:
- August 2010
- Posts:
- 339
- Downloads:
- 2
- Uploads:
- 49
- Thanks:
- 32
- Thanked:
- 168 times in 107 posts
January 15, 2012 at 2:46 pm #433907You’re welcome.
To add a padding is not that easy because there are many blocks of the template that doesn’t look good with it or have a padding on their own. Therefore you must apply either a padding to the .main class of the block (that will give you a white padding) or you need to increase the size (for the mainnav especially) because a white padding doesn’t look good. This is the customization for the default quickinstall setup.Okay let’s say we want 10px white padding at every side.
Start at the mainnav. In order to avoid a 10px white bar at the menu and get rid of the white background, it is best to apply the background-color again and then increase the width.
#ja-mainnav .main {
background-color: #1A1A1A;
width: 960px;
}
For the header block you need to respect the padding it has and change it a bit.
#ja-header .main {
padding: 31px 10px 20px;
}
The slideshow needs the padding too, this css block doesn’t exist in the default template so you have to add it.
#ja-slideshow .main {
padding: 0px 10px;
}
The main content block needs it too
#ja-container .main {
padding: 0px 10px;
}
The bottom spotlights too
#ja-botsl .main,
#ja-botsl1 .main {
padding: 0px 10px;
}
Last but not least the navhelper and footer
#ja-navhelper .main,
#ja-footer .main {
padding: 0px 10px;
}
If you have any other blocks, you need to add the padding in this style. Always use #blockname .main to apply it.
I hope everything is clear thus far.Cheers
Frank
-
AuthorPosts
This topic contains 19 replies, has 3 voices, and was last updated by pixelzombie 12 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum