Viewing 30 results - 2,461 through 2,490 (of 7,495 total)
  • Author
    Search Results
  • #1035753

    In reply to: Responsive

    Hi Janus,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    @media only screen and (max-width: 1280px) {
      nav.main_menu, #menu-item-search, #mobile-advanced .menu-item {
        display: block !important;
      }
      .menu-item {
        display: none;
      }
      #advanced_menu_toggle,
       #advanced_menu_hide {
        display: block;
      }
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1035156
    TOM
    Participant

    Hi Guys

    I’ve searched a lot in the documentary and the forum here but I didn’t find a solution for my little problem.

    I’m trying to setup a Facebook Ad-Campaign and want to create a custom Event if someone is sending an order via the (standard) contact form.

    I’ve put in the facebook pixel successfully, but I don’t know where to put this:

    <script>
      fbq('track', 'Purchase');
    </script>

    I’ve found this: https://kriesi.at/documentation/enfold/contact-form/#add-on-click-event-to-the-contact-form-submit-button-

    …but where do I put this HTML code, so Facebook knows if someone triggers the order/submit button to automatically optimize the campaign?

    I tried to put it into the ‘Message Sent label’ text, which is displayed when clicking… but this didn’t work either

    thanks in advance

    • This topic was modified 7 years, 4 months ago by TOM.
    #1035017

    Hi,

    Thanks for the update.

    Add this code on the functions.php file to render the search icon inside the mobile menu:

    add_filter( 'wp_nav_menu_items', 'avf_add_search', 9999, 2 );
    function avf_add_search( $items, $args ) {
    	if ($args->theme_location == 'avia')
    	{
    		$search = '
     	<li id="menu-item-search-mobile" class="menu-item"></li>
    ';
    		$items = $search . $items;
    	}
    	return $items;
    }
    
    add_action('wp_footer', 'avf_add_search_script');
    function avf_add_search_script(){
    ?>
    <script type="text/javascript">
    (function($) {
    	$('.av-burger-menu-main').on('click', function() {
    		var page   = window.location.href;
    		var mobile = $('.menu-item-search-mobile');
    		var search = '<form action="'+page+'" method="get" class=""><div><input type="submit" value="?" id="searchsubmit" class="button avia-font-entypo-fontello"><input type="text" id="s" name="s" value="" placeholder="Search"></div></form>';
    
    		setTimeout(function() {
    			if(mobile.find('form').length == 1) return;
    			mobile.html(search);
    		}, 500);		
    	});
    })(jQuery);
    </script>
    <?php
    }
    

    After that, add this css code on the Quick CSS field:

    #top #wrap_all #header #av-burger-menu-ul > li.av-active-burger-items.menu-item-search-mobile {
        padding: 0 30px;
        position: relative !important;
    }
    
    #top #wrap_all #header #av-burger-menu-ul > li.av-active-burger-items.menu-item-search-mobile form {
        position: relative !important;
    }

    Related thread: https://kriesi.at/support/topic/search-field-on-mobiles-has-been-disappeared-after-last-enfolds-update/#post-925174

    Best regards,
    Ismael

    #1034881
    jomo5280
    Participant

    I am using a full screen “search overlay” plugin – which works perfectly with Enfold.
    I do want to be able to add their search icon next to the mobile hamburger menu.
    I have added the class and link in the main menus to show the icon and trigger the search event. How would i add this so it displays to the left of the burger menu? is there a snippet I can add to functions?
    thanks!

    this is the class and link i am using:

    #dakh-search
    <i class="dakh-search-icon-search"></i>
    #1034442
    laurentiudragone
    Participant

    Hi folks,
    As I mentioned in the title, I’m looking for a way to transform a website to a online shop, but without the hassle of woocommerce (it isn’t really a problem, but I’m searching a easy way).
    Is there any posibility I could add a “Add to cart” option to the already products displayed here: http://www.xiao.ro/meniu

    It will be nice if Enfold developed this option in their themes in the future if this isn’t already implemented.
    Thank you for your time,
    Laurentiu

    #1034146

    Hi zykasthenia,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    .header_color .avia-tt.avia-search-tooltip {
            background-color: #ccc;
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1034144

    Hey KaISBC,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    #top .search-result-image img {
      width: 20%;
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1033744
    zykasthenia
    Participant

    Hi Enfold guys !!!
    I have 3 questions. How I can…

    1. Remove ‘Side Bar’ from this page?
    2. Add Image Item?
    3. Remove Date Item info ?

    My page results –>http://www.aldeadistribuidora.com.ar/?s=aderezos

    Many thanks..
    Claudio

    #1033726
    topergarden
    Participant

    Hi there,
    Apologies if this has been answered elsewhere – I couldn’t find a solution through searching the forums.

    I’m trying to use the fullscreen slider to make a photo slideshow, but I want the images to be displayed at 100% screen height, but not 100% width (ie. keep the scale of the images proportional so they don’t stretch to fill the width.

    I’ve tried adding a custom css class and applying the supplied code (in documentation) in the Quick CSS box, but it doesn’t seem to be affecting it (https://kriesi.at/documentation/enfold/fullscreen-slider/#toggle-id-1).

    Many thanks,
    Chris

    #1033543
    Eric
    Participant

    Hi there,

    For my Gravity Forms I want to adjust the width of the fields, because with Enfold the fields are automatically full width no matter the size you choose. But I want to exclude some fields, because it looks kind of weird, but I can’t get it done. Could you help with this?

    In Quick CSS I put the following the adjust the field width:
    #top input[type=”text”], #top input[type=”input”], #top input[type=”email”], #top input[type=”number”], #top input[type=”url”], #top input[type=”tel”], #top input[type=”search”], #top select {
    width: 400px;
    }

    #top textarea {
    width: 550px;
    }

    Now I want to exclude the date field (date of birth) and the address field (from this standard width, because it looks weird (see link to page). I just want them to have the default width.

    #1033518
    zykasthenia
    Participant

    Hi, I can’t change the background color for the Search Tooltip. Always shows in transparent.
    See my tooltip –>https://zykasthenia.com/xxx/enfold-search.jpg

    Can you help me?
    Thanks.

    Claudio

    #1033160

    Hey tankerhq,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    @media only screen and (max-width: 1120px) {
      nav.main_menu, #menu-item-search {
        display: block !important;
      }
      .menu-item {
        display: none;
      }
      .av-burger-menu-main.menu-item-avia-special {
        display: block;
      }
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    Hi Mike,

    Thanks, but I’m not finding that code in functions-enfold.php. Did a search on “entries” and “prev” just as snippets of the text in the instruction and nothing is coming up.

    George

    #1032608
    whitepandaltd
    Participant

    Hi there
    I have a enfold website with 15,000 posts and I needed to replace a telephone number on each post. I replaced the number through phpmyadmin using a search and replace sql and the posts on the database are all showing the number change.
    Unfortunately non of the same posts on wordpress dashboard are showing the number change. I have deleted all cache and the number change is still not showing.

    kopperdrake
    Participant

    I have rebuilt my WordPress site using the Enfold theme (moved from the Brightbox theme for PHP7 compatability) and I love it.
    However, I’m noticing that many of my images aren’t being indexed by Yoast, and therefore aren’t showing up in a google image search, or are showing up in weird searches.

    For example, I have one portfolio entry called Pektron Research Facility. If I search for ‘pektron research facility’ then it doesn’t show up in google images. Well, it does, but not from my website.

    If I type ‘pektron derby cgi’, I get many images from my site (five in the top nine) but none of them of the Pektron building.

    As I’m a CGI artist, this is pretty bad. Looking through the threads here I came across this one:

    https://kriesi.at/support/topic/how-to-make-images-in-masonry-gallery-to-be-indexed-in-seo-yoast-sitemap/#post-832895

    Is this still applicable? And if so, do I add it (well, both of the code changes) to the default functions.php file?

    Cheers!

    Hey paul24com,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    @media only screen and (max-width: 1160px) {
      nav.main_menu, #menu-item-search {
        display: block !important;
      }
      .menu-item {
        display: none;
      }
      .av-burger-menu-main.menu-item-avia-special {
        display: block;
      }
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1032075
    Killick
    Participant

    I’m sure this isn’t an Enfold issue, but perhaps someone here as experienced this. I did search this forum, but could not find anything that helps directly.

    I’m going round an round with no luck. I’ve got a custom post type and some custom fields created with ACF. I would like to be able to show one or two fields from the latest post on my homepage. Sounds easy. I can’t make this work!

    ACF shortcodes do not work on a page unless the post_id is available.

    [acf field=”field_name” post_id=”123″]
    The above works, but I want the newest post whatever post_id that may be.

    [acf field=”field_name”]
    The above does not work on a page. Why? is the page outside the loop??

    I’ve tried building a function to get the latest value from that field and use that to create a shortcode. This too is not working for me.?? I have various examples from found code that is not working.

    I’ve tried Custom Content Shortcode with no luck.

    Is this that difficult? Has anyone done this and have some suggestions?

    Again, I understand this my problem and not something with the theme. I’m desperate!

    #1031861

    In reply to: Main menu hook?

    Solved. Here is the solution for those needing it.

    Enfold specifically targets the ‘avia’ menu and only adds the search icon and burger menu to it. In this first step we’re going to do three things.

    1. Create our custom menus and have them appear in the admin panel
    2. Remove the default search icon that only targets avia and add one that targets our menus also
    2. Remove the default burger icon that only targets avia and add one that targets our menus also

    Create a file called function-gc.php and add the following code:

    // Adds new custom menus inside admin area
    add_action( 'after_setup_theme', 'register_gc_menus' );
    function register_gc_menus() {
        register_nav_menus( array( 'newmenu1' => 'New Menu 1' )); //name of your first menu
        register_nav_menus( array( 'newmenu2' => 'New Menu 2' )); //name of your second menu
        register_nav_menus( array( 'newmenu3' => 'New Menu 3' )); //name of your third menu; feel free to add as many of these as you'd like
    }
    
    /* AJAX SEARCH */
    
    	//first append search item to main menu
    	remove_filter( 'wp_nav_menu_items', 'avia_append_search_nav', 9997, 2 );
    	remove_filter( 'avf_fallback_menu_items', 'avia_append_search_nav', 9997, 2 );
    	add_filter( 'wp_nav_menu_items', 'gc_append_search_nav', 9997, 2 );
    	add_filter( 'avf_fallback_menu_items', 'gc_append_search_nav', 9997, 2 );
    
    	function gc_append_search_nav ( $items, $args )
    	{
    		if(avia_get_option('header_searchicon','header_searchicon') != "header_searchicon") return $items;
    		if(avia_get_option('header_position',  'header_top') != "header_top") return $items;
    
    //edit the line below with your information (newmenu1, newmenu2, etc)
    	    if ((is_object($args) && in_array($args->theme_location, array('avia','newmenu1','newmenu2','newmenu3'))) || (is_string($args) && $args = "fallback_menu"))
    	    {
    	        global $avia_config;
    	        ob_start();
    	        get_search_form();
    	        $form =  htmlspecialchars(ob_get_clean()) ;
    
    	        $items .= '<li id="menu-item-search" class="noMobile menu-item menu-item-search-dropdown menu-item-avia-special">
    							<a href="?s=" rel="nofollow" data-avia-search-tooltip="'.$form.'" '.av_icon_string('search').'><span class="avia_hidden_link_text">'.__('Search','avia_framework').'</span></a>
    	        		   </li>';
    	    }
    	    return $items;
    }
    
    /* Enables burger menu on all pages */
    //first append search item to main menu
    remove_filter( 'wp_nav_menu_items', 'avia_append_burger_menu', 9998, 2 );
    remove_filter( 'avf_fallback_menu_items', 'avia_append_burger_menu', 9998, 2 );
    add_filter( 'wp_nav_menu_items', 'gc_append_burger_menu', 9998, 2 );
    add_filter( 'avf_fallback_menu_items', 'gc_append_burger_menu', 9998, 2 );
    
    function gc_append_burger_menu ( $items , $args )
    {
    	global $avia_config;
    
    	$location = ( is_object( $args ) && isset( $args->theme_location ) ) ? $args->theme_location : '';
    	$original_location = isset( $avia_config['current_menu_location_output'] ) ? $avia_config['current_menu_location_output'] : '';
    
    	/**
    	 * Allow compatibility with plugins that change menu or third party plugins to manpulate the location
    	 *
    	 * @used_by Enfold config-menu-exchange\config.php			10
    	 * @since 4.1.3
    	 */
    	$location = apply_filters( 'avf_append_burger_menu_location', $location, $original_location, $items , $args );
    
    //edit the line below with your information (newmenu1, newmenu2, etc)
    	if ((is_object($args) && in_array($args->theme_location, array('avia','newmenu1','newmenu2','newmenu3'))) || (is_string($args) && $args = 'fallback_menu'))
    	{
    		$class = avia_get_option('burger_size');
    
    		$items .= '<li class="av-burger-menu-main menu-item-avia-special '.$class.'">
    					<a href="#">
    						<span class="av-hamburger av-hamburger--spin av-js-hamburger">
    						<span class="av-hamburger-box">
    							  <span class="av-hamburger-inner"></span>
    							  <strong>'.__('Menu','avia_framework').'</strong>
    						</span>
    						</span>
    					</a>
    				   </li>';
    	}
    	return $items;
    }

    Now we need enfold to know our new file exists
    inside function.php replace

    require_once( 'functions-enfold.php');
    

    with

    require_once( 'functions-enfold.php');
    require_once( 'functions-gc.php'); // you'll need to redo this step every time you update the theme

    Lastly, we want to have the menus appear on the pages they should appear on. This step will need to be repeated every time you update the theme.

    Inside helper-main-menu.php replace:

    $avia_theme_location = 'avia';
    $avia_menu_class = $avia_theme_location . '-menu';

    With:

        global $post;
        $newmenu1= array(85,9); // numbers represent pages, categories you want to target
        $newmenu2= array(4, 22);
        $newmenu3= array(5, 34);
    
    //if statement for every menu you have with a fallback to the default main menu
        if (in_array($post->post_parent, $newmenu1) || (in_array($post->ID, $newmenu1))){ 
    
            $avia_theme_location = 'newmenu1';
    
        } else if (in_array($post->post_parent, $newmenu2) || (in_array($post->ID, $newmenu2))){
    
            $avia_theme_location = 'newmenu2';
    
        } else if (in_array($post->post_parent, $newmenu3) || (in_array($post->ID, $newmenu3))){
    
            $avia_theme_location = 'newmenu3';
    
        } else {
    
            $avia_theme_location = 'avia'; // Goes to default Enfold Main Menu
    
        }
    
    $avia_menu_class = 'avia-menu';

    Let me know if you have any questions

    • This reply was modified 7 years, 4 months ago by GCSkye.
    #1031679
    CloudChoice
    Participant

    Hi,

    I researched, but I did not find the answer in the forum.

    Is there any limitation by using flaticon multicolor icons in enfold?

    I’m testing a new group of icons, and multicolor are not displayed to choose in the icon selection box.

    Thanks

    #1031618

    Hello,

    You are in troubles!! – This is no problem with Enfold Theme.

    You are running WP GPDR Compliance Plugin? – Then, please update as soon as possible the Plugin! More informations: https://www.wpgdprc.com/wp-gdpr-compliance-1-4-3-security-release/

    Also check your WordPress installation for changes and so on! The best would be, restore an backup from older days, and update this plugin. Otherwise you should contact an professional security researcher to check your whole WordPress installation.

    All the best.

    • This reply was modified 7 years, 4 months ago by hr_automation.
    #1031585
    This reply has been marked as private.
    #1031431

    In reply to: Main menu hook?

    Inside helper-main-menu.php I replaced:

    $avia_theme_location = 'avia';
    $avia_menu_class = $avia_theme_location . '-menu';

    With:

        global $post;
        $newmenu1= array(85,9);
        $newmenu2= array(4, 22);
        $newmenu3= array(5, 34);
    
        if (in_array($post->post_parent, $newmenu1) || (in_array($post->ID, $newmenu1))){
    
            $avia_theme_location = 'newmenu1';
    
        } else if (in_array($post->post_parent, $newmenu2) || (in_array($post->ID, $newmenu2))){
    
            $avia_theme_location = 'newmenu2';
    
        } else if (in_array($post->post_parent, $newmenu3) || (in_array($post->ID, $newmenu3))){
    
            $avia_theme_location = 'newmenu3';
    
        } else {
    
            $avia_theme_location = 'avia'; // Goes to default Enfold Main Menu
    
        }
    
    $avia_menu_class = 'avia-menu';

    This allows my menus to work perfectly but the burger menu does not display unless on a page with the avia menu showing. What is causing the burger menu and search icon to not display for newmenu1, newmenu2, and newmenu3?

    Note: I’ve added the following to function.php to avoid any questions about this:

    // Adds new custom menus inside admin area
    add_action( 'after_setup_theme', 'register_gc_menus' );
    function register_gc_menus() {
        register_nav_menus( array( 'newmenu1' => 'New Menu 1' ));
        register_nav_menus( array( 'newmenu2' => 'New Menu 2' ));
        register_nav_menus( array( 'newmenu3' => 'New Menu 3' ));
    }
    • This reply was modified 7 years, 4 months ago by GCSkye.
    #1031367

    Topic: Slow page load

    in forum Enfold
    Ilya
    Participant

    Hi,

    We’ve uploaded a new website and using Enfold Child theme, the website loads quite slow and navigation between pages is very slow (avg of 7 seconds to load a page). We have used the same server setup with another WP theme and it was not that slow so I am trying to understand why this is happening.

    Website link: http://www.solid-run.com , We are using cloudflare CDN too.

    I understand this is a very broad question but maybe you can help me point to me to the correct direction like a recommended caching plugin? Some other optimizations? Tools to see where the bottleneck is?

    We’ve searched the forums for similar issues but did not manage to isolate the problem, I can provide any info if needed.

    Thank you,
    Ilya

    #1031345

    Hi Ismael

    no i didn’t add scripts to that specific Widget (onyl changes i made on the entire site is adding some custom CSS).

    May be it is a problem which happens in conjunction with other DSGVO Options/Plugins. For example the “Sharrif” Plugin or “Borlabs Cookie” Plugin? I think it goes that direction or it is that just “Addthis” – no matter how well known it is – will not work together with specific enfold Features.

    (Right now i deactived Addthis to see what happens – it seems to help now – funny Thing is that was the first Thing i did for researching my Problem: deactivate all Plugins and switching them single on one after another. i dunno why it didnt help back then – may be the browser Cache did some tricks with me or so. meanwhile i reinstalled whole OS)

    #1031298

    In reply to: Issue with Layerslider

    Hi sdachos,

    I’m getting this error:

    Using LayerSlider from a non-standard install location or having a different directory name could lead issues in receiving and installing updates. Commonly, you see this issue when you’re using a theme-included version of LayerSlider. To fix this, please first search for an option to disable/unload the bundled version in your theme, then re-install a fresh copy downloaded from CodeCanyon. Your sliders and settings are stored in the database, re-installing the plugin will not harm them.

    Can you try to re-update your Enfold theme via ftp?

    Best regards,
    Nikko

    #1031268

    I have already tried the Google Removal Tool. Says removed, but still getting that error from Google in my report. Also, that is supposed to last 90 days only anyway. Will be in same boat again at that time even if it worked.

    These are not pages I created, What is this stuff? Is it needed by the Enfold theme or something? If not, how do I get rid of ti?!?!
    Use new Search Console

    Show 1-2 of 2
    Show:
    URL Status Removal Type Requested
    http://www.daretodreamstable.com/wp-content/themes/enfold/framework/php/avia_shortcodes/tinymce/
    Removed
    Web page removal Nov 5, 2018
    http://www.daretodreamstable.com/wp-content/themes/enfold/framework/css/conditional_load/
    Removed
    Web page removal Nov 5, 2018
    1-2 of 2

    Please advise.

    Thank you.

    #1031242
    social_natives
    Participant

    Hello,

    i have 2 Problems with my Project and hope you could help me.

    1) I wanted to add a black text shadow to the fullscreen slider text and maybe the slider title, i searched in this forum and find this solutions that i already tried:

    .avia_transform .av_slideshow_full .active-slide .avia-caption-title,
    .avia_transform .av_fullscreen .active-slide .avia-caption-title
    {text-shadow: 3px 3px 2px #000;}
    #top .avia-fullscreen-slider h2 {
        text-shadow: 1px 1px 7px #000;
    }
    #top .avia-fullscreen-slider p {
        text-shadow: 1px 1px 7px #000 !important;
    }

    after I tried this solutions and they didnt work, i activate the developer options and add a custom css class to the fullscreen slider with the name topslider and tried the solutions with .topslider instead of the CSS ids above. But it also does not work :( I hope you can find my mistake.

    2) My Second question is about the Blog Posts, if i edit them in the normal WordPress Editor they will show with the Blog-Image and the Blog-Title, but if i edit them with the enfold editor to Add Site Elements like a contact formular, they will be just show the content from the enfold editor without Blog-title and the blog-image. How could i prevent that?

    Sorry for my bad english i hope you can understand my issues. (Dont know if i could write in german).

    Thanks in advance.

    #1031097

    Hey Andy,

    Thank you for using Enfold.

    You can use the “av_custom_url” to change the search items’ url.

    add_filter( "av_custom_url", function( $link, $post ) {
       // do something here
       return $link;
    }, 10, 2 );
    

    Best regards,
    Ismael

    #1031093

    In reply to: CPT Page Title Help

    Hi,

    Thank you for using Enfold.

    A quick search led me to this thread:

    // https://wordpress.stackexchange.com/questions/279445/cannot-get-grandparent-object

    So you need to get the current post id, check if a parent page is set, get the id of that parent page, check if the current post parent’s post_parent value is set and then get the grand parent page. Just copy the conditional logic from that thread and you’re good to go.

    Best regards,
    Ismael

    #1031074

    In reply to: filtering options

    Hey Lara,

    Thank you for using Enfold.

    That is possible but it will probably require another extension or plugin. Unfortunately, adding that kind of feature is beyond the scope of support. Please search for a plugin or hire a freelance developer. You can contact our partner, Codeable.

    // https://kriesi.at/contact/customization

    Best regards,
    Ismael

Viewing 30 results - 2,461 through 2,490 (of 7,495 total)