renate1975
Forum Replies Created
-
Hello,
Thank you for your quick reply! I did try, it doesn’t change anything unfortunately.
Regards, Renate
I am having the exact same issue as as well. Can’t get rid of the grey, is there a solution?
Thank you
Hello,
I deactivated the app, and the problem is still there. Allthough it still feels like it has something to do with Momoyoga ;). It might be something I did when adding the link on the page? I haven’t touched the media menu during this process at all though. And I find it mystifying that it only occurs on the page with the momoyoga schedule, when every website page has a social menu.
Any advice is welcome. I will post when I found a solution as well.
Forum: Plugins
In reply to: [Extra Options For The Twenty Twenty Theme] Plugin conflict with woocommerceIt’s been sorted! I have added srcset, to the code you gave in another thread, succesfully.
add_filter( 'twentytwenty_site_logo', function( $html, $args, $classname, $contents ) { if ( is_page_template( 'templates/template-cover.php' ) && has_custom_logo() ) { $logo = get_custom_logo(); $logo = preg_replace( '@src="([^"]+)"@', 'src="https://www.placeholder.nl/wp-content/uploads/2020/04/cropped-logo-2.png", srcset="https://www.placeholder.nl/wp-content/uploads/2020/04/cropped-logo-2.png 616w, https://www.placeholder.nl/wp-content/uploads/2020/04/cropped-logo-2-300x225.png 300w" sizes="(max-width: 616px) 100vw, 616px" width="616" height="462"', $logo ); $contents = sprintf( $args['logo'], $logo, esc_html( get_bloginfo( 'name' ) ) ); $wrap = $args['condition'] ? 'home_wrap' : 'single_wrap'; return sprintf( $args[ $wrap ], $classname, $contents ); } return $html; }, 10, 4 );
- This reply was modified 4 years, 6 months ago by renate1975.
- This reply was modified 4 years, 6 months ago by renate1975.
- This reply was modified 4 years, 6 months ago by renate1975.
Forum: Plugins
In reply to: [Extra Options For The Twenty Twenty Theme] Plugin conflict with woocommerceHello there,
I have tried to add code to function.php in my childtheme. Including srcset, but it didn’t work and I deleted it again. Now: there is no logo on my cover template. Completely gone. But I have gone back to the original situation, so I don’t get it.
Just an update of the complete mess I am in.
Correction:
I was trying css as well, so that nothing showed isn’t completely down to your code. What actually happens when I just use your code:
I see the logo that I see on every page. But when I check elements in my browser I see that the img src has actually changed (that is the right file), the srcset hasn’t.
Sorry for the confusion!
- This reply was modified 4 years, 6 months ago by renate1975.
Hello,
For some reason the ‘extra options for twenty twenty’ plugin, conflicts with the woocommerce plugin. So I thought I’d use your code above to change the logo image source for the cover template page. But something else happens: there’s no logo visible on the cover template. So the standard logo is gone, and nothing is replacing it.
Do you have any idea how to fix this?
Or: can you tell me how to erase all files of the twenty twenty plugin when removed? So I can completely start over with that plugin? Because on my testsite there is no conflict between the two. So that’s mystifying.
Thank you so much!