eric3d
Forum Replies Created
-
Forum: Plugins
In reply to: [Gutenberg] Cover block borders not available with custom themeThanks Felipe. A simple sentence like “this features requires a theme with Appearance Tools enabled” would have helped greatly without adding much length to the announcement. It seems to me that mentioning dependencies is a must.
Forum: Plugins
In reply to: [Gutenberg] Cover block borders not available with custom themeThanks. I figured it out after examining the Twenty Twenty Three theme closely and can confirm it works. Just wish that was mentionned in the announcements touting the new feature.
Forum: Plugins
In reply to: [Gutenberg] Prepend query loop blockForum: Plugins
In reply to: [Gutenberg] Disable Cover Block text colorThanks, but this still sets a specific color for all text within a cover block.
The third CSS rule ( .wp-block-cover h1:not(.has-text-color),… ) with color: inherit will make all those elements white.
With my workaround, the text color is defined 3 times:
1. By me, in theme.json elements
2. By Gutenberg, changing everything to black or white
3. By me again, in CSS targeting the elements within a cover blockOne way would be to edit the plugin file ajax-filter-posts.php, line 312 from:
<div class="am_thumb"> <?php the_post_thumbnail('full'); ?> </div>
to:
<div class="am_thumb"> <a href="<?php echo get_the_permalink(); ?>"><?php the_post_thumbnail('full'); ?></a> </div>
But that will get overwritten by the next plugin update. It would be better if the developer could add a “link_thumbnail” parameter to the shortcode and update the template to something like:
<div class="am_thumb"> <?php } if( $args['link_thumbnail'] == true ){ ?> <a href="<?php echo get_the_permalink(); ?>"><?php the_post_thumbnail('full'); ?></a> <?php } else { ?> <?php the_post_thumbnail('full'); ?> <?php } ?> </div>
Forum: Plugins
In reply to: [Gutenberg] Disable Cover Block text colorThe only solution I found was to redefine the styles in my theme CSS. I would have preferred a more elegant solution.
// Cover Block override .wp-block-cover .wp-block-cover__inner-container, .wp-block-cover-image .wp-block-cover__inner-container{ color: inherit; } .wp-block-cover-image.is-light .wp-block-cover__inner-container, .wp-block-cover.is-light .wp-block-cover__inner-container{ color: inherit; } .wp-block-cover h1:not(.has-text-color), .wp-block-cover-image h1:not(.has-text-color), .wp-block-cover h2:not(.has-text-color), .wp-block-cover-image h2:not(.has-text-color) { color: var(--wp--preset--color--secondary); } .wp-block-cover h3:not(.has-text-color), .wp-block-cover-image h3:not(.has-text-color), .wp-block-cover h4:not(.has-text-color), .wp-block-cover-image h4:not(.has-text-color), .wp-block-cover h5:not(.has-text-color), .wp-block-cover-image h5:not(.has-text-color), .wp-block-cover h6:not(.has-text-color), .wp-block-cover-image h6:not(.has-text-color) { color: var(--wp--preset--color--tertiary); } .wp-block-cover p:not(.has-text-color), .wp-block-cover-image p:not(.has-text-color) { color: inherit; }
Forum: Plugins
In reply to: [WooCommerce] Keep Product short description metabox openThanks. While the CSS works, it’s not a very elegant solution.
I did a bit more troubleshooting since a test site was not exhibiting this problem. I updated the test site’s plugins one at a time and as soon as I updated WooCommerce from 6.9.3 to 7.1, the same problem appeared.
Since I’ve had the issue before 7.1, I assume it’s a regression in WC 7.
All set. Although it’s weird that it’s the default gallery type.
Update: activating image optimization converts the gallery to a tiled gallery. Changing it to a thumbnail gallery fixed the issue.
Forum: Plugins
In reply to: [List category posts] Tags instead of CategoriesPerfect. Thanks!
Thanks. I downgraded to PHP 7.4 and the warning went away.
Eric
Forum: Plugins
In reply to: [Lightbox with PhotoSwipe] Remove webkit button shadowYou’re correct, it came from somewhere else in the theme. Thanks for looking into it.
For clarification, the lightbox itself works fine. It’s the body:before CSS rule that gets messed up.
Twenty-fifteen CSS:
body:before { background-color: rgba(20, 20, 45, 0.8); box-shadow: 0 0 1px rgba(0, 0, 0, 0.15); content: ""; display: block; height: 100%; min-height: 100%; position: fixed; top: 0; left: 0; width: 29.4118%; z-index: 0; /* Fixes flashing bug with scrolling on Safari */ }
3D Flipbook client.css:
body::before { position: fixed; content: ' '; top: 0; left: 0; width: 100%; height: 100%; background-color: #000; z-index: -10; opacity: 0; transition: opacity 0.5s, z-index 0.5s step-end; }
But being able to prevent client.css from loading would also allow me to adjust other things.
Eric
Thanks,
I have tried wp_deregister_style(‘3d-flip-book-client’); and wp_dequeue_style(‘3d-flip-book-client’); both as add_action and add_filter but cannot prevent that style sheet from loading.I see my style flash for 1 second and get overwritten as soon as client.css is loaded.
Eric
Forum: Plugins
In reply to: [RSS Feed Retriever] Clear cache manuallySomething like this seems to work: add the following lines to the file RSS_Retriever_Feed.php, inside the private function get_cached_feed(), line 94:
if ( $_GET['clearrsscache'] ) { return false; }