PDA

View Full Version : Asides


drew3000
February 23rd, 2006, 11:48
The headline doesn't show up in my asides. Ther'es just that bullet and then a blank bit of space and then the post starts below.

A) Anyway to include the headline?
B) Any ideas on getting rid of the bullet? I don't want it there.
C) (bonus) I would like to add a bullet to toehr elements of the sidebar. Ideas on doing that?

JohnW.
February 24th, 2006, 01:17
I think you're talking about sidebar asides. If so, Open up sidebar.php and look for the really long line at line 107 and replace it with the line below.
<p class="aside" id="p<?php the_ID(); ?>"><span class="asidelink"><a href="<?php the_permalink($post->ID) ?>" rel="bookmark" title='Permanent Link to this aside'><?php the_title(); ?></a></span><?php echo wptexturize($post->post_content) ?>&nbsp;&nbsp;<span class="metalink"><?php comments_popup_link('0', '1', '%', '', ' '); ?></span><?php edit_post_link('edit','&nbsp;&nbsp;<span class="metalink">','</span>'); ?></p>

And then add this css to your stylesheet.
.secondary .aside .asidelink {
padding-left: 0;
display: block;
font-size: 1.4em;
}

.secondary .aside .asidelink a {
margin-left: 0;
color: #444;
}
That'll answer a) and b), could you explain c) a little more please.

Gary King
February 24th, 2006, 01:33
Shouldn't asides work immediately without any additional code modifications?

drew3000
February 24th, 2006, 01:55
Yeah, I'm tlaking just about how it appears in the sidebar. Will try that fix and see how it goes. Thanks.

drew3000
February 24th, 2006, 02:02
Hmmmm. I've done a lot to the sidebar already. There's nothing at 107, but it's probably down lower. And there are a lot of long lines. Can you tell me what the line starts with code wise? Thanks.

drew3000
February 24th, 2006, 02:16
Nevermind. Found it. Switched it. Fixed it. Thanks a bunch!

lisa
February 24th, 2006, 04:12
I'm having a wierder problem with my asides.... They are appearing both in the sidebar AND as regular posts.

I haven't edited any core files, and do have Nybble's hack installed (but, it does it without the hack).

Anyone have any suggestions?

thetransformed
February 24th, 2006, 05:02
John W., I was having the same problem as Drew3000 and I implemented what you said to change which alowed the headline of the post to show up. The only problem is that the headline is the same size as the rest of the post and is scrunched up against the first line of the post rather than above it. It would be cool if I could get the healine to be above the aside entry and maybe a little bigger and a different color. How can I do this? Thanks. My blog is here: www.thetransformed.net

drew3000
February 24th, 2006, 10:39
You might want to check out the overriding css you have for sidebar text. I had given things a different look so did have to mess with the asides headlines style so they would look right.

steveo
February 24th, 2006, 11:00
I'm having a wierder problem with my asides.... They are appearing both in the sidebar AND as regular posts.

I haven't edited any core files, and do have Nybble's hack installed (but, it does it without the hack).

Anyone have any suggestions?

That is very strange. Make sure in the K2 Options that you have it for sidebar asides. BTW That's a nice clean design. :)

lisa
February 24th, 2006, 11:23
That is very strange. Make sure in the K2 Options that you have it for sidebar asides. BTW That's a nice clean design. :)

I do have it set for sidebar asides.... Thats why they're appearing twice :) When I set it for inline asides, it just removes it from the sidebar, but they arn't styled any differently than other posts.

I'm thinking it's probably something in the loop, and that it isn't excluding that catagory from the main posts. However, I have no idea how to go about checking that out... PHP is so far above my head. That's why I nearly always stick to only fiddling with CSS.

I haven't changed any PHP files except for Nybble's hack, so I don't know why mine wouldn't be working when other peoples' are. :confused:

Thanks for noticing :) I did some slight edits to a style over at http://www.improvpastence.com

lisa
February 25th, 2006, 03:10
Oh, nevermind.... It somehow fixed its self... Maybe the K2 changes just took awhile to propagate to the server. Thanks everyone for their help :)

Edit: No, I'm just a moron. I forgot that I had posted again, and it sent the asides further down the page... I really wish I knew what was going on.

lisa
February 25th, 2006, 06:22
Okay: Could someone who's sidebar asides are working correctly, and is working with an unmodified K2 loop.php file send it to me?

Re-uploading all the origninal K2 files don't seem to have done me any good. You can see what's going on over at http://unsympathetic.net . The asides are still showing up in both places, and I don't know how to not make them appear inline.