Forum Replies Created
-
AuthorPosts
-
Mike,
super helpful. For everyone: I test my Shop Setup in an unpolished page with the advanced layout editor and then copy+paste the page code to the actual shop page. Works brilliantly.
Best
ElmarHi Rikard,
close it – thanks. Would be cool to get somehow notified as soon as the new version is released.
Best
ElmarThanks for the update. Appreciated.
Ismael,
thank you. I will investigate. It might be due to us being forced to use an older version until AIOSEO adds API support back into their current version. Thanks for testing!
Best
ElmarIsmael,
There must be some other issue I cannot trace. All these changes have no effect on the Title.
remove_action('wp_head', 'av_theme_slug_render_title'); remove_filter('avf_title_tag', 'avia_wpseo_change_title_adjustment'); add_action('init', function() { remove_action('wp_head', 'av_theme_slug_render_title'); remove_filter('avf_title_tag', 'avia_wpseo_change_title_adjustment'); }, 10); function av_theme_slug_render_title_mod() { echo '<title>X ' . wp_get_document_title() . '</title>'; } add_action( 'wp_head', 'av_theme_slug_render_title_mod' );
I assume you have validated this in a clean enfold install? It does not seem to work for me. I can also not trace any another plugin setting these titles. I also haven´t overwritten those templates in our child theme.
Best,
ElStrange. All of these actions produce no change – are you sure these are actually working with the latest enfold?
remove_filter(‘avf_title_tag’, ‘avia_wpseo_change_title_adjustment’, 10, 2); // no worky
add_filter(‘avf_title_tag’,’avia_new_title’);
function avia_new_title() {
$title = “X: “.get_the_title();
return $title;
}add_filter(‘avf_title_tag’, ‘avia_change_title_tag’, 10, 2);
function avia_change_title_tag($title, $wptitle)
{
return “X: “.$wptitle;
}function avia_set_title_tag()
{
return “X: “.wp_get_document_title();
}function avia_set_title_tag()
{
return wp_get_document_title();
}Here is their response and suggestion. Enfold doesn´t really take it into account though:
…
Thanks for reaching out.
We filter the core WP Title tag function to manage the Page Title of your page, so you’ll just need to return that in your filter.
add_filter(‘avf_title_tag’, ‘avia_change_title_tag’, 10, 2);
function avia_change_title_tag( $title, $wptitle )
{
return wp_get_document_title();
}Also tried:
remove_filter(‘avf_title_tag’, ‘avia_wpseo_change_title_adjustment’, 10, 2);
Probably no setting, right? I did a css that works but of course no applies to all images in a flex cell:
.flex_cell_inner .avia_image {
width: 100%;
}November 29, 2021 at 1:43 pm in reply to: Search autofocus on field and click on mobile search #1330832In general – many users are struggling with this and there should be a general solution in the docs or – even better – in the template itself.
Here is an update:
/* Mobile Search Form Magic */ #top #searchform > div { display: block !important; opacity: 1 !important; } #avia-menu li.menu-search { display: none; } .av-active-burger-items #searchform{ padding-left: 40px !important; }
/** * Show search bar on mobile menu */ add_shortcode('avia_search', 'get_search_form'); function ava_custom_script_mod_search_mobile() { ?> <script> (function($) { $(document).ready(function() { var page = window.location.href; var search = '<form action="'+page+'" method="get" class=""><div><input type="submit" value="?" id="searchsubmit" class="button avia-font-entypo-fontello"><input type="text" id="s" name="s" value="" placeholder="Search"></div></form>'; $('.av-burger-menu-main a').on('click', function() { if($(".av-mobile-search").find('form').length == 1) return; setTimeout(() => { $("<li class='av-mobile-search av-active-burger-items'>" + search + "</div>").insertAfter('.menu-item-178580'); $('.menu-search.menu-item-91335>a').contents().unwrap().wrap('<p/>'); }, 300); }); }); })(jQuery); </script> <?php } add_action('wp_footer', 'ava_custom_script_mod_search_mobile', 10000);
November 28, 2021 at 2:26 pm in reply to: Search autofocus on field and click on mobile search #1330741Hi Mike,
the real problem is that the mobile search result links are „unclickable“.
It hasnt been resolved- sorry. Or does that work on your mobile devices?
Best
ElmarNovember 26, 2021 at 11:42 am in reply to: Search autofocus on field and click on mobile search #1330581I changed that but no dice so far…
Appreciate the support!
Hi guys,
thanks guys!
Just for the record: here is complete instruction to make it work as I hate going through dozens of threads to search for the complete solution. You are welcome ;). The search form was hidden in my case.
/* Mobile Search Form Magic */ #top #searchform > div { display: block !important; opacity: 1 !important; } #avia-menu li.menu-search { display: none; }
Functions.php
/** * Show search bar on mobile menu */ add_shortcode('avia_search', 'get_search_form'); function ava_custom_script_mod_search_mobile() { ?> <script> (function($) { $(document).ready(function() { var page = window.location.href; var search = '<form action="'+page+'" method="get" class=""><div><input type="submit" value="?" id="searchsubmit" class="button avia-font-entypo-fontello"><input type="text" id="s" name="s" value="" placeholder="Search"></div></form>'; $('.av-burger-menu-main a').on('click', function() { if($(".av-mobile-search").find('form').length == 1) return; setTimeout(() => { $("<li class='av-mobile-search av-active-burger-items'>" + search + "</div>").insertAfter('.menu-item-178580'); }, 300); }); }); })(jQuery); </script> <?php } add_action('wp_footer', 'ava_custom_script_mod_search_mobile', 10000);
Hm, maybe you got that wrong. I have search working. I *also* need it on mobile. Wouldn´t the custom link be visible all the time?
Standard slim logo left with 45px custom height.
Hi Ismael,
you do not need to to support qtranslate-xt – it just works and it did work for years with enfold. It stopped working recently and I need to check what caused it. Can you point me to the enfold files that handles the AJAX search? Thanks!
Best,
ElmarDecember 23, 2020 at 2:23 pm in reply to: How to change product image sizes in product page #1269539Nevermind. Figured it out. For anywone wondering … this is now done in the front end customizer of wordpress. Best, Elmar
Ismael,
beautiful! I can confirm that all is good now. Looks great.
Best,
ElmarHey Ismael,
unfortunately right now this is not easily possible. But just to reiterate. I was hoping we can fix it by determining the required some changes through the browser dev console. As you can see I implemented this but it does not work.
Best,
El- This reply was modified 3 years, 12 months ago by El.
Hey Ismael,
this thread got a little bit hijacked ;). As per the original issue. The table still isn´t right and I put in the css you provided. We don´t have a staging site and I would appreciate you taking another look at this. It must be a really small fix.
Best,
ElI checked again and its in the compressed style.css … but still doesnt affect the quantity height:
Hehe, of course man. Several times. Does it mean it works for you???
So you wan the whole thing to look like? For some reason it still fails…
@media only screen and (max-width: 767px) {
td.product-quantity {
min-width: 120px !important;
}#top div .quantity input.plus, #top div .quantity input.minus {
line-height: 29px !important;
width: 30px !important;
height: 30px !important;
}td {
font-size: 12px !important;
}#top div .quantity input.qty {
height: 30px !important;
width: 30px !important;
line-height: 29px !important;
}.shop_table td {
height: 100% !important;
}table.shop_table .woocommerce-cart-form__cart-item.cart_item {
height: 100% !important;
}
}Unfortunately it doesn´t help. I put the line width back in and added the css. Its still off.
Best,
ElHi Ismael,
this has been deleted yesterday already. Please clear your browser cache.
The overlap cannot be seen because I made the lines invisible. If you change that you will see it.Best,
ElmarHey Ismael,
I had to change everything to make it look reasonable. I added your css to my other css. What remains is that the table is somehow destroyed:
I circumvent it by setting the table width to zero but that makes it a little less readbable.
Best,
ElNovember 19, 2020 at 10:36 am in reply to: Woocommerce webp preview doesn´t work on product detail page #1261490Ismael,
nice one. This did the trick:
https://www.dropbox.com/s/e9iavjfenrk69it/Bildschirmfoto%202020-11-19%20um%2009.34.37.jpg?dl=0
Can you put that into the next enfold release? That way I don´t have re-change the source code.
Best,
ElmarNovember 16, 2020 at 10:54 am in reply to: Woocommerce webp preview doesn´t work on product detail page #1260658Here is the screenshot that also shows that lightbox is activated. It seems to be a webp issue.
November 14, 2020 at 11:14 pm in reply to: Woocommerce webp preview doesn´t work on product detail page #1260524Access it from mobile in case you only have webp supporting desktop browsers
November 14, 2020 at 11:12 pm in reply to: Woocommerce webp preview doesn´t work on product detail page #1260523Hi Victoria,
sure – as mentioned. It works on safari so the code is there. It seems like webp is the actual issue with enfold and lightbox.
Best
Elmar -
AuthorPosts