Forum Replies Created
-
AuthorPosts
-
March 22, 2017 at 10:39 pm in reply to: Gap between Color Section and Header only on the Blog page #765091
Hi,
I have same problem too, gap between menu and slider.
http://formatex.formatexjatekok.hu/But the problem is not just the gap. Please check that avia closed main div before fullwidth slider. Is it normal?
Thank you
June 26, 2016 at 9:10 pm in reply to: jQuery Directional Hover on ALB's simple image element #653616Hi
Sorry for the delay… it’s work! :) Thank you!
Just this line missed: jQuery(‘.dh-container’).directionalHover();
And I changed the dh classes’ place./* CSS files */ function dhover_styles() { wp_register_style( 'directional_hover', get_template_directory_uri() . '/css/jquery.directional-hover.css' ); wp_enqueue_style( 'directional_hover'); } add_action( 'wp_enqueue_scripts', 'dhover_styles'); /* JS files */ function dhover_js() { wp_register_script('directional_hover', get_template_directory_uri() . '/js/jquery.directional-hover.js', array('jquery'), true ); wp_enqueue_script('directional_hover'); } add_action('wp_enqueue_scripts', 'dhover_js'); // function to add dhover classes function dhover_func(){ ?> <script> jQuery( document ).ready(function() { var imgContainer = jQuery('.avia-image-container'); imgContainer.find('.avia-image-container-inner').addClass('dh-container'); imgContainer.find('.av-image-caption-overlay-center').addClass('dh-overlay'); jQuery('.dh-container').directionalHover(); }); </script> <?php } add_action('wp_head', 'dhover_func');
.dh-overlay { background: rgba(20,20,20,.4); width: 100%; height: 100%; text-align: center; line-height: 400px; }
Best regards,
PeterJune 14, 2016 at 4:22 pm in reply to: jQuery Directional Hover on ALB's simple image element #648103Hi Vinay,
This is the Enfold version live demo
What do you think will the directional hover work?http://susanvinczeller.corewebstudio.net/
Best regards
PeterThank you! :)
Hi,
Below the login details.
Best regards
PeterJune 11, 2016 at 8:38 pm in reply to: jQuery Directional Hover on ALB's simple image element #646639Thank you! :) I know, you are the best support team! :)
Cheers!
PeterJune 11, 2016 at 3:47 pm in reply to: jQuery Directional Hover on ALB's simple image element #646563Hi,
So…
1. Copy the jquery files to /enfold-child/directional-hover/…
2. Put this code to my enfold child function phpfunction directional_hover_scripts() { wp_enqueue_style( 'jquery.directional-hover', get_stylesheet_directory_uri() . '/directional-hover/src/jquery.directional-hover.css, array(), false, true ); wp_enqueue_script( 'jquery.directional-hover.min', get_stylesheet_directory_uri() . '/directional-hover/src/jquery.directional-hover.min.js', array(), false, true ); } add_action( 'wp_enqueue_scripts', 'directional_hover_scripts' );
Is it good?
3. The script site just say this: Load the jQuery directional hover plugin after jQuery library. So I need the 2nd step, or enogh put this two line to header php?
<script src="//code.jquery.com/jquery-1.11.2.min.js"></script> <script src="jquery.directional-hover.min.js"></script>
4. After the load I should put this classes to ALB simple image element overlay effect…
<div class="dh-container"> <div class="dh-overlay"></div> </div>
Best regards
PeterHi,
The link to appear: http://footballheroes.hu/boltok/#sow-google-map-2
Link to disappeare: http://footballheroes.hu/boltok/#Two black arrow below the logos.
Thank you
PeterHi,
Alright, but if I remove the # link, What should I use instead to hide and show my google map?
Best regards
PeterSorry, its work :D
Another question, how can I turn off the anchor link’s slide up moving? When I click to this anchor #sow-google-map-2 the page slide up to anchor. I would like to turn off this effect. Is it possible?
Thank you!
PeterHi Licia,
I have had same problem after update 3.6 … I use Enfold child, and I have header.php in the child theme folder, because I use a Facebook script in header.php. So, I copied again header.php from Enfold folder to Enfold child folder.
Good bye!
PeterAmazing! :) Great work! Thank you!
Best regards,
PeterHey,
Thank you for your help. Below the login details.
The Editor… (top left) My Sites > Network Admin > Themes > Editor… please select Petcorner Child ThemeBest regards,
PeterHi,
I tested your code but Its doesnt work…maybe there are not too many brackets in it?
I did browser hard reset and tried some versions (example this) but nothing:function avia_change_arrow_bg(){ ?> <script> jQuery(window).load( function(){ jQuery('div .dropdown_widget .cart_list li:nth-child(1)').hover( function(){jQuery('#menu-item-shop .dropdown_widget .avia-arrow').css('background-color','#f3f4f4');}); }, function(){ jQuery('#menu-item-shop .dropdown_widget .avia-arrow').css('background-color','#ffffff'); } ); </script> <?php } add_action('wp_footer', 'avia_change_arrow_bg');
Best regards,
PeterMay 30, 2016 at 8:51 pm in reply to: change checkout button text on woocommerce dropdown cart #640571Thanks, its work without conflict WPML :D
Nice!Goodbye!
Peterwow, it was incredible fast! :)
am, something wrong, because after the hover the arrow doesnt change back to white… maybe need an else?
thank youSorry, I can do that with shortcode and footer widget. I just add the sortcode to widget text element.
Thank you! :) It’s work!
OH MY GOD! You’re the best support team in the universe of wordpress themes!!
:DBest Regards,
PeterAmazing! :) Its work, thank you!
How can I use this code on a specific slider only? Each product slider has a unique class: avia-content-slider1, avia-content-slider2.. etc
But its not an #ID…Best regards,
PeterHey,
Its work! Thank you! :)
Best Regards
PeterIt’s cool! :)
I found a code which returns an array containing the IDs of the products that are on sale. This lets them use a simple query to get the sale products:
$query_args = array( 'posts_per_page' => 8, 'no_found_rows' => 1, 'post_status' => 'publish', 'post_type' => 'product', 'meta_query' => WC()->query->get_meta_query(), 'post__in' => array_merge( array( 0 ), wc_get_product_ids_on_sale() ) ); $products = new WP_Query( $query_args );
https://www.skyverge.com/blog/get-a-list-of-woocommerce-sale-products/
I would like a feature what is just a checkbox on the avia product slider. This checkbox is a filter for ‘onsale’ products. So I can choose one or more category or all category and If I tick the ‘onsale’ checkbox, the slider show only the ‘onsale’ products from the selected category.
What do you think?
Best regards
PeterHi Ismael,
What do you think, possible an auto generated and dynamic onsale category in Woo?
Good idea to add this feature to “feature request”? Or this feature will not have much interest for other users?Best regards,
PeterHey Basilis,
Page url below.
Kind Regard,
PeterThank you! :) Its work! :)
May 12, 2016 at 2:47 pm in reply to: Slowly re-coloring in style.css – should I use Sass or Less? #631410Thank you, Josue! :) The main.css is very interesting and I will try LESS on a test site.
Best regards
PeterMay 12, 2016 at 1:47 pm in reply to: Slowly re-coloring in style.css – should I use Sass or Less? #631356Hi,
In Sass, I create a style.scss (just the Enfold child style) and the processor produce the style.css… Yes, its okay. So the Sass created child style.css doesn’t will work? But why, because its child?
In LESS, require more set-up, install, js anything else? What do you think, clinet or server side translate is the better?Or do you have any idea how can I solve the recoloring problem?
Thank you,
PeterMay 11, 2016 at 5:52 pm in reply to: Slowly re-coloring in style.css – should I use Sass or Less? #630865Or LESS?
I just take my style.less into the header?<link rel="stylesheet/less" type="text/css" href="styles.less"> <script src="less.js" type="text/javascript"></script>
So how can I use preprocessors with Enfold child?
I found a bencmark about simple Sass and LESS:
https://www.solitr.com/blog/2014/01/css-preprocessor-benchmark/Amazing it’s work! :) Thank you!
-
AuthorPosts