Even with User pictures in posts/comments disabled under the theme configuaration, the nodes give you a blank space next to the title where a photo would go. This is likely due to a bug in the class for the div...

It assigns a class of "with-photo" or "without-photo" probably based on whether the user has a photo uploaded or not and not based on the configuration.

Can be fixed by going to sky/preprocess/preprocess-node.inc and deleting line 39 outright, which is not ideal, but a quick patch for now until I know the variable that determines whether a user picture is shown or not.

CommentFileSizeAuthor
#5 ImageSlippingDown.png25.83 KBg000fy
#5 ImageFine_Event.png22.29 KBg000fy

Comments

drupal_newb’s picture

Ok, deleting that line outright screws the width of the boxes. Changed "with-photo" --> "without-photo".

jacine’s picture

Status: Active » Fixed

Sorry about this. I was checking the wrong variable by accident. I just committed a fix to HEAD. http://drupal.org/cvs?commit=312536

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Weka’s picture

Status: Closed (fixed) » Active

Thank you for an excellent theme.

I am experiencing the spacing below the title problem with content types that have the "Display post information on" option in /admin/build/themes/settings disabled.

Both "User pictures in posts" and "User pictures in comments" options are disabled.

I think the culprit is the empty <div class="meta">   </div> tag.

Here is the HTML output from a Page Content Type.

<h1 class="title">Test Page</h1>
<div class="clearfix" id="content">
  <div class="node clearfix node-page node-full published promoted not-sticky without-photo " id="node-12">
    <div class="meta">
                            </div>
  <div class="content clearfix">
    <p>Test Page body<br>
    Vestibulum arcu enim, fringilla sed viverra eu, .........

Tested with Sky 6.x-3.10 and Drupal 6.15

g000fy’s picture

StatusFileSize
new22.29 KB
new25.83 KB

Weka, did you resolve your issue? I'm facing an issue but not sure if it is same as yours. In my case, the user avatar is slipping down in the post information box (See screenshot). This is happening with any normal node content type which hasn't been overridden through a custom page with the exception of an "Event" type. For this type, the rendering is absolutely fine.

g000fy’s picture

Okay, I found from another thread that this is a different issue. Any idea about my issue by any chance?

g000fy’s picture

Alright, I found that this is due to CSS element h2. If I make it inline (display: inline) instead of block, the placement is absolutely fine.

Sky's style.css

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lucida Grande', Verdana, Arial, sans-serif;
  clear: both;
  display: inline;
g000fy’s picture

Also, I'd to make position of picture "relative" from "absolute"

.node .meta .picture {
  float: left;
  position: relative;
  margin: 0 1em 0 -8em;
  padding: 0;
  border: solid 1px #777;
  -webkit-box-shadow: 5px 5px 5px;
}
jacine’s picture

Status: Active » Closed (cannot reproduce)

I'm not able to produce the problem pictured in #5 at all.