offpeakdesign
Forum Replies Created
-
nevermind, I added !important to my css and that overrode the default.
I realized I could disable the other themes in the settings. 🙂
Nevermind, I realized you were right, I had to override the theme styles for a:hover. Thanks
Thanks for your response. I tried the clear styles option and it still appears. Here’s an example:
Awesome. Glad I could contribute!
Makes perfect sense! Thanks!
Thanks, good to know, dylllaaannn. What I ended up doing before I saw your suggestion was made edits in my css to make the gallery position absolute at the top. Then added a top margin the height size of the gallery to my content div, so that it goes below the gallery.
For example:
If my gallery is 600px in height…
.photospace {position:absolute !important; top:0;}.post-format-gallery .entry-content{margin-top:600px}So far I’m not experiencing any issues with this solution. Note that this will need to be further tweaked if you wanted to have some posts have a gallery and some posts not to have a gallery (Otherwise, you’d end up with a big blank space above the main content where you didn’t have a gallery). Probably would use or create a separate post template for slideshow galleries only.
Good idea, thanks, dylllaaannn. That seems like a good and simple work around!
genius. Thank you thank you thank you.
Thank you! That was what I was looking to do.
I’m hoping you could help me just a little bit more.
My original nav code looks very different to me and I’m not sure how to integrate it with what you’ve shared. I want to keep the original formatting, but to insert the ‘work’ meta key just before the post title with a dash in between.
Here’s the original code:
<?php previous_post_link( '<div class="previous">' . __( '%link', 'hatch-pro' ) . '</div>', '<span class="post-nav-text">← Previous:</span> %title' ); ?> <?php next_post_link( '<div class="next">' . __( '%link', 'hatch-pro' ) . '</div>', '<span class="post-nav-text">→ Next:</span> %title' ); ?>any updates to this?
I added [gallery attachment="false"] to the post and it still links. I guess I’m not clear on what to do here to disable the links.
Hi sksmatt,
can you please tell me what file I would make that edit to? thanksActually, I think it would be better to switch to another slider. Do you recommend one that works well on mu sites?
Okay, so I’ve added this code to functions.php…
function get_image_path ($post_id = null) { if ($post_id == null) { global $post; $post_id = $post->ID; } $theImageSrc = get_post_meta($post_id, 'Image', true); global $blog_id; if (isset($blog_id) && $blog_id > 0) { $imageParts = explode('/files/', $theImageSrc); if (isset($imageParts[1])) { $theImageSrc = '/wp-content/blogs.dir/' . $blog_id . '/files/' . $imageParts[1]; } } return $theImageSrc; }but that doesn’t seem to work. when I look at the slider, and look at the image info for the image that isn’t working, I see that the img source is:
Any thoughts?