I want to have an image in my top left corner of the screen. I've already used up my background image in the body class. So I need to make another div before any header output gets sent but can't find which file to edit? Can anyone help?
I want to have an image in my top left corner of the screen. I've already used up my background image in the body class. So I need to make another div before any header output gets sent but can't find which file to edit? Can anyone help?
/includes/templates/your_template/common/tpl_main_page.php.
You can add a div just inside or outside #mainWrapper.
If you want it ABOVE the header you would actually edit includes/templates/YOUR TEMPLATE/common/tpl_header.php
If you use the way mentioned above you will want to make sure you put your new div in BEFORE the header is loaded. Much easier to put it in the header file directly.
When the world gets in my face I say Have A Nice Day.
* I DO Think and I HAVE BEEN Zenned - therefore, I AM * I donate - do you?
Custom Templates and Zen Services CRS Designs, Inc.
That's another file where the new div could go... depends on exactly where the "top left corner" is intended. If to the left of a less-than-full-width mainWrapper, then tpl_main_page.php would be appropriate. If above the header, then tpl_header.php would be appropriate.
Seeing the site and a more detailed description would let us advise the best file location.
Or you can do it with the existing DIVs but using CSS positioning -- a bit of a black art, but workable. I used absolute positioning to put my logo top-left, and set a large left-margin on all else in the header to push them to the right, and a large top-margin on the top-most sidebox to push them all down leaving room for the logo. You can see it on both sites linked in my sig.
Rob
Last edited by rstevenson; 28 Apr 2010 at 02:26 PM.
Yeah thanks guys I was able to do it using
/includes/templates/your_template/common/tpl_main_page.php