Forum Replies Created

Viewing 30 posts - 14,761 through 14,790 (of 34,635 total)
  • Author
    Posts
  • in reply to: Styling of Gallery: border & padding between images #1284464

    Hey the_digital_manager,
    Sorry for the very late reply and thanks for the link to your page and the screenshots, to remove the border from around the image and gallery, please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    #top.single-product div .avia-gallery img {
        border-width: 0 !important;
    }
    #top.single-product div .avia-gallery .avia-gallery-big {
        border-style: none !important;
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: search icon and cart icon to right side #1284431

    Hey omerh570,
    Sorry for the very late reply and thanks for the link to your site, it looks like you currently have the menu set to the left, please change this setting at: Enfold Theme Options > Header > Header Layout > Menu and Logo Position and pick a layout with the menu to the right.
    2021-03-01_073133.jpg

    Best regards,
    Mike

    in reply to: Events Calendar Countdown Not Working #1284424

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)

    Best regards,
    Mike

    Hi,
    Thank you for the feedback, I have submitted a feature request to the dev team, and I will reply here as it is updated, there is also a chance that the dev may also ask questions here, so we will leave this open. Thank you for your patience.

    Best regards,
    Mike

    in reply to: Different font – full-width slider element #1284191

    Hi,
    You can have the Logo and Main Menu set as a sidebar in the theme options:
    You_can_place_your_logo_and_main_menu_at_the_top_of_your_site_or_within_a_sidebar.jpg
    Here is an example of a demo with this option.
    To have a similar “expanding” menu, on this demo, on hover, this css could be used:

    .av-main-nav ul {
        position: relative !important;
    }
    .html_header_left .av-main-nav ul {
        left: unset !important;
    }
    .av-main-nav li ul.sub-menu li {
        display: none;
    }
    .av-main-nav li:hover ul.sub-menu li {
        display: block;
    }
    .av-main-nav ul li a {
        border-style: none !important;
        border-width: 0 !important;
    }

    2021-02-27_173022.jpg
    I believe you could have a much more similar menu to the example site with some more time, css, and some jQuery, but I think it would be more involved than our scope of support here.
    Perhaps a alternative would be to look for a plugin.
    Another possible solution for a expanding sidebar menu would be to use the “navigation menu” widget and select a menu, the default way this widget displays a menu is as a list:
    2021-02-27_180234.jpg
    and with this script added this code to the end of the functions.php file in Appearance > Editor:

    function custom_widget_menu_dropdown(){
      ?>
      <script>
    (function($){
       $(document).ready(function(){ 
       		$('#nav_menu-3 #menu-main-menu > li.menu-item-has-children').find('ul').hide();
            $('#nav_menu-3 #menu-main-menu > li.menu-item-has-children').mouseenter(function () {  
                $('#nav_menu-3 #menu-main-menu > li.menu-item-has-children').not(this).find('ul').hide();  
                $(this).find('ul').toggle();  
            });  
         });  
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'custom_widget_menu_dropdown');

    please note the nav_menu-3 in the code above may need adjusting, but the result is a collapsed menu that will expand on hover:
    2021-02-27_175757.jpg
    Just a thought.

    Best regards,
    Mike

    in reply to: ACF & Enfold – Post template builder? #1284176

    Hi,
    The dev team has replied that they thought adding a way to choose ACF fields from an element in the ALB was a good idea and they opened a feature request on their end. They said they would take a closer look after the current release. I’m sure you can understand they are trying to release v4.8 first.
    But I believe this is quite encouraging, I will reply further as the feature request is updated, or the dev team might also ask questions here, so we will leave this open.

    Best regards,
    Mike

    in reply to: Events Calendar Countdown Not Working #1284172

    Hi,
    Glad to hear this helped, unless there is anything else we can help with on this issue, shall we close this then?

    Best regards,
    Mike

    in reply to: Image quality #1283843

    Hi,
    Sorry for the very late reply, perhaps the function you are referring to is this one:

    add_filter("avf_jpeg_quality", "avf_set_quality_mod", 9999, 1);
    add_filter("avf_wp_editor_set_quality", "avf_set_quality_mod", 9999, 1);
    function avf_set_quality_mod($quality) {
    	$quality = 65;   // compression level what you like in percent
    	return $quality;
    }

    But I believe this was used before the default_jpeg_quality was added to the parent theme (Enfold) functions.php, currently the function is:

    $resp_img_config = array(
    		'default_jpeg_quality'	=> 100,						//	ensure best image quality - use filter avf_responsive_images_defaults to change
    		'theme_images'			=> $avia_config['imgSize'],
    		'readableImgSizes'		=> $avia_config['readableImgSize'],
    		'no_lazy_loading_ids'	=> array()					//	add is's of images for permanently disable lazy loading attribute
    	);
    
    $resp_images->reinit( $resp_img_config );
    

    Please note the 100 in the code.

    Best regards,
    Mike

    in reply to: Events Calendar Countdown Not Working #1283840

    Hi,
    Thanks for the feedback, after editing the parent theme and regenerating your thumbnails, (for the old images), or by uploading a new image, did this work? I checked the test page but it seems like the image is not there, so I’m not sure.
    If this worked then it could be added to your child theme with a fliter like this:

    add_filter( 'avf_modify_thumb_size', 'enfold_customization_modify_thumb_size', 10, 1 );
    function enfold_customization_modify_thumb_size( $size ) {
            $size['gallery'] = array('width'=>845, 'height'=>684 , 'crop' => false);		
    	return $size;	
    }

    Best regards,
    Mike

    in reply to: Images metadata lost in Enfolds generated images #1283833

    Hi,
    I certainly don’t want to sound rude, but unfortunately, I have been trying to explain that WordPress doesn’t perform this way.
    You can prove this to yourself by testing on a WordPress install without Enfold and your image with the IPTC
    2021-02-26_054712.jpg

    Best regards,
    Mike

    in reply to: Change logo when scrolling down #1283830

    Hi,
    Glad we were able to help with this, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)

    Best regards,
    Mike

    in reply to: Events Calendar Countdown Not Working #1283676

    Hi,
    Wow, how about that? No, I didn’t do anything 😃
    Thanks for the link, so the featured image on event detail page looks like it is using the “gallery” sized image (845px)
    You could try editing the parent theme functions.php around line 187:
    2021-02-25_073213.jpg
    to this:
    $avia_config['imgSize']['gallery'] = array('width'=>845, 'height'=>684 , 'crop' => false);
    you would then need to regen your media thumbnails so the old images at this size are not cropped, all new images uploaded will follow this rule.
    Or I believe you can choose which size image to use, within the element, if so try choosing the “masonry” sized image (705px), as you can see in the screenshot above, the masonry image is not cropped.

    Best regards,
    Mike

    in reply to: Change logo when scrolling down #1283669

    Hi,
    Sorry for the late reply and thanks I believe I understand better now. please try this script instead, you will notice two new lines targting the logo width, on scroll it will be 200px, after scroll it sets to 115px, which is the current width.

    function change_logo_on_scroll(){
      ?>
      <script>
    (function ($) { 
      $(window).scroll(function() {
        var width = $(window).width(), height = $(window).height();    
        var scroll = $(window).scrollTop();
          if (scroll > 20 && width >= 900) {
        $('.logo a').find( 'img' ).attr('src', 'https://your-site.com/wp-content/uploads/2021/01/2nd-logo.png').css({ 'padding-top': '20px'});
        $('.logo').css({ 'width': '200px'});
       } else {
        $('.logo a').find( 'img' ).attr('src', 'https://your-site.com/wp-content/uploads/2021/01/logofinale.svg').css({ 'padding-top': '0px'});
        $('.logo').css({ 'width': '115px'});
       }
      });
     })(jQuery);
     </script>
    <?php
    }
    add_action('wp_footer', 'change_logo_on_scroll');

    also check the url in the code above.

    Best regards,
    Mike

    in reply to: Different font – full-width slider element #1283658

    Hi,
    Thank you for the screenshot, it looks very similar to my example above with the shortcode, to me this looks like the correct solution, please give this a try.
    You can use the same slider as on your homepage if you copy and use that shortcode, you can see all of the pages shortcodes by using the Avia Layout Builder Debugger, or just recreate the element with the shortcode wand as described above.

    Best regards,
    Mike

    in reply to: Remove featured image from blog pages #1283655

    Hi,
    Sorry for the late reply, I didn’t notice that this is not your thread, that is why you can not see the Private Content area and the screenshots.
    Anyways, you said you like the result now, but you would like to have the read more button like it was in the “list layout”, unfortunately, the “Single Author, small preview Pic” layout doesn’t have a read more button, so for a workaround I added the “read more” to one of your posts:
    2021-02-25_062635.jpg
    Then I added this css to your Quick CSS:

    #top.blog .entry-content .more-link {
        text-align: right;
        position: relative;
        margin-top: 40px;
    }
    #top.blog .entry-content .more-link {
        display: inline-block;
        border-width: 1px;
        border-style: solid;
        border-radius: 100px;
        padding: 0 20px;
        text-transform: uppercase;
        font-size: 0.8em;
        font-weight: bold;
        position: relative;
        z-index: 2;
        background-color: #ffffff;
        color: inherit;
        line-height: 2.1em;
        font-size: 0.75em;
    }

    Now for the one post on your Blog the read more button is showing like on the “List Layout”
    2021-02-25_063053.jpg
    Please try adding the “read more” to the other posts, to show less of the excerpt try adding the “read more” above the post content.
    The page is [your-domain]/news/

    Best regards,
    Mike

    in reply to: Images metadata lost in Enfolds generated images #1283411

    Hi,
    These fields in the WP media library are a part of the WP core and are not designed to get info from the images, they are designed to be entered manually by the user. (remember from above: “GD always strips profiles by default”)
    2021-02-24_073816.jpg
    But remember that the default WordPress has the functions for working with the GD script and not ImageMagick, so now that you are using ImageMagick and you want to incorporate its features I would recommend seeking out advice from an ImageMagick on WordPress expert, as in a freelancer, since ImageMagick is not used by WordPress by default researching into this further is beyond the scope of our support.

    Best regards,
    Mike

    in reply to: Read more buttin in masonry blogelement #1283401

    Hi,
    I’m not sure what you mean, on my localhost when I remove the css there are no issues?
    Anyways this thread is starting to get off-topic, the topic of this thread is adding a “read more” button to the masonry items, and not the gallery. Which I was able to do for you.
    While I would like to assist with your next topic of customizing the style your masonry items, I don’t see how this can effectively be done without seeing your site. I write this because often issues that I see are a result of css designed to target a different element and was not specific enough. This is one reason we typically ask to see the page you are working on, most css customization is not a “one-size-fits-all” situation.
    We should close this thread as solved, and if you decide you would like more help customizing your masonry style and are willing to create a test page that we can work on together, then please open a new thread explaining what you are trying to achieve with a link, a screenshot is always welcome too.

    Best regards,
    Mike

    in reply to: Different font – full-width slider element #1283396

    Hi,
    To remove the ajax search result date, please try this css:

    .ajax_search_excerpt {
    	display: none !important;
    }

    I’m not sure what you mean by adding the FULL-SCREEN SLIDER element inside a 1/1 layout, for a single product page, please include a mockup. I think you would like to edit the product page with the Advanced Layout Builder (ALB), and use columns, sliders, etc.
    Which you can by switching the ALB:
    2021-02-24_063455.jpg
    and using these ALB elements:
    ALB_woocommerce_plugin_additions.jpg
    But you can not re-create the exact same product page as the default Woocommerce product page, but you could create your own layout. Try editing a test product and see if this will help.
    If it is important to keep the current layout and add a slider as I did above in the screenshot, then the steps I showed would be the solution.

    Best regards,
    Mike

    in reply to: Gallery slider problem #1283370

    Hi,
    Ok, when I check your /laboratorio/ page I see that no changes to the Initial Active Image have been made like I suggested to correct this. I made this change for you and now the issue is solved, please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Different font – full-width slider element #1283111

    Hi,
    I couldn’t find the single product page in your screenshot but I did find another linked below.
    It is possible to inject a slider below the title bar on a single product page with a function and the slider shortcode in your functions.php
    But I’m unsure if every single product gets the same slider or a different one, and if you plan on changing this often or never.
    This example would be to add one slider to all single product pages. First, we will want to get the shortcode for our slider by using the Magic Shortcode Wand tool in the Classic Editor:
    magic_wand_easy_slider_shortcode.jpg
    Then for this example I added only one image using the “featured” image size (1500px x 430px) with a title & caption, this is the shortcode result:
    magic_wand_easy_slider_shortcode_result.jpg
    Then we will add that shortcode to this function, replacing [shortcode-here] with your shortcode.

    add_action('woocommerce_before_single_product', 'woocommerce_before_single_product_mod');
    function woocommerce_before_single_product_mod() {
    	if(is_product()) {
    		echo do_shortcode("[shortcode-here");
    	}
    }

    Then add this code to the end of your functions.php file in Appearance > Editor.
    My example looks like this:

    add_action('woocommerce_before_single_product', 'woocommerce_before_single_product_mod');
    function woocommerce_before_single_product_mod() {
    	if(is_product()) {
    		echo do_shortcode("[av_slideshow size='featured' control_layout='av-control-hidden' perma_caption='aviaTBperma_caption' conditional_play='' animation='slide' transition_speed='' autoplay='false' interval='5' lazy_loading='disabled' alb_description='' id='' custom_class='' av_uid=''][av_slide slide_type='image' id='866' video='https://' mobile_image='' fallback_link='https://' title='Caption Title' video_ratio='16:9' av-medium-font-size-title='' av-small-font-size-title='' av-mini-font-size-title='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' heading_tag='' heading_class='' link_apply='' link='lightbox' link_target='']Caption Text[/av_slide][/av_slideshow]");
    	}
    }

    I also adjusted the slider top & bottom padding and margin with this css:

    .single-product .template-shop {
        padding-top: 0 !important;
    }
    .single-product .template-shop .avia-slideshow {
        margin: 0 !important;
    }

    the rresults:
    easy_slider_shortcode_above_single_product_result.jpg
    Please note that the slider is inside the page container so the page padding and margin still apply.

    If you are going to try this please edit your functions.php via FTP so if you make an error in the code and it crashes your site, you will be able to correct it. The WordPress > Appearance > Editor works good and is easy to use, but if your site crashes you can not reach the editor, but with FTP you can.

    Best regards,
    Mike

    in reply to: Read more buttin in masonry blogelement #1283051

    Hi,
    I tested the masonry with the large gap and your css, and the issue I see is with your css, for example the padding: 5px; adds the padding like this (the green area):
    2021-02-23_050005.jpg
    as you notice it is displacing the inner-masonry. I would recommend removing this padding.
    The margin-bottom: 15px; is increasing the “large gap”, I don’t believe that you wanted to increase the gap, so I would recommend removing this also (orange area):
    2021-02-23_050505.jpg
    as you can see, when the padding & margin is removed from your css, the issue is resolved:
    2021-02-23_051340.jpg

    Best regards,
    Mike

    in reply to: LayerSlider WP Navigation Visuals Not Right #1283025

    Hi,
    Glad to hear this helped, unless there is anything else we can help with on this issue, shall we close this then?

    Best regards,
    Mike

    in reply to: Duplicate WPML Language Switcher / #1282827

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)

    Best regards,
    Mike

    in reply to: Change logo when scrolling down #1282824

    Hi,
    Thanks, currently your code is like this:
    $('.logo a').find( 'img' ).attr('src', 'xxx/uploads/2021/01/2nd-logo.png').css({ 'padding-top': '20px','width':'max-content'});
    try removing the width part of the css and only use the padding part in the jQuery, then use this css in your Quick CSS to make the logo 200px:

    .logo {
    	width: 200px !important;
    }

    The reason is that you want the logo 200px wide always, but the script is only fired on-scroll, so css in the Quick CSS would work better. The padding css is only for the second image (small one) to center it vertically, and is used only on scroll so the css in the jQuery is the correct approach.
    I hope this helps.

    Best regards,
    Mike

    • This reply was modified 4 years, 5 months ago by Victoria.
    in reply to: Soft Hypens is not working on mobile for me #1282806

    Hi,
    Sorry for the late reply, I believe that Guenni007’s advice to use the “Special Character Translation” plugin from the dev team is a good idea. I tested your page by copying the html from your code block and added it to my localhost along with the relevant css, I then removed your line brake from the word “Halsschlagadern” and added the &shy;
    2021-02-22_062937.jpg
    on larger screens it doesn’t show on the frontend:
    2021-02-22_063117.jpg
    but on smaller screens, in this case 320px with is typically the smallest phones like the iPhone 5, it does show:
    2021-02-22_063926.jpg
    I believe that this demonstrates that the technique works, but as Guenni007 pointed out, each time you edit the page WordPress will try to remove these, so using the “Special Character Translation” plugin is a good idea.

    Please note that the iPhone’s 6/7/8 have a screen width of about 375px, and at this size the word “Halsschlagadern” doesn’t break, because there is no need:
    2021-02-22_070052.jpg
    So perhaps you feel it doesn’t work on your device because it is not being triggered to work.
    Another option might be to set the character width like this:

    .mobilleistung li {
        max-width: 30ch !important;
    }
    

    you could try changing the “30ch” to cause the brake where you want it, but to me currently even though the word doesn’t brake where you want it to, the text seems to display well in the table.
    2021-02-22_071633.jpg

    Best regards,
    Mike

    in reply to: LayerSlider WP Navigation Visuals Not Right #1282781

    Hey egouldmedia,
    Sorry for the very late reply and thanks for the login, I checked the layerslider template store, in the layerslider plugin, and found that the “ecommerce” template is a premium template, and I couldn’t download. I was able to export your slider to my localhost, but when I tested it I got this notice:
    Notice: LayerSlider skin "numbers" not found. Defaulting to "noskin"
    I found the setting the skin in the slider settings solved the error:
    2021-02-22_054216.jpg
    since this is a premium template I can imagine that it may not use premium features such as the skin in a premium template.
    On your site I don’t see the prev/next buttons, but on the demo they look normal. I found that the Show navigation buttons are disabled:
    2021-02-22_055556.jpg
    I also found that the “Slide Transition” is not set. Please try looking at the slider settings for that slide and try changing any blank settings, these were probably the ones influenced by the premium settings.
    After I made these changes to the copy on my localhost the slider seems to work well and similar to the demo.

    Best regards,
    Mike

    in reply to: Center socket on mobile only #1282759

    Hi,
    Gracias por los comentarios, revisé su página nuevamente y el CSS parece estar funcionando correctamente. Intente borrar la caché de su navegador y cualquier complemento de almacenamiento en caché y vuelva a verificar.
    2021-02-22_043219.jpg

    — Translated with Google —

    Thanks for the feedback, I checked your page again and the css seems to be working correctly. Please try clearing your browser cache and any caching plugins and check again.
    2021-02-22_043219.jpg

    Best regards,
    Mike

    in reply to: Change logo when scrolling down #1282758

    Hi,
    Good try, you were almost there, between the two css rules you needed a comma like this:
    $('.logo a').find('img').attr('src','https://url.com/wp-content/uploads/2021/01/2nd-logo.png').css({'padding-top':'20px','width':'200px'});
    Please give this a try.

    Best regards,
    Mike

    Hey BierPlus,
    Sorry for the very late reply, it looks like the layerslider is loading before jQuery, I tried many settings except for disabling your plugins, did you try this?
    I also note that your theme editor is disabled so I’m unsure if your child theme is causing this, did you try enabling your parent theme?
    I also exported your current slide to my localhost with a new install of v4.7.6.4 and it works correctly.
    What is the “Raidbox” plugin? It has a “purge cache” dropdown but it doesn’t seem to work.

    Best regards,
    Mike

    Hey samebluesky,
    Sorry for the very late reply and thanks for the link to your site, please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    #top #header .av-main-nav > li#menu-item-782:hover > a {
        background-color: #328283 !important;
    }

    or if you want this to work for all menu items, try this css:

    #top #header .av-main-nav > li:hover > a {
        background-color: #328283 !important;
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

Viewing 30 posts - 14,761 through 14,790 (of 34,635 total)