Forum Replies Created

Viewing 30 posts - 18,211 through 18,240 (of 67,463 total)
  • Author
    Posts
  • Hi,

    You can use this filter to control where the font file has to load.

    add_filter('avf_font_manager_load_font', function($output) {
    	if( ! is_page(array(2)) && ! is_admin() ) {
    		$output = "";
    	}
    
    	return $output;
    }, 10, 1);
    

    In the is_page function, add the IDs of the pages where you want the font icon to render.

    Best regards,
    Ismael

    Hi,

    Try to wrap the remove_filter line inside an after_setup_theme hook.

    add_action('after_setup_theme', function() {
        remove_filter( 'avf_builder_elements', 'avia_woocommerce_product_elements', 500, 1 );
    }, 10);
    

    And if you want to enable the option by default, look for this line:

    "std" 	=> "",
    

    .. and replace it with:

    "std" 	=> "hover_active",
    

    Best regards,
    Ismael

    in reply to: Enfold/Woocommerce bundle plugin #1221669

    Hi,


    @No-label
    : The site is not loading properly now. Did you take it down, or is it on maintenance mode?


    @thenetmen
    : Commenting that line out should disable the custom quantity buttons. Try to disable the file compression settings to regenerate the scripts and stylesheets.

    Best regards,
    Ismael

    in reply to: Use Java Script in Button #1221663

    Hi,

    Thank you for the update.

    We forgot to add the class attribute to the link tag. Please try to use this one instead.

    
    <div class="avia-button-wrap avia-button-center  avia-builder-el-52  el_after_av_codeblock  avia-builder-el-last ">
    	<a onclick="Calendly.initPopupWidget({url: 'https://calendly.com/mattias-aggeler/demo-penumbra-en'});return false;" href="" class="avia-button  enavia-icon_select-yes-left-icon avia-color-theme-color avia-size-small avia-position-cter">
    		<span class="avia_button_icon avia_button_icon_left " aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello"></span>
    		<span class="avia_iconbox_title">Schedule a demo</span>
    	</a></div>
    

    Best regards,
    Ismael

    Hi,

    Thank you for the update.

    We edited the page.php file and added the comments template inside. The comments section should now be visible in the site pages.

    This is what we added in the page.php file (line 37):

    //wordpress function that loads the comments template "comments.php"
    	                comments_template();
    

    Best regards,
    Ismael

    in reply to: Search Bug #1221655

    Hi,

    We can’t access the dashboard anymore. Did you remove the user account above? Please try to update the theme to v4.7.5, then post the WP and FTP details in the private field so that we can check the issue. We had difficulty finding the issue last time, but we’ll try to debug further.

    Thank you for your patience.

    Best regards,
    Ismael

    in reply to: GTM Cookies and third party cookies #1221652

    Hi,

    Where did you add the FB Pixel snippet? The theme doesn’t have a custom cookie controller for it, so a lot of users place the snippet in the Google Services > Google Analytics field along with the tracking snippet.

    You can also create a Custom Cookie toggle in the Privacy > Cookie Handling > Advanced Options section.

    Best regards,
    Ismael

    Hey Go2People,

    Thank you for the inquiry.

    Did you add any script in the functions.php file? The editor should not switch to the advance layout builder (ALB) unless there’s a script that automatically triggers the ALB button on page load.

    Best regards,
    Ismael

    in reply to: Main menu's height #1221274

    Hi,

    Sorry for the delay. Try to replace this code:

    .main_menu ul:first-child > li a {
        height: 40px!important;
        line-height: 40px!important;
    }
    

    .. with:

    .main_menu ul:first-child > li > a {
        height: 40px!important;
        line-height: 40px!important;
    }
    

    This should only affect the first level menu items.

    Best regards,
    Ismael

    in reply to: Maps Marker Pro Maps not loading #1221273

    Hi,

    Thank you for the update. This should be fine as long as you’re using an admin account or a user that can edit posts — else will be redirected to the home page.

    Best regards,
    Ismael

    in reply to: Event tickets not workting with Enfold #1221270

    Hey Cherryadvertising,

    Sorry for the delay. There is a quantity button in the right top corner of the ticket box, so it has to be set first before you’ll be able to click the button. Is that what you’re doing?

    Best regards,
    Ismael

    in reply to: Footer mobile version #1221269

    Hi,

    Sorry for the delay. You can wrap the code in this css media query.

    @media only screen and (max-width: 767px) {
      /* Add your Mobile Styles here */
    
    }
    

    Example with a few adjustments.

    @media only screen and (max-width: 767px) {
      /* Add your Mobile Styles here */
      #footer .av_one_third:first-child {
    	width: 50% !important;
      }
    
      #footer .av_one_third:nth-child(2), #footer .av_one_third:last-child {
    	width: 20% !important;
    	float: left !important;
    	margin-left: 5% !important;
      }
    }
    

    Best regards,
    Ismael

    in reply to: Layout #1221257

    Hi,

    I want to make the layout from this page: https://www.langbrett.com

    They actually set it up so that the height of the right image (446px) is the same as the combined height of the two images (203.2px each) plus the height of the caption (around 40px) in the left side. They then set all items to stack above each other when the screen width is less than 1180px. As @guenni007 mentioned, this is nearly impossible without controlling the actual height of the images and without using absolute widths as they did in the site above.

    Best regards,
    Ismael

    in reply to: Navigation current item color. #1221256

    Hey D5WDesignGroup,

    Thank you for the inquiry.

    All anchor links are active when we checked the site regardless of where we are currently in the page and it’s because of this css code.

    .header_color .av-subnav-menu a:hover, .header_color .main_menu ul:first-child > li a:hover, .header_color .main_menu ul:first-child > li.current-menu-item > a, .header_color .main_menu ul:first-child > li.active-parent-item > a, .header_color .main_menu ul:first-child > li.current_page_item > a {
        color: #ff9d4d;
    }
    

    To override the current style, please add this css code.

    .header_color .main_menu ul:first-child > li.current_page_item > a {
        color: #969696;
    }
    
    .header_color .av-subnav-menu a:hover, .header_color .main_menu ul:first-child > li a:hover, .header_color .main_menu ul:first-child > li.current-menu-item > a, .header_color .main_menu ul:first-child > li.active-parent-item > a {
        color: #ff9d4d;
    }

    Now to force the active navigation to change earlier, try to add this filter in the functions.php file.

    
    function avf_header_setting_filter_mod($header) {
    	$header['header_scroll_offset'] = $header['header_scroll_offset'] + 48;
    	return $header;
    }
    add_filter('avf_header_setting_filter', 'avf_header_setting_filter_mod', 9999, 1);

    This will adjust the scroll-offset attribute of the main container, which value is directly used in the smoothscroll script.

    Best regards,
    Ismael

    Hi,

    Sorry for delay. Unfortunately, we can’t answer that many inquiries in a single thread, so we’d like to ask you to open a different ticket or post for each issue or request. Users usually receive faster response that way.

    Now to answer your question, the columns don’t respond properly and the logo images are still visible on mobile device because the sections containing them are outside the main container (wrap_all). This usually happens when html tags are not closed properly.

    Did you add any html tags (e.g strong, p, span etc) in the page? Please make sure that all tags are closed properly.

    Best regards,
    Ismael

    in reply to: Slideshow caption time #1221244

    Hey creativeopole,

    Sorry for the delay. Please use this code in the Quick CSS field to disable the animation of the caption title.

    .avia-caption-title {
        -webkit-animation: none;
        animation: none;
        visibility: visible !important;
        opacity: 1 !important;
    }
    

    Best regards,
    Ismael

    in reply to: Immense inline styles #1221242

    Hi,

    Did you move the site somewhere else? We can’t access it anymore.

    The theme will only print the inline style if the wp-content > uploads > dynamic_avia > enfold.css file doesn’t exists. Do you see the dynamic css in the directory?

    Best regards,
    Ismael

    in reply to: Enfold 4.7.5 – Gap: 50px .flex_column_table #1221236

    Hey!

    The top margin was added because of inconsistency between columns with equal and non-equal heights. Columns with individual heights have a 50px top margin by default, but when set to have equal heights, the top margin is not added, so we adjusted the css a bit. The css might be retained in future updates.

    Regards,
    Ismael

    in reply to: Upgrading to 4.7.5 threw error #1221232

    Hi,

    Thank you for the info.

    We are not really sure why this error occurs, but what it says is that it fails to open the php/inc-autoconfig.php file, which is a bit odd because the site is working fine as you said. Maybe it’s server-related but we can’t be sure. Please let us know if you find any errors.

    Best regards,
    Ismael

    Hi!

    Thank you for the inquiry.

    We didn’t see any popup in the site when we checked it. There are also no errors or anything in the browser console. Please try to update the theme to the latest version v4.7.5 to refresh the theme files and hopefully it will remove unwanted scripts if there are any.

    Regards,
    Ismael

    Hi!

    Although Google explicitly says: Please do not place anything off-screen.

    The toggle wrap is not off screen because the css property left: 120% is relative to the parent container and not the browser view port. This is true unless the maximum width of the container is the same as the view port and the page has no sidebar, which is rarely the case. Please check the screenshot below.

    Screenshot: https://imgur.com/a/3CZbPLk

    As you can see in the screenshot, the invisible or inactive toggle wrap is not completely off the screen, but upon closer inspection, I’m not sure why it has to have that css property because the toggler works fine without it. But still, it doesn’t place the toggle_wrap container off the screen.

    And according to the following articles, there’s no definitive answer on how search engines actually handle hidden content but they said that you don’t actually get penalized for hiding a content, the content will only have less influence to the site ranking compare to those that are fully visible. So if you’re serious about SEO, maybe try to reserve using tabs, accordions or read more links for not so significant content and make sure that the most important ones are fully visible in the page.

    // https://edgy.app/how-does-google-view-hidden-content
    // https://moz.com/blog/google-css-javascript-hidden-text

    Cheers!
    Ismael

    Hi!

    Good to know! Thank you for the info. We’ll close the thread now.

    Have a nice day.

    Cheers!
    Ismael

    Hi,

    All you need to do is search for how-to accordion or tabs on Google and you’ll find thousands of examples that almost do the same thing. And are you aware that the left property there is relative to the parent container (accordion) and not the browser view port? This means that the content that is hidden is not off the screen.

    Best regards,
    Ismael

    in reply to: API Key problem – Google Maps #1220868

    Hi,

    Sorry for the delay. The map is now displaying properly in the contact page and we don’t see any errors related to the API key, so it seems like you already figure it out. Please let us know if you need anything else.

    Best regards,
    Ismael

    in reply to: Perfect Masonry Portfolio Item Order #1220862

    Hey Ink_Eye,

    Thank you for the inquiry.

    The padding property sets the aspect ratio of the images, so with 80% bottom padding, the aspect ratio would be 5:4 and with 160% padding, aspect ratio would be roughly 9:16 which is the portrait mode. You can learn more about it in the following article.

    // https://css-tricks.com/aspect-ratio-boxes/

    The class attribute of the masonry items are automatically assigned based on the width and height of the original image, so very tall images will be in portrait mode and those that are very wide are usually in landscape mode.

    Best regards,
    Ismael

    in reply to: Optimize graphics of the theme #1220854

    Hey!

    Thank you for the info.

    Are you using a lot of those background-images, or just this one image grain_top? The average size of the default image file in the background-images folder is around 30KB and some of them are less than 1KB, so it’s not really that much unless you’re using all images in that folder.

    Regards,
    Ismael

    in reply to: Breadcrump navigation on bbpress forum pages #1220847

    Hey P3T3R_0ne,

    Thank you for the inquiry.

    You can find the bbPress modifications inside the enfold\config-bbpress\config.php file. You might want to remove or override this filter.

    add_filter('avia_breadcrumbs_trail','avia_bbpress_breadcrumb');
    

    To override it, just use the remove_filter function in the functions.php file.

    remove_filter('avia_breadcrumbs_trail','avia_bbpress_breadcrumb');
    

    Best regards,
    Ismael

    in reply to: Cookie Consent / Value of the Cookie MD5 / Multisite #1220845

    Hi,

    Glad to know that you figured it out. We will probably not change that line for now because this is a special case and not many is actually changing the cookie contents. But we’ll keep the thread open.

    Best regards,
    Ismael

    in reply to: Display featured image and excerpt outside WordPress #1220842

    Hey peterolle,

    Thank you for the inquiry.

    Have you tried using the WordPress REST API? You should be able to fetch posts or any available data from your WordPress installation to any platform using HTTP requests.

    // https://developer.wordpress.org/rest-api/reference/

    Best regards,
    Ismael

    Hey René,

    Thank you for the inquiry.

    The div or _form_21 element looks empty. Which strings or text are you trying to translate? Please note that you can’t translate contents that are dynamically added or generated by the hrmtools script, but you should be able to edit those that were directly added in the code block element.

    Best regards,
    Ismael

Viewing 30 posts - 18,211 through 18,240 (of 67,463 total)