Forum Replies Created

Viewing 30 posts - 11,791 through 11,820 (of 34,988 total)
  • Author
    Posts
  • in reply to: Multiple Footers #1353298

    Hi,
    Please include admin login in the Private Content area so we can example.

    Best regards,
    Mike

    in reply to: Image oddities #1353297

    Hi,
    For the advanced style you would need to use the dropdown Select an element to customize to see the options:
    2022-05-28_008.jpg
    for the four links try this css:

    #top #main .main_color .avia_textblock p a:hover {
    	color: #0839cc;
    }

    For your portfolio page mobile, up to 767px, try this css:

    @media only screen and (max-width: 767px) { 
    #top.postid-619 #av-layout-grid-1 .flex_cell.avia-builder-el-last {
    	display: none;
    }
    #top.postid-619 #av-layout-grid-1 .flex_cell {
    	padding: 0;
    }
    }
    

    for the same page, 768px to 1440px, try adding this css:

    @media only screen and (min-width: 768px) and (max-width: 1440px) { 
    #top.postid-619 #header {
    	display: none;
    }
    .html_header_left #top.postid-619 #main {
        margin-left: 0;
    }
    #top.postid-619 #av-layout-grid-1 .flex_cell.avia-builder-el-last {
    	display: none;
    }
    .html_header_sidebar.html_content_align_left #top.postid-619 .container {
        float: none;
    }
    }

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

    Best regards,
    Mike

    in reply to: Remove Theme Extensions from admin bar #1353295

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: Image oddities #1353288

    Hi,
    You can disable the linked image overlay at: Enfold theme options > Advanced Styling > Linked Image Overlay
    2022-05-28_007.jpg
    You can remove the Titles on mouse-over by adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    function custom_remove_title_script() { 
    ?>
        <script>
    (function($){
        $("*").hover(function(){
          $(this).removeAttr("title");
        });  
      })(jQuery);
      </script>
        <?php
    }
    add_action('wp_footer', 'custom_remove_title_script');

    Best regards,
    Mike

    in reply to: Multiple Footers #1353287

    Hi,
    Guenni007 thanks for your feedback and your plugin suggestion, I believe they both work in the same way, here is a side-by-side comparison:
    2022-05-28_113214.jpg
    I’m not sure what you mean by lost the common view of all widget areas?

    Best regards,
    Mike

    Hi,
    Please see the Layout ▸ Header visibility and transparency in the backend page options:
    2022-05-28_004.jpg

    Best regards,
    Mike

    in reply to: Remove Theme Extensions from admin bar #1353276

    Hey peterolle,
    Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    function cAdmin() {
    	$current_user = wp_get_current_user();
    	$user = $current_user->user_login;
    	return ($user === 'enfold');
    }
    add_action('admin_bar_menu', 'update_adminbar', 999);
    function update_adminbar($wp_adminbar) {
    	if(cAdmin()) return;
    	$wp_adminbar->remove_node('avia_ext');
    }

    Best regards,
    Mike

    in reply to: Track clicks in Layerslides #1353271

    Hi,
    In the layerslider you would click your image, then attributes, then add the custom class:
    2022-05-28_001.jpg
    But you can also add the onclick attribute directly in the layerslider without using the script or the custom class in the custom attribute field:
    2022-05-28_002.jpg
    onclick gtag('event', 'Banner', 'Click', 'BSO');
    So that would probably be the easiest solution for you
    2022-05-28_003.jpg

    Best regards,
    Mike

    in reply to: Track clicks in Layerslides #1353269

    Hi,
    Thanks for the feedback, the script adds the onclick attribute to the link from the functions.php based on the like custom class.
    so if you consider this code:
    jQuery('.ga-buy a').attr('onclick', 'ga(\'send\', \'event\', \'Buy Button\', \'Resume\', \'Resume Template Download\')\;');
    the link custom class ga-buy is the target, wherever this class is found the attribute onclick is added.
    With this method you are not editing the link itself so there is no URL as in your example.

    Now the question is onClick’,’_gaq.push( correct or is onclick’,’ga( correct?
    I don’t use Google Analytics but this document points to gtag now being correct.
    If this is correct I would try this script in your functions.php:

    function add_custom_gtag(){
    ?>
    <script>
    (function($){
    	$('.custom-class a').attr('onclick', 'gtag(\'event\', \'Banner\', \'Click\', \'BSO\')\;');
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'add_custom_gtag');

    with your link having the custom class: custom-class
    I would recommend first setting up a test page with a plain image link and a custom class to test this to see if it is logging in your Google Analytics correctly.

    Best regards,
    Mike

    Hi,
    Thanks for the feedback, you are using the transparent header, so before scroll the header shows the background color of the element below it, if you want the header always white please change to not transparent.

    Best regards,
    Mike

    in reply to: Image oddities #1353231

    Hey jkos,
    Thanks for the link to your site, the issues you are experiencing are because you are using the Horizontal Gallery Slider to show your logo and QR image, this slider is designed to advance on the first click and once the image has the active class then the next click will open the link.
    This element is not a good choice for what you are trying to do, for as you see on mobile it will show one image and slide to show the next image.
    Try using a grid element with two 1/2 columns and placing an image element in each section with a link.

    Best regards,
    Mike

    Hi,
    Glad Nikko was able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: Multiple Footers #1353228

    Hi,
    As I understand your question the only difference is one image and one video in one column of the footer, so it doesn’t sound like you need two different footers, I would recommend using the plugin Widget Options then add both the image & the video to the footer and set them to only show or not show on the pages you wish.

    Best regards,
    Mike

    in reply to: Add read more button on portfolio grid titles? #1353227

    Hi,
    Thanks for the screenshots and the link, please try adding this code in the General Styling ▸ Quick CSS field or in the WordPress ▸ Customize ▸ Additional CSS field:

    @media only screen and (max-width: 767px) { 
    #main .sidebar_right .single-product-summary {
        width: 100%;
    }
    }

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

    Best regards,
    Mike

    in reply to: Track clicks in Layerslides #1353225

    Hey beverlystone,
    I believe this thread should help: Add onclick event in button shortcode
    The thread refers to a button but the onclick event is added to the link of the button (a) so the same can be applied to any link.

    Best regards,
    Mike

    in reply to: custom logo size 300xp is too small #1353222

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: Comment submitted but comment form not visible #1353171

    Hi,
    Glad to help, please let us know when we can close this thread.

    Best regards,
    Mike

    in reply to: Formatieren einer Tabelle avia-data-table via css #1353169

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: Woocommerce categories not working #1353165

    Hi,
    Glad to hear that you have this sorted out, and thanks for sharing the issue with the plugin as it will alert other users with this plugin.
    If you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: Randomize Testimonials #1353164

    Hey Scout-Bri,
    Thanks for the link to the old thread, the testimonials script is now in it’s own file at:
    \wp-content\themes\enfold\config-templatebuilder\avia-shortcodes\testimonials\testimonials.js
    try saving your current file to your desktop for fallback and create a new file with this code:

    (function($)
    {
    	"use strict";
    
    	// -------------------------------------------------------------------------------------------
    	// testimonial shortcode javascript
    	// -------------------------------------------------------------------------------------------
    	$.fn.shuffle = function() {
    
    		var allElems = this.get(),
    			getRandom = function(max) {
    				return Math.floor(Math.random() * max);
    			},
    			shuffled = $.map(allElems, function(){
    				var random = getRandom(allElems.length),
    					randEl = $(allElems[random]).clone(true)[0];
    				allElems.splice(random, 1);
    				return randEl;
    		   });
    	
    		this.each(function(i){
    			$(this).replaceWith($(shuffled[i]));
    		});
    	
    		return $(shuffled);
    	
    	};
    
    	$.fn.avia_sc_testimonial = function(options)
    	{
    		return this.each(function()
    		{
    			var container = $(this),
    				elements = container.find('.avia-testimonial');
    				$('.avia-testimonial').shuffle();
    
    
    			//trigger displaying of thumbnails
    			container.on('avia_start_animation', function()
    			{
    				elements.each( function(i)
    				{
    					var element = $(this);
    					setTimeout( function(){ element.addClass('avia_start_animation'); }, (i * 150) );
    				});
    			});
    		});
    	};
    
    }(jQuery));

    Then clear your browser cache and any cache plugin, and check.
    Note that clearing javascript cache may require a few tries.

    Best regards,
    Mike

    in reply to: social menu text link #1353160

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: Comment submitted but comment form not visible #1353159

    Hi,
    I assume that the comment was clearly spam, which was probably created with a comment spam script that just tries known WordPress comment URLs randomly so it doesn’t matter if the form is visible or not, this is a WordPress loophole that is the reason they created Akismet and auto install it on every WordPress site.
    For example here is a price list for a spammer that will post 20k comments for $34:
    2022-05-27_002.jpg
    you can be sure that his software will do this in about 10 mins.
    If you don’t want any comments I recommend the plugin Disable Comments
    If you want to allow comments on some posts you should manually approve all comments with the setting at WordPress ▸ Settings ▸ Discussion ▸ Before a comment appears ▸ Comment must be manually approved

    Best regards,
    Mike

    in reply to: Logo and Main Menu Left Sidebar border #1353151

    Hi,
    Please try this code in the General Styling ▸ Quick CSS field or in the WordPress ▸ Customize ▸ Additional CSS field:

    .html_header_left #wrap_all #main {
        border-left-style: none;
        border-left-width: 0;
    }

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

    Best regards,
    Mike

    in reply to: Equal Height Only on desktop columns #1353147

    Hey navindesigns,
    Please try this code in the General Styling ▸ Quick CSS field or in the WordPress ▸ Customize ▸ Additional CSS field:

    @media only screen and (max-width: 767px) { 
    	#top.page-id-235 .aboutTimelineBody {
        min-height: 100px !important;
    }
    }

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

    Best regards,
    Mike

    in reply to: Sticky header covers content of destination anchor #1353140

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: Formatieren einer Tabelle avia-data-table via css #1353137

    Hi,
    I see that your css is not correct, the > are showing as &gt; typically this occurs when the code is copied from an email instead of the fourm, please correct the css and clear your browser cache and check again.
    2022-05-27_001.jpg

    Best regards,
    Mike

    Hey GWS,
    Thanks for the link to your site, try adding this code to the end of your functions.php file in Appearance ▸ Editor:

    function custom_special_message() { ?>
        <script>
    window.addEventListener('DOMContentLoaded', function() {
    (function($){
    	if ($("body").hasClass("home")) {
      $( '<div class="av-special-heading">Our training center is currently closed for all in-person classes</div>' ).insertBefore( 'main.content' );
      }else{
      	 $( '<div class="av-special-heading">Sorry we are currently closed for all in-person classes</div>' ).insertBefore( 'main.content' );
      }
    })(jQuery);
    });
    </script>
        <?php
    }
    add_action('wp_footer', 'custom_special_message');

    The first message is for your homepage, the second is for all other pages. You can add a custom class to the div to style to suit your needs.
    In my test I had to inject jQuery, because your site was giving the “jQuery is not defined” error, it looks like “rocket-loader” is adding jQuery too late, at least in my test.
    If you have any trouble with this script try disabling “rocket-loader” or allow jQuery to load in the header, I’m not sure what options the “rocket-loader” gives you.

    Best regards,
    Mike

    in reply to: Grid row 100% widht on mobile #1353074

    Hi,
    Glad Nikko was able to help, if you have any further questions please login and create a new thread in the Enfold support fourm and we will gladly try to help you. Please do not use the Pre Sale Questions section for support questions. Thank you for your understanding and for using Enfold.

    Best regards,
    Mike

    in reply to: H2 Stuck in all caps. #1353073

    Hi,
    Thank you for your patience, I have reported this to the Dev Team for review and will reply when I hear back from them.

    Best regards,
    Mike

    in reply to: social menu text link #1353054

    Hey kamporo,
    Thank you 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:

    #header .social_bookmarks_Login.e-cost a:after {
      content: " Login e-cost";
      display: inline;
      font-weight: bold;
    }
    #header .social_bookmarks_Login.e-cost a,
    #header .social_bookmarks_Login.e-cost {
      width: 120px;
    }

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

    Best regards,
    Mike

Viewing 30 posts - 11,791 through 11,820 (of 34,988 total)