Sidebar question
Posted on: Sun, 06/01/2008 - 18:36
Sidebar question
Hey,
I have a few questions about the sidebar. Im finding that certian times the content or an image in the main body on a page will go past the sidebar border and partially cover sidebar content. How do I make the sidebar have a strong border, I.E. It wont let anything extend past the body field.
Secondly, how do I make the sidebar not appear at all? With views and listed pages I feel that with some customization I can customize different sidebars and different pages, but for some pages I would like the sidebar not to appear at all. How can this be accomplished?
Thanks alot!
-Cameron

Hi,
You can control the image width of the front page-placed images and how they appear on their respective full page view. In other words, when a user clicks on any front page story, the resulting page that has the image at the top (for the Feature block 1 images) can be controlled through Imagecache and adjusting the content types settings.
If you go to here within the administration section:
/admin/content/types/story/fields/field_imagetheme
or within your breadcrumb it would look like this:
Administer / Content management / Content types / Story / imagetheme
Then go to the settings called:
"Maximum resolution for Images:"
You should be able to add what you need here, which should be:
640x480
640 should always be the maximum width, but you can adjust the height as you see fit. I don't like the look and feel of huge images, so I might change the height to something like 250 or 300.
This will fix your images going over into the right column.
As for not displaying the right column at all, you'll need to know how to create a custom .tpl file for the node type you are wanting to adjust/remove the column on.
Since the content portion of the page is pretty large in this theme, I don't know why one would want to completely drop the right column. Perhaps for a forum...?
So, in this case, you'd create a new tpl.php file called page-forum.tpl.php, then you'd have to tweak CSS to make sure the page width and other page rendering are met.
Hope this helps.
Post new comment