How to place sidebar-last outside content section? I need this, because I want to have
a fixed content block and two clearly separated sidebars. My content is with many paragraphs
and small pictures, so it looks much better if it is fixed and looks the same in every resolution.

I have very little CSS knowledge, however I tried to change css in style.css "Column Layouts" section. I changed content width, but I didn't manage to place that sidebar outside.

Thanks.

CommentFileSizeAuthor
#14 Picture 1.png310.64 KBgdoteof
#12 example-outsidecontent.jpg144.12 KBclint.davis

Comments

eidolon night’s picture

I too would like to do this. I'm comfortable with php and and css though, so if anyone could point me in the right direction I can do it on my own and post the process here.

EDIT: Actually, for me at least, I'd be happy with simply reversing the layout so that the primary sidebar is on the right. BTW awesome theme!

mindaugasd’s picture

It is difficult seperate content and sidabar-last? It is enaugh to change something in "style.css" file? When I would try more... Or maybe it is needed to change some of the php? When it would be bad... (no knowledge) So, I only want to know, where to look? php or css?

mindaugasd’s picture

Sorry, I made a mistake :) I notice that these are actually separated, but my frontpage content was added as block to 'content bottom' and then I changed something badly in css. I uploaded a original css file and it seems to look ok. Now I only need to change blocks widths and margins :)

stephthegeek’s picture

Status: Active » Fixed

I think this is fixed then? We'll cover some of the features like this in the upcoming docs on the theme, but major changes to sidebars/layout are gonna have to be your own educational experiences :)

eidolon night’s picture

Yes, in my case I simply floated the first sidebar to the right and adjusted padding. Very nicely commented CSS. I was originally thinking of creating a subtheme, but we've done so much heavy modification thhat I think it would be out of that scope. I'll post the site when we're done. Thanks for the awesome theme.

acakadut’s picture

Status: Fixed » Active

can u show which part do u changed ?, i need to do this too

are u sure it's only about css for three column ?

because i see this on page.tpl.php :

<div id="content">
.....
.....
               <?php if (($sidebar_first) && ($sidebar_last)) : ?>
                <?php if ($sidebar_last): ?>
                <div id="sidebar-last">
                  <?php print $sidebar_last; ?>
                </div><!-- /sidebar_last -->
                <?php endif; ?>
              <?php endif; ?>>
....
....
div><!-- /content -->

this's for 3 column right ?

*i'm noob on css and php

gatezone’s picture

Yes, please share the "simply floated" process if you (or someone else would) please. I"ve managed to figure out most of my other necessary customizations.

I'm still uncertain what type of site would want major components on the page to slide around in the way this and some themes do. I like the fluid/flexible way components will size to available window space, but see it as a design issue (not a good thing and not a feature) when major components (menu tabs, columns, or main content) jump off the visible window area while a window is resized. Better for them to remain where they are relative to the other main components when the window size is reduced, no? Despite my less than fluid perspective, I'm interested in understanding what I'm missing.

Choice seems to be the key in the best themes (and this theme has lots of choices) so having a way to "fix" the float or the relative relationship between components/elements would be great. Thanks, GZ

eidolon night’s picture

/*******************/
/* SIDEBAR REGIONS */
/*******************/

#sidebar-first {
  float: left; <-- change this to "float: right;"
  overflow: hidden;
}

After making the above change you'll need to adjust some margins/padding but the end result is a "normal" right sidebar.

acakadut’s picture

can u show which part of margin and padding we must change ?, TIA

clint.davis’s picture

How do i get my sidebar-last INSIDE the content area.

http://drupal.org/node/315555

That image shows its possible for the text to expand outside after the sidebar.

However i have the latest stable version and cant recreate the way the image says it can work.?

Please help,

Clint.

acakadut’s picture

sidebar-last already inside the content area, that's the default

clint.davis’s picture

StatusFileSize
new144.12 KB

Attached the image showing that the words in the node don't wrap around the sidebar-last like it does on the sample image.

gdoteof’s picture

I moved the

               <?php if (($sidebar_first) && ($sidebar_last)) : ?>
                <?php if ($sidebar_last): ?>
                <div id="sidebar-last">
                  <?php print $sidebar_last; ?>
                </div><!-- /sidebar_last -->
                <?php endif; ?>
              <?php endif; ?>>

outside the content-wrapper div, right below where it prints $sidebar-first and i got the 3 columns working normally

gdoteof’s picture

Category: support » bug
StatusFileSize
new310.64 KB

so this seems to be broken. the attached is a screen shot of the theme fresh out of the box with the nav menu moved to sidebar-last

jwolf’s picture

Category: bug » support

@gdoteof - this is not a bug. This is by design.
Changing this support request back to a support request

mooserun’s picture

Version: 6.x-1.3 » 6.x-1.5

Reply to post#12: same issue and same question

wes_elder’s picture

Hey clint.davis, here is your answer.

I commented out the following overflow line (see below) in the style.css and now the text wraps.

/*********/
/* NODES */
/*********/

div.node {
  margin: 0 0 30px;
/*  overflow: hidden; <-- commented out */
}
jwolf’s picture

Status: Active » Closed (works as designed)

Maybe someone in the TopNotchThemes group can help -> http://groups.drupal.org/topnotchthemes

wes_elder’s picture

Status: Closed (works as designed) » Closed (fixed)

Issue was corrected in a new release