FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  Who is OnlineWho is Online   Join! (free) Join! (free)  
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  • Welcome
  • Guest

xMas Theme Template - removing snow...

 
Post new topic   Reply to topic    myfreeforum.org Forum Index -> Web page/template Editing
View previous topic :: View next topic  
Author Message
Please Register and Login to this forum to stop seeing this advertising.






Add Karma

rated by members
Add Comment
Show Comments


online/offline
Posted:     Post subject:

Back to top
Bradbury
Apprentice
Apprentice
FLAG

Virtual Cash: 2160

Joined: 07 Apr 2009
Posts: 214


Location: UK
Add Karma

rated by 1 members
Add Comment
Show Comments


online/offline
PostPosted: Tue Dec 04, 2012 6:25 pm    Post subject: xMas Theme Template - removing snow...  Reply with quote

I have searched in HowTodoIt with removing snow, stopping snow, editing templates etc.



Hi there

I am using the xMas theme template on our forum and we have snow on every page. Quite a few members are complaining about the snow, personally I love it, but hey.

I have found How to add snow in HowToDoIt and have searched for the code on my forum and can't find it anywhere - have looking in index_body.tpl. Can you tell me where else to look for it please? Am assuming if I remove it the snow as per how to add it in the HowToDoIt section it will stop and we will be left with the lovely Xmas theme?

Appreciate your help.
Back to top
View user's profile Send private message
myff admin
Site Admin
Site Admin
FLAG

Virtual Cash: 92900

Joined: 22 May 2005
Posts: 32204



Add Karma

rated by 281 members
Add Comment
Show Comments


online/offline
PostPosted: Tue Dec 04, 2012 7:37 pm    Post subject: Reply with quote

if its every page then look inoverall_header.tpl and overall_footer.tpl.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums
Back to top
View user's profile Send private message Visit poster's website
Bradbury
Apprentice
Apprentice
FLAG

Virtual Cash: 2160

Joined: 07 Apr 2009
Posts: 214


Location: UK
Add Karma

rated by 1 members
Add Comment
Show Comments


online/offline
PostPosted: Tue Dec 04, 2012 7:55 pm    Post subject: Reply with quote

myff admin wrote:
if its every page then look inoverall_header.tpl and overall_footer.tpl.


In overall_header.tpl there is this reference to snow, but I'm not sure if that is the right bit and if so what I would need to alter ...

/* General page style. The scroll bar colours only visible in IE5.5+ */
body {
   background-color: #FFFFFF; background-image: url(templates/myfs_rescueremedies4/images/snow.gif); background-repeat: yes; background-attachment: fixed;
   scrollbar-face-color: {T_TR_COLOR2};
   scrollbar-highlight-color: {T_TD_COLOR2};
   scrollbar-shadow-color: {T_TR_COLOR2};
   scrollbar-3dlight-color: {T_TR_COLOR3};
   scrollbar-arrow-color:  {T_BODY_LINK};
   scrollbar-track-color: {T_TR_COLOR1};
   scrollbar-darkshadow-color: {T_TH_COLOR1};

I looked in the footer and there is not very much at all and no reference.

Appreciate your help as this is advanced for me.
Back to top
View user's profile Send private message
myff admin
Site Admin
Site Admin
FLAG

Virtual Cash: 92900

Joined: 22 May 2005
Posts: 32204



Add Karma

rated by 281 members
Add Comment
Show Comments


online/offline
PostPosted: Tue Dec 04, 2012 9:19 pm    Post subject: Reply with quote

remove:

background-image: url(templates/myfs_rescueremedies4/images/snow.gif); background-repeat: yes; background-attachment: fixed;
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums
Back to top
View user's profile Send private message Visit poster's website
Bradbury
Apprentice
Apprentice
FLAG

Virtual Cash: 2160

Joined: 07 Apr 2009
Posts: 214


Location: UK
Add Karma

rated by 1 members
Add Comment
Show Comments


online/offline
PostPosted: Tue Dec 04, 2012 9:35 pm    Post subject: Reply with quote

I tried that, but it takes out the whole of the background i.e. the blue and template outline plus the snow. Any other ideas?
Back to top
View user's profile Send private message
Nick(NR)
Moderator
Moderator
FLAG

Virtual Cash: 21710

Joined: 06 May 2006
Posts: 5310


Location: Medway, Kent
Add Karma

rated by 43 members
Add Comment
Show Comments

I'm better than Jose!
online/offline
PostPosted: Wed Dec 05, 2012 5:33 pm    Post subject: Reply with quote

Find

Code:
/* General page style. The scroll bar colours only visible in IE5.5+ */
body {
    background-color: #FFFFFF; background-image: url(templates/myfs_rescueremedies4/images/snow.gif); background-repeat: yes; background-attachment: fixed;
    scrollbar-face-color: {T_TR_COLOR2};
    scrollbar-highlight-color: {T_TD_COLOR2};
    scrollbar-shadow-color: {T_TR_COLOR2};
    scrollbar-3dlight-color: {T_TR_COLOR3};
    scrollbar-arrow-color:  {T_BODY_LINK};
    scrollbar-track-color: {T_TR_COLOR1};
    scrollbar-darkshadow-color: {T_TH_COLOR1};


change to

Code:
/* General page style. The scroll bar colours only visible in IE5.5+ */
body {
    background-color: #417CB9;
    scrollbar-face-color: {T_TR_COLOR2};
    scrollbar-highlight-color: {T_TD_COLOR2};
    scrollbar-shadow-color: {T_TR_COLOR2};
    scrollbar-3dlight-color: {T_TR_COLOR3};
    scrollbar-arrow-color:  {T_BODY_LINK};
    scrollbar-track-color: {T_TR_COLOR1};
    scrollbar-darkshadow-color: {T_TH_COLOR1};


then add after

Code:
#snowing {
   background-image: url(templates/myfs_rescueremedies4/images/snow.gif);
   background-repeat: yes;
   background-attachment: fixed;
}


then you can use the below on certain page that you choose

at the top
Code:
<div id="snowing">


at the bottom
Code:
</div>


so placing the two div parts above at the top and bottom of the index body, the falling snow background should only show on that page, but on others it should show the blue colour the animated image is using.

shout back if you get stuck
_________________
CALM TIME: When calm time is called, all posters in a topic must refrain from posting and take a time out to calm down.
Back to top
View user's profile Send private message Visit poster's website
Bradbury
Apprentice
Apprentice
FLAG

Virtual Cash: 2160

Joined: 07 Apr 2009
Posts: 214


Location: UK
Add Karma

rated by 1 members
Add Comment
Show Comments


online/offline
PostPosted: Wed Dec 05, 2012 10:39 pm    Post subject: Reply with quote

Thank you so much Nick!   We have no snow at the moment which is good.

Would like it on the first page, but didn't quite get how to do that. I went into Index_tpl and put the
Code:
<div id="snowing">
at the top and
Code:
</div>
at the bottom hoping to get snow just on the index page, but it didn't work.

What did I do wrong.
Back to top
View user's profile Send private message
Nick(NR)
Moderator
Moderator
FLAG

Virtual Cash: 21710

Joined: 06 May 2006
Posts: 5310


Location: Medway, Kent
Add Karma

rated by 43 members
Add Comment
Show Comments

I'm better than Jose!
online/offline
PostPosted: Thu Dec 06, 2012 9:17 pm    Post subject: Reply with quote

I would need to see the index_body.tpl as div elements can conflict and break layouts, I'd also need to see the template live
_________________
CALM TIME: When calm time is called, all posters in a topic must refrain from posting and take a time out to calm down.
Back to top
View user's profile Send private message Visit poster's website
Bradbury
Apprentice
Apprentice
FLAG

Virtual Cash: 2160

Joined: 07 Apr 2009
Posts: 214


Location: UK
Add Karma

rated by 1 members
Add Comment
Show Comments


online/offline
PostPosted: Fri Dec 07, 2012 10:55 pm    Post subject: Reply with quote

Nick(NR) wrote:
I would need to see the index_body.tpl as div elements can conflict and break layouts, I'd also need to see the template live


I have had to remove the template now because the layout and colouring was affected with too many complaints and I did'nt have the time to rectify quickly.

Alot of the text was pale blue and the index format lines were invisible.  

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    myfreeforum.org Forum Index -> Web page/template Editing All times are GMT
Page 1 of 1
 
 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Card File  Gallery  Forum Archive
Powered by phpBB © 2001, 2005 phpBB Group
Create your own free forum | Buy a domain to use with your forum