mocreate
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [WP-Forge] Turn on caption for featured image in posts?It did! Thank you for talking me through this. ??
Forum: Themes and Templates
In reply to: [WP-Forge] Turn on caption for featured image in posts?Ah, no worries — found it — I’m using an older version of the theme (6.3.1.2), but in content.php, line 38:
Before:
<?php if ( is_single() ) : ?> <?php the_post_thumbnail(); ?> <?php endif; // end if ?>
After:
<?php if ( is_single() ) : ?> <?php the_post_thumbnail(); ?> <?php if ( $caption = get_post( get_post_thumbnail_id() )->post_excerpt ) : ?> <p class="caption"><?php echo $caption; ?></p> <?php endif; ?> <?php endif; // end if ?>
Forum: Themes and Templates
In reply to: [WP-Forge] Turn on caption for featured image in posts?There is — I just need to find where thepost_thumbnail is called.
Forum: Themes and Templates
In reply to: [WP-Forge] Turn on caption for featured image in posts?I typed faster than my thoughts. I meant turning on captions in featured images so they show in posts. ??
Forum: Themes and Templates
In reply to: [WP-Forge] Turn off hamburger menu for mobileThomas,
Many thank yous — it did the trick, and I’ve tweaked the styling so it’s more agreeable. ??
Best,
MichaelForum: Themes and Templates
In reply to: [WP-Forge] Turn off hamburger menu for mobileUnfortunately I can’t share as the client hasn’t released the site yet to the public, but it would be similar to what I’ve created at kahnfections.com
Forum: Themes and Templates
In reply to: [WP-Forge] .more-link for populated excerptsThat last code snippet did the trick — many thank yous!
Forum: Themes and Templates
In reply to: [WP-Forge] .more-link for populated excerptsMany thank yous! Will give it a go.
Thomas,
Reply sent — thank you!
Best,
MichaelForum: Plugins
In reply to: [Mailchimp List Subscribe Form] Group selections no longer appear on formThe switching lists back and forth trick worked — thank you!
Forum: Plugins
In reply to: [Advanced iFrame] Warning: Cannot modify header information PHP errorExcellent! Thank you!!
Forum: Plugins
In reply to: [Advanced iFrame] Warning: Cannot modify header information PHP errorIs it still version 6.5.4 or will it be posted as a newer version? Many thank yous for looking into it.
Looking at this, I’m not sure we need to find the others as we can let media queries set the look of the rest. Let me amend to:
It would be awesome if we can set the breakpoint between small and medium in the customizer.
Ok! Solved. Here’s what you do.
Edit foundation.css in two places. I wanted the nav bar to go mobile at less than 53.125em, so
line 1692
meta.foundation-mq-topbar { font-family: "/only screen and (min-width:53.125em)/"; width: 53.125em; }
line 2038:
@media only screen and (min-width: 53.125em) { background: #333333; overflow: visible; }
It would be awesome if this could be built into the theme where we can set breakpoints for small, medium, large and x-large in the customizer.
I’ve got a forum question posted here.
That said, playing around with inspect element, I found that I got what I wanted by manipulating this bit of code:
@media only screen and (min-width: 40.0625em) .top-bar:before, .top-bar:after { content: " "; display: none; }
changed min-width variable to:
@media only screen and (min-width: 53.1875em) .top-bar:before, .top-bar:after { content: " "; display: none; }
I found where to change it in foundation.css in the theme, but doing it that way doesn’t seem to work.