bruce-rez Posted January 12, 2011 Share Posted January 12, 2011 I inserted a Flash animation in the Header through header.tpl file. It works fine.The problem is that It appears on all the pages. I want to show it Only in Home page.How can I figure it out?Thanks for any help. Link to comment Share on other sites More sharing options...
rocky Posted January 13, 2011 Share Posted January 13, 2011 Add the following before the Flash code: {if $page_name == 'index'} and the following after the Flash code: {/if} Link to comment Share on other sites More sharing options...
bruce-rez Posted January 13, 2011 Author Share Posted January 13, 2011 It worked. Thank you for your help.Other question:Since I moved the 3 columns down to make room for the Flash/Header in Home page, how can I move the 3 columns up again in their default position for other pages without affecting the Flash/Header in Home page?Thanks in advance. Link to comment Share on other sites More sharing options...
rocky Posted January 15, 2011 Share Posted January 15, 2011 You have not provided enough information to help. Can you provide a link to your website, or screenshots? Link to comment Share on other sites More sharing options...
bruce-rez Posted January 15, 2011 Author Share Posted January 15, 2011 Hi Rocky,I've enclosed 2 screen shot of Home page with Flash/Header and another one of Rings page without Flash in the Header.As you see in page there is an empty space which was previously occupied by Flash in Home page.Since I work in localhost, unfortunately I cannot provide any link to preview my web page.Thank you. Link to comment Share on other sites More sharing options...
rocky Posted January 15, 2011 Share Posted January 15, 2011 I'm not familiar with how your theme is coded, so I can't be specific about what to do. There's obviously a height, margin or padding somewhere that needs to be reduced. Link to comment Share on other sites More sharing options...
bruce-rez Posted January 15, 2011 Author Share Posted January 15, 2011 There is "margin-top" property for left/right columns in global.css that I modified the value for inserting the flash/header.I think this global.css is the only one used for all pages (ex: product pages, contact pages, etc...) regarding left/center/right column. I am wondering if there is another css file for achieving this kind of task. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now