Forum Replies Created
-
AuthorPosts
-
August 20, 2024 at 5:18 pm in reply to: Different logo on pages and posts (transparent header) #1464993
Excellent and a super easy fix — doh, why didn’t I think of that.
Super
Thanks
RichardAugust 20, 2024 at 11:03 am in reply to: Different logo on pages and posts (transparent header) #1464961Hi Mike
Sorry for the delay in replying and I managed to get that working from the thread. The only bit I need to fix now is for the page to use the same logo on the mobile view. See URL (switch between desktop and mobile)
Thanks
RichardHey there, this is very useful and I’ll test on one of my other Enfold sites.
Thanks
RichardHey Ismael
This is fantastic thank you. Been trying to find a fix for years for the submit button styling.
Richard
- This reply was modified 5 months, 3 weeks ago by raslade.
Hey Mike, no problem and that’s perfect — exactly what I needed and will have a go at implementing.
Richard
Hey Nikko
Perfect thank you and all fixed. Yes, another reason why Enfold is so awesome — the support always delivers :-)
Richard
Hey Nikko
Thanks for the solution although I couldn’t find that code on line 658. I did find
if($.avia_utilities.isMobile) return; if( $('body').hasClass( 'av-disable-avia-hover-effect' ) ) { return; }
On line 601 but removed, cleared but no luck.
Thanks
RichardWell that was too simple. I feel a little foolish but it’s very much appreciated, thank you.
Richard
Hey Mike, OK i’ll give that a go and test on another machine that has earlier versions.
Richard
Hey Mike
Agreed and you say fixed. I may have to look at altering the search field as I can’t guarantee that all visitors will have the lastest version. Do you know and CSS that might lock it in place?
Thanks
RichardHey Mike, thanks for checking. They were using v105 then once updated it was OK. Not sure that helps though as ideally like the menu to be backward compatible.
Richard
Hi there, thanks for checking. One of my colleagues on a PC using Chrome has managed to replicate the issue https://share.vidyard.com/watch/XtsKMhDs4DSBAae9oz3JUa?autoplay=1&vyetoken=5548d107-6394-4cde-ae02-3f5f6203d36f
Thanks
RichardSorry yes, that would be useful. No screenshot is needed. Basically, the search field disappears once activated or hovered over.
Richard
December 9, 2021 at 12:37 pm in reply to: How to disable menu delay on hover (main, sub and mega-menus) #1332111Thank you and yes please you can close the ticket.
Richard
December 9, 2021 at 9:24 am in reply to: How to disable menu delay on hover (main, sub and mega-menus) #1332082Hey Ismael
Rookie mistake — forgot to check that js merge was disabled. Sorted and thanks for your help once again.
Richard
Yes thank you the topic can be closed now.
Hey Ismael
Of course, simple and elegant:
#avia-menu #menu-item-search { opacity: 0; } #avia2-menu #menu-item-search { opacity: 1; }
Excellent support as always, thank you.
Richard
Hey Ismael, thanks for getting back to me and I’ve got it working now with this adjustment. The session has to be unique so I tested using new private browser windows each time. This replicates what new visitors would see.
Thanks
RichardIgnore my question I’ve just spotted that this function has been integrated with the latest version of Enfold.
May 25, 2021 at 9:50 pm in reply to: Blog grid — title, excerpt and read more link with post type link #1302321Thanks Ismael. With a slight tweak it works perfectly, thank you.
Final code (that works for blog grid) if anyone else needs it:
// a custom script // use external link function ava_custom_script_mod() { if ( wp_script_is( 'avia-default', 'registered' ) ) { wp_add_inline_script( 'avia-default', ' (function($) { $(document).ready(function() { $(".post-format-link .more-link").on("click", function(e) { if(e.preventDefault) e.preventDefault(); var content = $(this).parents(".slide-content"); var header = content.find(".entry-content-header"); var external_link = header.find("a").attr("href"); window.open(external_link, "_blank" ); }) }); })(jQuery); '); } } add_action( 'wp_enqueue_scripts', 'ava_custom_script_mod', 9999);
May 24, 2021 at 11:32 am in reply to: Blog grid — title, excerpt and read more link with post type link #1301966Hey Mike, not a problem, we all need a weekend ;-)
I’ve adjusted the code but then the site wouldn’t load. I tried changing the PHP version but no luck. I’m running 4.8.1 with PHP 7.4.16
Thanks
RichardMay 21, 2021 at 4:53 pm in reply to: Blog grid — title, excerpt and read more link with post type link #1301682Hey Ismael, there are many reasons why I love Enfold — an amazing support forum is definitely one of them and this works perfectly, thank you. One final question related to the link. I’ve added the following to the functions file to force links to open a new page:
add_filter('wp_footer', 'avf_add_target_blank', 10); function avf_add_target_blank() { ?> <script> (function($){ $(window).load(function() { $( ".avia-content-slider .slide-entry-title a, .more-link" ).each(function() { $(this).attr('target','_blank'); }); }); })(jQuery); </script> <?php }
It correctly adds target=”_blank” to the code but for some reason doesn’t open a blank page.
I’ve tried a.more-link, .more-link a, .read-more-link .more-link a, but still no luck. Am I missing something?
Thanks
RichardAll good thanks, please close the thread.
Great thank you.
Richard
Hi Victoria
I’ve managed to solve the problem adding the following after line number 718 in /avia-shortcodes/postslider.php
$output .= "<div class='slide-meta-tags' $markup>" .get_the_tag_list('',' • ','', $the_id)."</div>";
Thanks
RichardThat’s very useful to know another way to fix. Trying to get the colours right using the filter was a bit hit and miss.
Thanks for the other solution.
Richard
Thanks and very useful. I’ve fixed using a filter:
invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(97%);.
and getting the exact colour match values via this useful tool, if anyone else needs the solution: https://codepen.io/sosuke/pen/Pjoqqp
Richard
- This reply was modified 4 years, 5 months ago by raslade.
Thanks Victoria. With a few tweaks I think i’ve sorted with CSS only:
#top #avia-menu .avia_mega_div { opacity: 0 !important; } #top #avia-menu li:hover > .avia_mega_div { opacity: 1 !important; }
Thanks
RichardHey Victoria
I didn’t leave the CSS as it didn’t help me achieve the result. I’m trying to remove the fading transition when you move the cursor between the two sub menus.
Richard
Perfect, that fixes the issue and it looks great. Thanks for your help.
Richard
-
AuthorPosts