By annahelin on
Hi!
I want to move the right sidebar so it's inside the div id="content". I moved it in the tpl.php file but it get placed under the content div instead inside of it even though it's in the right place in the tpl.php. I tried flushing the cache.
Comments
If it's showing below, then the content div is closing
before the right sidebar.
Can you copy/paste some code here of the beginning of the content section where the right side is?
Here is some of the code from
Here is some of the code from the tpl:
And here is from the website HTML:
According to that html
your sidebar is inside the main-inner.
Yes I know that, but I do not
Yes I know that, but I do not know how to change in the tpl to get it inside the content div, because in the tpl it is inside the content div.
Technically it's after
since it appears after the print $content.
What's your css on the right sidebar? If it's a float then it needs to come before the print $content.
No float
No, there is no float. The css looks like this:
If there's no float then the div will always appear
below the content as per your code:
If you want your sidebar beside your content it needs to go before the content, and have a float right.