This forum is for assistance with theme development.

Broken blocks - theme, css, or what?

screenshot

ok this has been driving me nuts for ages so i'll try to explain here. When you look at the above screenshot, the search box is cut in half. No matter what block is on top, it cuts in in half on some pages, but not others. I've tried all sorts of things on the css still no luck. I am modifying the 'combustion' theme. (btw, it is fine in Firefox but the problem happens in IE.)

Has any one else ever encountered this? or have any advice?

Change list order

Hi !

Could somebody tell me how to reverse the order this list is displayed ?

Now, with this code, the flexinodes are displayed from oldest to newest, i'd like them to be displayed by date of creation with the latest first.

Multiflex Theme

Hello:

I'm trying modify this module (http://drupal.org/project/multiflex) but i don't understand all the css code, i want to change the dimenssions, i would like 800 px, not 770 (by default), and i would like have a content block (central block) whose "width" be 500px.

Sorry for my english.

Regards

Marmota

Contrib: Customizing theme to make forum look more like a "regular forum"

I recall a thread with several Drupallers asking for the forum to look more like a "regular forum"

I spent a bit of time customizing my theme towards such a goal, so here's my contribution- it should work with most themes (modify as necessary)

replace your theme's comment.tpl.php with this

<div class="comment<?php if ($comment->status == COMMENT_NOT_PUBLISHED) print ' comment-unpublished'; ?>">
  <h3><?php print $title; ?></h3>
  <p class="submitted"><?php print $submitted; ?> <?php if ($new != '') { ?><span class="new"><?php print $new; ?></span><?php } ?></p>
<div class="usericon"><?php if ($picture) {print $picture; } ?></div>
 <div class="comment-body"><?php print $content; ?></div>
  <p class="links">&raquo; <?php print $links; ?></p>
</div>

then add this to the theme's style.css


.comment .submitted {margin-top: -4px; font-size: .8em;}
.comment .links {text-align: right; font-size: .9em;}
div.comment {padding: 7px 10px 0px 10px; background: #d1d1d1; border: 1px solid #444; border-right: 2px solid #222; border-bottom: 2px solid #222; margin-bottom: 20px;}
.comment-body {padding: 1px 25px 10px 80px; background: #fff; min-height: 55px;}
div.usericon {float: left; margin-right: 12px;}

tr.odd {background: #fff;}
tr.even {background: #ccc;}
td.created, {font-size: .9em; padding-top: 5px; padding-bottom: 5px;}
td.last-reply {font-size: .9em; text-align: right; padding-left: 5px;}

Dealing with php and html

Hi !

I'm sure this will be really easy for a php coder but I'm not good with php...

I try to modify a flexinode block code but I really don't know how to insert the php variables in the html etc.

Do you think you can help me to make this work ?

Page vertically scrolable when resizing browser

Hi

I have two problems regarding the CSS of my theme. I'm using Friendselectric.
1. I have defined 3 parallel regions in my node.tpl.php and have styled them a bit but as I'm only just beginning to grasp CSS I think I'm missing something as the right region overlaps the middle one. Here is the code. Where am I going wrong?

Pages

Subscribe with RSS Subscribe to RSS - Theme development