This forum is for assistance with theme development.

Centering bluemarine

Hey.

Working on theme based around fixed width 3-column blue marine.

Basically cut it to 800px with some success and now trying to center it.

In page.tpl I have put it into all in a container (obviously), which is how I managed to cutto 800, but no idea of how to align in center.

have tried obvious ones of right and left margins as auto, etc, but figure something is stopping me - I just don't know what.

In comparisons to B7 and Burnt I saw that one used a template (but couldn't see where it was referenced in teh code) and basically got stuck.

customizing the rss feed

Most of the content on my site uses a custom content type created with CCK. I also created a custom node.tpl.php for this content type (the new file is called node-content-...).

The problem is that the items in the RSS feed seem to be formatted with the original node.tpl.php instead of the more specific one.

Is there a way to specify what node template you want to use for RSS feeds?

Thanks,
Marius

*new theme released*

Ok, This is our first contribution to the Drupal community, so Post may not be in the right place, right forum etc ...

We just released a port of a nifty theme for Drupal

Original theme can be found there :

http://openwebdesign.org/viewdesign.phtml?id=2906&referer=%2Fmost_popula...

The Drupal Version demo : (temporary URL)

http://hostmyspace.net/drupal_test/

Custom template for one page

Hi all,

I am new to this drupal system. I understand that you have a pasic template system. but i am looking to create one standalone page with hads a different layout to all the other pages in the site. The idea is to have a page that just takes in a few blocks. but is not a default template.

Is there anywhere to get this done or a tutorial somewhere?

thanks all

Removing xxx's blog from the posts

Please don't tell me to look at http://drupal.org/node/32050 for the documentation on how to do this, I already have, and it didn't work!

My issue is that when I un-check all the relevant boxes in the admin - themes - settings page, I still get xxx's blog coming up on all blog posts! I've also tried it with different themes, (including blumarine). Is this an installation problem, template? or module?

CSS help - I[m completely lost :)

OK so i've decided on an open source theme to develop my drupal site and am making steady progress.

I'm currently converting http://openwebdesign.org/viewdesign.phtml?id=2914&referer=%2Fmost_popula... and everything is now functioning the way i would have hoped apart from a few things that are driving me crazy.

The theme has a right and left content area. These are defined in css as

.left {
	float: left;
  width: 490px;
	margin: 0 0 10px 0;
}

.right {
	float: right;
	width: 245px;
	margin: 0 0 10px 0;
}

And function as they should. The entire theme is centre positioned at 760px.

Now what i'm trying to do is make my forums full 760px long by disabling the right column blocks when viewed.

I achieved this somewhat with hashing around with the CSS but it wasn't exactly very clean and potentially has problems later on.

I checked in page.tpl.php if content existed in the right column before displaying the

like so
<?php if ($sidebar_left) { ?><div class="right">
      <?php print $sidebar_left ?>
    </div><?php } ?>

Ignore the sidebar_left attribute its just the way the site was originally set on regions. It does go to the right :)

So the div doesn't display anymore. Perfect. But obviously the left content area is still set to 490px.

I did override this with

#forum table {
	width: 760px;
}

Pages

Subscribe with RSS Subscribe to RSS - Theme development