patricksunset
Forum Replies Created
-
Hi herrkarlson,
Thanks for pointing that out, it seems an update screwed it up. I reinserted my fix and it’s working again. I wish I knew why it’s not working for you. Give me some clues?Hi sleepything, sorry it has taken me so long to respond. The only thing I can think of is that there are two instances of
<?php echo wp_get_attachment_image( $attachment->ID, 'image-thumb' ); ?>
in functions.php — so either change both of them to<a href="<?php the_permalink() ?>"><?php echo wp_get_attachment_image( $attachment->ID, 'image-thumb' ); ?></a>
or just change the on that you didn’t change.Figured it out! Just had to use
"<?php the_permalink() ?>">
So the final code in functions.php is:
$image = wp_get_attachment_image_src( $attachment->ID, 'full' ); ?> <figure> <a href="<?php the_permalink() ?>"><?php echo wp_get_attachment_image( $attachment->ID, 'image-thumb' ); ?></a> </figure>
In functions.php, I found:
$image = wp_get_attachment_image_src( $attachment->ID, 'full' ); ?> <figure> <a>" title="<?php the_title_attribute(); ?>" class="colorbox" rel="attachment"> <?php echo wp_get_attachment_image( $attachment->ID, 'image-thumb' ); ?> </a> </figure>
and took out the link, to make it:
$image = wp_get_attachment_image_src( $attachment->ID, 'full' ); ?> <figure> <?php echo wp_get_attachment_image( $attachment->ID, 'image-thumb' ); ?> </figure>
Now I just need to figure out how to make the image go to the post. pinboard_post_link maybe?
Forum: Themes and Templates
In reply to: [Pinboard] site-title moves on posts… except to make it perfect, it’s more like 68px, not 60px…
Forum: Themes and Templates
In reply to: [Pinboard] site-title moves on postsI always clear my cache, but thanks.
I figured it out, the problem was I had to write the CSS THIS way:h1#site-title {
padding-top:20px;
}NOT the way in my previous post. Duhhh.
And then I have this for the site-title div:
#site-title {
padding-top:60px;
}Thanks! Your H1 / non-H1 tip helped me figure it out.
Forum: Themes and Templates
In reply to: [Pinboard] site-title moves on postsI meant ID, not class. Anyway, if I go:
#site-title h1 {
padding-top:0;
}for the post site-title, it does not change:
#site-title {
padding-top:65px;
}for the site-title on the home page. I must be missing something.
Forum: Themes and Templates
In reply to: [Pinboard] site-title moves on postsThanks, but the only CSS I can find for this is the site-title class. That’s how I styled it on the home page. I don’t understand what CSS is styling it on posts.