-
AuthorPosts
-
February 26, 2008 at 1:45 am #126022
We are almost ready to go live with our site but we have one more problem.
Whenever I change the top and bottom background files, they can only be seen if people delete their cookies and temporary internet files.
These are the files I am changing and the location:
/public_html/templates/ja_genista/images/body-bot.jpg
/public_html/templates/ja_genista/images/body-top.jpgIt should be pink now. If you are viewing for the first time it will show it but if you have viewed our site previously with another color background you won’t see the change.
Do I need to update this file somewhere else? Is this a caching problem with jooma? template? host?
My other question is where is the file to change the ‘middle’ of the background?
Thanks.
Beth
Khanh Le ModeratorKhanh Le
- Join date:
- November 2013
- Posts:
- 1884
- Downloads:
- 41
- Uploads:
- 31
- Thanks:
- 44
- Thanked:
- 203 times in 131 posts
February 26, 2008 at 2:40 am #240144This is not a problem with Joomla or template or host. It is because the way template configuration. You did enable the color chooser for user. The template will store what user select into cookie to re-enable that choice later.
Now you disable the color chooser, user only view the pink color which you set in your template.Hung Dinh FriendHung Dinh
- Join date:
- September 2014
- Posts:
- 4408
- Downloads:
- 11
- Uploads:
- 189
- Thanks:
- 309
- Thanked:
- 3310 times in 3 posts
February 26, 2008 at 2:53 am #240148<em>@hearts 41769 wrote:</em><blockquote>
Whenever I change the top and bottom background files, they can only be seen if people delete their cookies and temporary internet files.
These are the files I am changing and the location:
/public_html/templates/ja_genista/images/body-bot.jpg
/public_html/templates/ja_genista/images/body-top.jpgIt should be pink now. If you are viewing for the first time it will show it but if you have viewed our site previously with another color background you won’t see the change.
Do I need to update this file somewhere else? Is this a caching problem with jooma? template? host?
</blockquote>
It’s not the problem Beth. Browser caches should always be cleared if you change a file in server. Normally the browser will update all new files after 1 or 2 days. Ctrl-F5 if you want to see the changes immediately.
<em>@hearts 41769 wrote:</em><blockquote>
My other question is where is the file to change the ‘middle’ of the background?
</blockquote>
Search for this lines in the template_css.css of the template
body#bd {template_css.css (line 44)
background:#F2F9FD url(../images/body-top.jpg) repeat-x scroll center top;
color:#333333;
padding:70px 0pt 0pt;
}Change the #F2F9FD to any color you want, you can remove it if you like
February 26, 2008 at 6:17 pm #240264I changed the ja_vars.php file …
$ja_tool = 0; // 0: 0: disable all; 1: Screen tool; 2: font tool; 3: screen + font; 4: color tool; 5: screen + color; 6: font + color; 7: all;
I changed the $ja_tool = 0 (used to be 2)
But that didn’t seem to fixed the problem. People are still not seeing my background change. do I need to change the ja_templatetools.php file?
How do I disable the color chooser (if that is what you are saying I should do…if what I did wasn’t right)
sequenceinc Friendsequenceinc
- Join date:
- January 2008
- Posts:
- 54
- Downloads:
- 0
- Uploads:
- 1
- Thanked:
- 4 times in 1 posts
February 26, 2008 at 6:23 pm #240265Hearts – I REALLY like what you’ve done with your site, although the one tiny suggestion I might make is to move the white part up so you don’t have so much pink background at the top. It is nicer for people with smaller screens because they don’t have to scroll as much.
February 26, 2008 at 6:57 pm #240271We are hoping to put a banner in that spot. I agree with you though but I don’t know how to ‘move’ the template up even if we wanted to 🙂
Is this a caching problem??
Caching: No
Cache Folder:
Cache Time: 900 secondssequenceinc Friendsequenceinc
- Join date:
- January 2008
- Posts:
- 54
- Downloads:
- 0
- Uploads:
- 1
- Thanked:
- 4 times in 1 posts
February 26, 2008 at 8:06 pm #240281Ah.. then you may need to move it down. Moving it either way is easy.
In template.css, look for this bit of code toward the very beginning:
body#bd {
padding: 12px 0 0;
color: #333333;
background: url(../images/body-top.jpg) repeat-x top center #F2F9FD;
}Changing the padding (which I have at 12px from the top for my site) is what can move it up or down, left or right. There may be one or more numbers there. The first number is for the top of the page, and then they are clockwise on your screen. So the second number changes the padding on the right, the third changes it on the bottom, and the fourth changes the padding on the left.
February 26, 2008 at 10:18 pm #240294Thank you. I made your suggestion. Anything others, let me know!
sequenceinc Friendsequenceinc
- Join date:
- January 2008
- Posts:
- 54
- Downloads:
- 0
- Uploads:
- 1
- Thanked:
- 4 times in 1 posts
February 27, 2008 at 5:25 am #240331Looks great!
-
AuthorPosts
This topic contains 9 replies, has 4 voices, and was last updated by sequenceinc 16 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum