Forum Replies Created

Viewing 30 posts - 17,041 through 17,070 (of 35,026 total)
  • Author
    Posts
  • in reply to: Sales badge position and ajax content #1211582

    Hey adplusdesign,
    Sorry for the late reply, please include a link to your page so we can investigate.

    Best regards,
    Mike

    in reply to: Magazin – fixed positioning #1211575

    Hi,
    Sorry for the late reply and thanks for the link to your site. Unfortunately, this is the correct behavior for the element, but if you use the following script each time the pagination is clicked and the page reloads the page will return to the same area. This will only work on your frontpage “Corporate Updates” element, please let us know if you have other pages that need this.
    Try adding this code to the end of your functions.php file in Appearance > Editor:

    function custom_pagination_script(){
      ?>
      <script>
    (function($){
      $(document).ready(function(){
    $(".av-masonry-pagination .pagination a").each(function() {
       var $this = $(this);       
       var _href = $this.attr("href"); 
       $this.attr("href", _href + '#1');
    });
    });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'custom_pagination_script');

    Best regards,
    Mike

    Hi,
    Sorry for the late reply, typically this would be the layerslider but I’m not able to recreate this on a new install so I’m not sure if they are sending the notice about an update or not. Since you have disabled the layerslider I assume you have also disabled all of your plugins to ensure it is not a different one causing this. If you are not going to use the layerslider you could use the option in the theme panel to remove it to see if that changes anything.
    If the layerslider has sent the notice about an update we won’t be able to update it until our next release.

    Best regards,
    Mike

    Hi,
    Sorry for the late reply, please try adding this code to the end of your functions.php file in Appearance > Editor:

    function custom_meta_script(){
      ?>
      <script>
    (function($){
      $(window).load(function(){
      $( '.post-entry' ).each(function() {
      $( this ).find( '.post-meta-infos' ).css({ 'margin-top': '0px','padding': '0px'}).insertAfter( $(this).find('span.blog-categories.minor-meta'));
       $( this ).find( '.blog-tags.minor-meta' ).css({ 'display': 'inline-block'}).insertAfter( $(this).find('span.post-meta-infos'));
      });
      });
      })(jQuery);
      </script>
    <?php
    }
    add_action('wp_footer', 'custom_meta_script');

    Then clear your browser cache and check.
    Please see the screenshot in Private Content area of the expected results.

    Best regards,
    Mike

    Hi,
    Sorry for the late reply and thanks for the login, I didn’t find any “read more” buttons, but the class for the “read more” buttons is read-more-link so your css should look like:

    .read-more-link:hover {
    background: rgb(80,80,80) !important;
    }

    For the “post comment” button your css should look like:

    input.submit[value="Post Comment"]:hover {
    background: rgb(80,80,80) !important;
    }

    Best regards,
    Mike

    in reply to: Two google maps in sidebar widget #1211559

    Hey Sonotheme,
    Sorry for the late reply, I tested adding two Google Map widgets in the same sidebar for two locations and it seems to work:
    2020-05-09_204229.png
    What happened when you tried, can we have an admin login to see?

    Best regards,
    Mike

    in reply to: New Custom Page issues #1211552

    Hi,
    Sorry for the late reply and thanks for the screenshot, I see in your screenshot that you are using the Advanced Layout Builder, so in that case the page is going to be displayed using the template-builder.php instead of the page.php file.
    Please try basing your template on the template-builder.php instead of the page.php

    Best regards,
    Mike

    in reply to: Enfold & RAM #1211551

    Hi,
    Thank you, I don’t see these on the front-end, but it does look like you have some yoast headers, you did say that you experience this when you are editing a page, which would make sense because you would not want to cache a draft page, but I don’t see this on my draft pages.
    Have you tried disabling your plugins and checking your page headers while editing? If you would like us to try please include admin login in the Private Content area.

    Best regards,
    Mike

    in reply to: Cookie behaviour – whats the difference? #1211549

    Hey OttoPf,
    Sorry for the late reply and thanks for the screenshot, the difference between “User must accept and must opt in, only essential cookies selected” and “Essential cookies are accepted on first page load, user must opt in” is that Essential cookies are accepted on first page and then the user is asked to opt-in, wherewith the other choice the user is asked to opt-in with the essential cookies selected. Please see our documentation here.

    Best regards,
    Mike

    in reply to: Enfold & RAM #1211546

    Hey,
    Sorry for the late reply, I took a look at the source code and DOM of a new install and didn’t find the headers for Cache-Control: no-transform, no-cache,
    no-store
    for the front-end or back-end of a page. Perhaps this is added by a plugin for your site?
    Please include a link to your site so we can compare headers.

    Best regards,
    Mike

    in reply to: Events Date in Magazine element (not creation Date) #1211545

    Hi,
    Sorry for the late reply, I created a test event for the Modern Event Calendar plugin and then I added a magazine element for the event category and the element shows the event date and not the creation date without having to make any changes.
    So I’m not sure why you are not getting the same results, perhaps there is a conflict with a plugin?
    Please open a new thread so we can assist, and include your admin login in the Private Content area, but as this is not your thread your login info will not be private if posted in this thread.

    Best regards,
    Mike

    in reply to: Unavailable and variable products #1211543

    Hi,
    Sorry for the late reply and thanks for the login, I see for the “out of stock” text color you are using this css:

    div.product p.stock {color: red; font-size: 13px;}

    Please try this instead:

    #top.single-product p.stock.out-of-stock {color: red; font-size: 13px;}
    #top.single-product p.stock.available-on-backorder {color: orange; font-size: 13px;}

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

    Best regards,
    Mike

    in reply to: Google conversion tracking code on contact form #1211537

    Hi,
    Sorry for the late reply, an easy way to do this is to go to the Google Tag Manager use the trigger configuration to set a click trigger for a custom class in your developer settings tab for your contact form.

    Or, try adding this code to the end of your functions.php file in Appearance > Editor:

    add_filter('avf_contact_form_submit_button_attr','avia_add_submit_attributes_to_cf', 10, 3);
    function avia_add_submit_attributes_to_cf($att, $formID, $form_params){
      $att = "onclick="_gaq.push(['event', 'conversion', {
    'send_to': 'AW-671553693/j_4iCNeJscABEJ2xnMAC',
    'event_callback': callback
    }]);"";
      return $att;
    }
    function custom_event(){
      ?>
    <script async src="https://www.googletagmanager.com/gtag/js?id=AW-671553693"></script>
    <script>
    window.dataLayer = window.dataLayer || [];
    function gtag(){dataLayer.push(arguments);}
    gtag('js', new Date());
    
    gtag('config', 'AW-671553693');
    </script>
    <?php
    }
    add_action('wp_head', 'custom_event');

    Best regards,
    Mike

    in reply to: Lightbox Change Event or Click Handler? #1211524

    Hi,
    Sorry for the late reply, the Magnific Popup Lightbox has quite a few options but I didn’t see what you have asked for. Perhaps one of the other options will help or try to describe what you want to achieve.

    Best regards,
    Mike

    in reply to: Testing Contact Form – It doesn't seem to work #1211521

    Hi,
    Sorry for the late reply, I took a look at your other thread but found it was already resolved, so I assume that this thread can also be closed?

    Best regards,
    Mike

    Hi,
    Glad to hear, thanks 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 a new thread and we will gladly try to help you :)

    Best regards,
    Mike

    in reply to: Adding post meta using advanced layout building #1211511

    Hey Tarek,
    Sorry for the late reply, this shortcode solution still works, it gives you the title and date as two different shortcodes.
    For a more complete meta shortcode try adding this code to the end of your functions.php file in Appearance > Editor: (code updated with following fix)

    function post_meta_shortcode(){
    	ob_start();
             $the_id = avia_get_the_id();
    	 $taxonomies  = get_object_taxonomies(get_post_type($the_id));
    		$cats = '';
    		$excluded_taxonomies =  apply_filters('avf_exclude_taxonomies', array('post_tag','post_format'), get_post_type($the_id), $the_id);
      
    		if(!empty($taxonomies))
    		{
    			foreach($taxonomies as $taxonomy)
    			{
    				if(!in_array($taxonomy, $excluded_taxonomies))
    				{
    					$cats .= get_the_term_list($the_id, $taxonomy, '', ', ','').' ';
    				}
    			}
    		}
      
    		if(!empty($cats))
    		{
    			echo '<span class="blog-categories minor-meta">'.__('in','avia_framework')." ";
    			echo $cats;
    			echo '</span>';
    		}
      
    	echo "<span class='post-meta-infos' style='margin-top: -25px;'>";
    	$markup = avia_markup_helper(array('context' => 'entry_time','echo'=>false));
    	echo "<time class='date-container minor-meta updated' $markup>".get_the_time(get_option('date_format'))."</time>";
    	echo "<span class='text-sep text-sep-date'>/</span>";
      
    		if ( get_comments_number() != "0" || comments_open() ){
      
    		echo "<span class='comment-container minor-meta'>";
    		comments_popup_link(  "0 ".__('Comments','avia_framework'),
    							  "1 ".__('Comment' ,'avia_framework'),
    							  "% ".__('Comments','avia_framework'),'comments-link',
    							  "".__('Comments Disabled','avia_framework'));
    		echo "</span>";
    		echo "<span class='text-sep text-sep-comment'>/</span>";
    		}
      
    		echo '<span class="blog-author minor-meta">'.__('by','avia_framework')." ";
    		echo '<span class="entry-author-link" '.avia_markup_helper(array('context' => 'author_name','echo'=>false)).'>';
    		echo '<span class="vcard author"><span class="fn">';
    		the_author_posts_link();
    		echo '</span></span>';
    		echo '</span>';
    		echo '</span>';
    	echo '</span>';
    	return ob_get_clean();
      }
      add_shortcode( 'sc_post_meta', 'post_meta_shortcode' );

    and then use the shortcode [sc_post_meta]
    2020-05-09_160225.png
    Best regards,
    Mike

    • This reply was modified 5 years, 8 months ago by Mike. Reason: updated code with following fix
    in reply to: Layout element behind a other one #1211494

    Hi,
    Sorry for the late reply and thanks for the links and images, please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    .modal-content {
    	 top: 100px !important
    }

    This moves the popup down a little to center & also makes the whole popup visible.

    Best regards,
    Mike

    in reply to: Header Background Image Doesnt Display full width #1211471

    Hi,
    Thank you.

    Best regards,
    Mike

    in reply to: Image disappearing on mouseover #1211451

    Hi,
    As I understand, you are posting the YouTube link into a post directly, and sometimes it doesn’t change into a video element. This is a native WordPress function and in my tests on a new install it seems to work correctly, so I would recommend disabling all plugins and then try enabling one at a time, to recreate the error. Also are you hitting the [return] key after the video URL? Try a regular space first then a [return] key. Are you editing in the “visual” or “text” tab?

    Best regards,
    Mike

    in reply to: How to make the special heading align to the right #1211434

    Hi,
    Thanks for sharing your solution.

    Best regards,
    Mike

    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: Elements of timeline sometimes missing #1211403

    Hi,
    Sorry for the late reply and thanks for the login. This seems to be an issue with the animation from the tabs and the timeline inside running at the same time. I have tried disabling the animation of both with the element options and css, but this didn’t help. I notice that if the timeline is outside of the tabs on the same page it loads fine. I copied your page to my localhost for further testing, but in the interest of getting your page to load correctly right away, I disabled your timeline and added an HTML version with no animation in a code block in the tab and it seems to fully load each time.
    Please clear your browser cache and check that this helps for now.

    Best regards,
    Mike

    in reply to: Left and right page margins too large #1211385

    Hi,
    Sorry, I’m not sure what you mean, so far we have not looked at any code for color, are we successful with the margins and now are on a new topic? Typically we prefer to keep each thread on a single topic, but I’m not seeing anything out of place with your sidebar color?

    Best regards,
    Mike

    in reply to: Can´t translate Cookie Consent Message #1211376

    Hey nunop,
    Sorry for the late reply, I see your site languages are nl-NL & en-GB so using the solution from here, would need to be modified to this:
    Please add your text into the field as following

    <span class="eng-cookie">Your text in English</span>
    <span class="nl-cookie">Your text in Nederlands</span>

    Then add following code to Quick CSS

    html[lang="nl-NL"] .eng-cookie { display: none !important; }
    html[lang="en-GB"] .nl-cookie { display: none !important; }

    Please try adjusting and the clear your browser & site cache and check.

    Best regards,
    Mike

    in reply to: Image disappearing on mouseover #1211375

    Hey Michael,
    Sorry for the late reply, please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    .abbinder a {
    	    width: 100% !important; 
    }

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

    Best regards,
    Mike

    Hi,
    Sorry for the late reply, and thanks for the login, to make your slider H1 bold I added this css:

    @media only screen and (max-width: 767px) { 
    	#top.home #full_slider_2 > div > div > div > div > div > div > h1 {
    		font-weight: bolder !important;
    	}
    }

    and for the other section I added this css:

    @media only screen and (max-width: 767px) { 
    #top.home #av_section_1 > div > div,#top.home #after_section_1 > div > div {
    	padding: 0px !important;
    }
    }

    Please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: background and safari 13+ #1211019

    Hi,
    I checked your page on a Mac with Safari 13.1, please see the video in the Private Content area, but I don’t see the shake either.

    Best regards,
    Mike

    in reply to: Sub Menu Will Not Stick #1211012

    Hi,
    You can add this code to the end of your child theme functions.php file in Appearance > Editor:

    add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1);
    function avia_include_shortcode_template($paths)
    {
    	$template_url = get_stylesheet_directory();
        	array_unshift($paths, $template_url.'/shortcodes/');
    
    	return $paths;
    }

    then add a directory shortcodes to your child theme and copy the directory \enfold\config-templatebuilder\avia-shortcodes\menu\ to the shortcodes directory.
    Then edit your files to suit, the child theme will then load the function instead of the parent theme.
    Then clear your browser & site cache and check.

    Best regards,
    Mike

    in reply to: ENFOLD SOCIAL ICONS SHOWING AS BOXES #1211008

    Hi,
    Do you mean that the Header set Access-Control-Allow-Origin "*" in the .htaccess works for 4.6.3.1 and not on 4.7.4? That is odd, if we had a admin login and ftp access we would be able to check.

    Best regards,
    Mike

Viewing 30 posts - 17,041 through 17,070 (of 35,026 total)