Zen Follower
- Join Date:
- Sep 2004
- Posts:
- 146
- Plugin Contributions:
- 0
Move Sideboxes Outside of MainWrapper
how do I move the right and left sideboxes outside of the main wrapper??
Stacee Edwards
Started by acreativepage on 8 Oct 2009, 10:18 PM · Views: 2,054
Zen Follower
how do I move the right and left sideboxes outside of the main wrapper??
Stacee Edwards
Black Belt
Why would you want to do that???
Zen-Venom Get Bitten
Zen Follower
I just like the look of it better. I saw this website http://www.zingslings.com/shop/ and liked the look of the sideboxes outside of the mainwrapper.
Stacee Edwards
Black Belt
They are not outside of the mainWrapper on that site
Where is your site?
Zen-Venom Get Bitten
Zen Follower
Is that just a background image then?
Stacee Edwards
Black Belt
No background image...
What do you need assistance with?
Zen-Venom Get Bitten
Inactive
What you refer to as "sideboxes outside of the mainwrapper" is just the look of the Template. As there is no border around it, it looks like the left & right sideboxes are outside, but they are not.
The learning is in the doing.
Zen Follower
Thanks Rob!
What I'd like is for the sideboxes to be outside of the MainWrapper. Is that possible? The way hers is set up, what looks like the MainWrapper changes sizes as the pages change and I don't want that so it woud be better to have the sideboxes outside of the mainwrapper to avoid that. Possible?
Stacee Edwards
Totally Zenned
That is just a border around the center column. It makes it look like the side boxes are floating outside it, but is just a visual trick.
To directly answer your question, yes, you can move the sideboxes outside mainWrapper, but I think you misunderstand what is needing to be done to get the effect you demo.
It is not moving things outside anything, just drawing borders around some parts and not others.
Zen Follower
I understand now that the demo I sent was not the sideboxes outside of the mainwrapper however, moving the side boxes outside of the MianWrapper is what i want to do. I want them to sit exactly where they are except outside of the main wrapper. I understand I'll have to change the size of the mainwrapper to accomodate this and to acheive what I want. So, how do I go about doing this?
Stacee Edwards
Black Belt
Stacee,
You keep stating that you want something but you have not explained what look you want nor provided a site that we can assist you in obtaining a certian look.
If you stay intent on doing what you say you need to look at the arrangement of elements inside a copy of tpl_main_page.php
You will see that there are 3 tables defined within the mainWrapper div.
Do what you want with them
Zen-Venom Get Bitten
Zen Follower
I sent an example URL of EXACTLY how I want it to look. Not sure how much better of an explanation I can give or show.
Stacee Edwards
Black Belt
I sent an example URL of EXACTLY how I want it to look.
Myself and others have have stated that the sideboxes ARE NOT outside of the mainWrapper on that site.
Not sure how much better of an explanation I can give or show.
Start with your site and what you do not like or want to change
Zen-Venom Get Bitten
Totally Zenned
acreativepage:
I understand now that the demo I sent was not the sideboxes outside of the mainwrapper however, moving the side boxes outside of the MianWrapper is what i want to do. I want them to sit exactly where they are except outside of the main wrapper. I understand I'll have to change the size of the mainwrapper to accomodate this and to acheive what I want. So, how do I go about doing this?
OK. The file you want to start hacking (and I mean really hacking) is includes/YOUR-TEMPLATE/common/tpl_main_page.php
Look inside the right and left column <td> tags and take that code and put it inside a <div> outside the main wrapper div.
Then you can delete the un necessary table cells that previously held the left and right columns.
You will need some nice CSS to make things look as you wish (however that is)
Looking forward to seeing your creation.
Now you have point to start at.
Zen Follower
It appears that Rob understands what I am looking for. Rob, do you know how I go about ding this?
Stacee Edwards
Zen Follower
I get that, but as I explained that's still the look I want to achieve however, I want to achieve that look by placing the sideboxes outside of the MainWrapper. I have explained myself enough here so now I'm just waiting for someone to help me on how to do this. No need for the URL of my site as that will not help as a visual aid in explaining what I want to achieve. If the site I'm working on was a good example as to what I am looking for then I wouldn't be asking the question.
Stacee Edwards
Zen Follower
Thank you KIDDO!!!! : ) I will send you a link when it's all complete!
Stacee Edwards
Black Belt
I have explained myself enough here so now I'm just waiting for someone to help me on how to do this.
I posted what you needed to do in my post#11 and kiddo reiterated what I posted
Zen-Venom Get Bitten
Tell staff why this post should be reviewed.