5ummer5 Posted January 4, 2011 Share Posted January 4, 2011 Hi,I was just wondering if its possible to edit this code on the order-carrier.tpl. {l s='(read)'} Basically I would like it to show in the window as it does but inside an additional div. Even though it says to display content only there are still some background images and footer text on show. If I can get everything inside the thickbox window to open in another div I will be able to turn them off with CSS.Does anyone know how?!Thanks! Link to comment Share on other sites More sharing options...
5ummer5 Posted January 5, 2011 Author Share Posted January 5, 2011 has anyone any ideas about this? Link to comment Share on other sites More sharing options...
rocky Posted January 6, 2011 Share Posted January 6, 2011 You could change line 40 of header.tpl in your theme's directory from: <body {if $page_name}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if}> to: <body {if $page_name}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if}{if $smarty.get.content_only == 1} class="content_only"{/if}> Then you could use code like the following to target the thickbox: body.content_only 1 Link to comment Share on other sites More sharing options...
5ummer5 Posted January 6, 2011 Author Share Posted January 6, 2011 You absolute legend! That worked a treat! Thank you very much for your help!! Link to comment Share on other sites More sharing options...
BreizhInWeb Posted March 29, 2013 Share Posted March 29, 2013 3h research to finally get this post thank you! 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