Forum Replies Created

Viewing 30 posts - 3,181 through 3,210 (of 9,352 total)
  • Author
    Posts
  • Hey!

    I tagged this thread for Kriesi. I’m not sure if there’re any updates planned to change the parallax effect or if he wants to wait for better browser support.

    Regards,
    Peter

    Hi!

    No, this is currently not possible without customizing the theme code. The “dirty hack” approach would be to use the menu item id to change the position of each menu item – i.e. you could add a negative margin-left to the first 3 items and a positive margin-left to the last 3 items. The gap between can be used for the logo. The downside of this solution is that it probably requires some media queries for mobile devices and it’s very hard to maintain. The second solution would be to change the code of the template files and to add a second main menu to the header. Then you can float one menu to the left and one menu to the right and in the center you display the logo. Your best bet is to consult a developer/freelancer for more details (working time, costs, etc.).

    Best regards,
    Peter

    in reply to: Can't save layerslider slide #277412

    Hey!

    Tbh I’ve also no idea why the slider settings don’t save on your server. I’ll forward the issue to Kriesi and hopefully he can work something out. If not you can try a different slider plugin like Master Slider or Revolution Slider. They’re not bundled with the theme but they’re compatible with Enfold.

    Best regards,
    Peter

    in reply to: My Contact Form Doesnt work #277403

    Hi afarahani!

    Yes, unfortunately hostgator makes a lot of troubles with contact forms. You can try to install the smtp mail plugin: https://wordpress.org/plugins/webriti-smtp-mail/ and if this plugin doesn’t fix it try to install https://wordpress.org/plugins/contact-form-7/ and check if cf7 can send mails. If not please ask the hostgator support team to check the server configuration. A user reported his host doesn’t allow to send emails from a different tld and the only possible fix is to change the sender email. You can use this code to change the sender address – insert it at the bottom of child theme functions.php or enfold/functions.php and replace (Email address hidden if logged out) with your email address.

    
    add_filter('avf_form_from', 'avia_change_from', 10, 3);
    function avia_change_from($from,$new_post,$params){
    $from = ' (Email address hidden if logged out) ';
    return $from;
    }
    

    Cheers!
    Peter

    in reply to: Custom Post type #277398

    Hey rpletcher!

    If you want to customize the sidebar you can use a plugin like: http://wordpress.org/plugins/display-widgets/ or http://wordpress.org/plugins/widget-logic/

    To change the page title you need to insert this code into the child theme functions.php file (or enfold/functions.php):

    
    add_filter('avf_title_args', 'fix_blog_page_title', 10, 2);
    function fix_blog_page_title($args,$id) {
    $args['title'] = get_the_title($id);
    $args['link'] = get_permalink($id);
    return $args;
    }
    

    – it will replace Blog – Latest News with the current post title. If you want to set a specific text for all custom post type entries use this code:

    
    add_filter('avf_title_args', 'fix_blog_page_title', 10, 2);
    function fix_blog_page_title($args,$id) {
    if(get_post_type($id) == "mycpt"){
    $args['title'] = "My cpt page title";
    }
    return $args;
    }
    

    and replace mycpt with your custom post type slug and “My cpt page title” with your custom page title.

    Regards,
    Peter

    in reply to: can I make 'sign up for our newsletter' box?? #277394

    Hi!

    I couldn’t find any display flaws/problems when I visited it with an Android device.

    Regards,
    Peter

    in reply to: Wrong Breadcrumb #277090

    Hi!

    Great, please let us know if it doesn’t work.

    Regards,
    Peter

    in reply to: Using the Font Icons in regular HTML #277062

    Hey Michael!

    Yes, this is possible. I’m pretty sure there’re several ways to get the raw html code but personally I just use the “Icon” shortcode and the developer tools to fetch the html code. I made a short video to demonstrate the workflow: http://screencast-o-matic.com/watch/c216DZnkxm

    Regards,
    Peter

    in reply to: Wrong Breadcrumb #277050

    Hey Lido!

    Please update WPML to version 3.1.5. You’re using 3.0.1 which is not compatible with WP3.9.1.

    Regards,
    Peter

    in reply to: Cart in menu #277047

    Hey!

    You could register a new shortcode which outputs the cart total. Insert this code into the child theme functions.php file or enfold/functions.php:

    
    function avia_total_cart_ammount_shortcode() {
         global $woocommerce; $output = '';
         if(!empty($woocommerce->cart->get_cart_total())) $output = $woocommerce->cart->get_cart_total();
         return $output;
    }
    add_shortcode('av_total_cart', 'avia_total_cart_ammount_shortcode');
    

    and use this code as menu item title:

    
    <span aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello"></span> [av_total_cart]
    

    However the main problem is that it won’t update if the user clicks the “Add to cart” button on the shop page and imo this will irritate many users. Our cart icon opens the default woocommerce ajax cart widget which updates the amount automatically (via ajax) if the user adds a new item to the cart but the solution I provided above does not support such a feature.

    Cheers!
    Peter

    in reply to: BBpress & Widget Logic #277038

    Hey mareva!

    I couldn’t get is_bbpress conditional to work with widget logic too. Thus I used this expression:

    
     (is_post_type_archive('forum') || is_singular(array('forum', 'topic', 'reply')))
    

    for a private project I worked on. I’m not sure if it also works for you but it’s worth a try.

    Cheers!
    Peter

    in reply to: Menu – open in a new window #276993

    Hey jedasim!

    You can configure the link target (new tab/window or same tab/window) on the menu builder page. Go to Appearance > Menus and click on “Screen Options”, make sure that the “Link Target” checkbox is ticked. Then expand the “Resources” menu item and configure the link target: http://www.clipular.com/c/4788349172711424.png?k=p-CndJELR-PEu9y7JBRYm6wLC6M

    Best regards,
    Peter

    in reply to: Portfolio and 404 #276992

    Hi!

    Great, glad it works now ;)

    Best regards,
    Peter

    in reply to: jquery Problem #276977

    Hey!

    I checked the code and the problem is that the plugin loads the old isotope 1.5 version and we use the new 2.0 version for Enfold (which is the most recent and stable version: http://isotope.metafizzy.co/ ). Unfortunately the 1.5 version is not fully compatible with 2.0 and thus the plugin code triggers an error (i.e. it calls a method with the name ‘reLayout’ which is called ‘layout’ since 2.0). Unfortunately I see no easy way to fix this. You can suggest the plugin author to update to the new isotope script version but if they don’t want to the Social Stream plugin is incompatible with Enfold 2.8.x.

    Regards,
    Peter

    in reply to: Portfolio and 404 #276967

    Hi oeconomedicus!

    Typically your symptoms sound like a permalinks issue. So try going to your Settings>Permalinks and then saving them as default. Check that the links to your single events are working and then re-save with your previous settings 3 times in a row. That will ‘flush’ the permalink settings. You can also try to change the slugs of the portfolio single entries and taxonomy on the Settings>Permalinks page.

    Best regards,
    Peter

    in reply to: jquery Problem #276966

    Hi Jack!

    Please create us an admin account and post the login credentials as private reply.

    Best regards,
    Peter

    in reply to: Theme Upload #276964
    This reply has been marked as private.
    in reply to: Theme Upload #276898

    Hi femiojo!

    Please try to install the theme via ftp – a tutorial video can be found here: https://vimeo.com/channels/aviathemes/67209750

    Regards,
    Peter

    in reply to: How to add Google Fonts to HEAD tag on website? #276897

    Hey!

    Try to use this code instead:

    
    function avia_custom_css() {
    echo '<link href="http://fonts.googleapis.com/css?family=Alex+Brush" rel="stylesheet" type="text/css">';
        echo '<style>
    .fancy-1 {
        font-family:"Alex Brush", cursive;
        font-size: 2em;
    }</style>';
    }
    add_action('wp_head', 'avia_custom_css');
    

    Cheers!
    Peter

    in reply to: Image animation is not looking correct #276896

    Hey!

    The theme options (color settings, etc.) won’t be affected by the theme update. I recommend to download the latest version of the theme from themeforest.net and to use ftp: https://vimeo.com/channels/aviathemes/67209750 to update the theme.

    Regards,
    Peter

    in reply to: can I make 'sign up for our newsletter' box?? #276891

    Hey!

    You can try a different lightbox like fancybox: http://fancyapps.com/fancybox/ if the default prettyphoto lightbox doesn’t work for you. I uploaded a child theme which removes the default lightbox and replaces it with fancybox here: http://www.mediafire.com/?05ho02ecut516hu – just activate the child theme and Enfold should use fancybox as default lightbox.

    Cheers!
    Peter

    in reply to: Navigation information between header and content. #276890

    Hi!

    Please create us an admin account and post the login credentials as private reply.

    Cheers!
    Peter

    in reply to: Menu #276881

    Hi!

    I changed the font color of the main menu links to black: http://www.clipular.com/c/4712518974963712.png?k=TcF6kT6uSXDCVoQ6xRKTwVmeD6g and set a font size value. You can change the settings on the “Advanced Styling” option page.

    Cheers!
    Peter

    in reply to: Contact Form Align Center #276879

    Hey webdevsd!

    1) If you want to center align the text of the input field add this code to the quick css field:

    
    #top .avia_ajax_form .text_input{
    text-align: center;
    }
    

    2) In wp-content/themes/enfold/framework/php/class-form-generator.php replace:

    
    		function text($id, $element)
    		{
    			$p_class = $required = $element_class = $value = "";
    			
    			$type = 'text';
    			// if($element['check'] == "is_email") $type = 'email'; //cant use this because of ie8 + 9
    			
    			if(!empty($element['check']))
    			{
    				$required = ' <abbr class="required" title="required">*</abbr>';
    				$element_class = $element['check'];
    				$p_class = $this->check_element($id, $element);
    			}
    
    			if(!empty($_POST[$id])) $value = urldecode($_POST[$id]);
    
    			$this->elements_html .= "<p class='".$p_class.$element['class']."' id='element_$id'>";
    			$form_el = ' <input name="'.$id.'" class="text_input '.$element_class.'" type="'.$type.'" id="'.$id.'" value="'.$value.'"/>';
    			$label = '<label for="'.$id.'">'.$element['label'].$required.'</label>';
    
    			if(isset($this->form_params['label_first']))
    			{
    				$this->elements_html .= $label.$form_el;
    			}
    			else
    			{
    				$this->elements_html .= $form_el.$label;
    			}
    
    			$this->elements_html .= "</p>";
    		}
    

    with

    
    		function text($id, $element)
    		{
    			$p_class = $required = $element_class = $value = "";
    			
    			$type = 'text';
    			// if($element['check'] == "is_email") $type = 'email'; //cant use this because of ie8 + 9
    			
    			if(!empty($element['check']))
    			{
    				$required = ' <abbr class="required" title="required">*</abbr>';
    				$element_class = $element['check'];
    				$p_class = $this->check_element($id, $element);
    			}
    
    			if(!empty($_POST[$id])) $value = urldecode($_POST[$id]);
                if(empty($value)) $value = $element['label'];
    
    			$this->elements_html .= "<p class='".$p_class.$element['class']."' id='element_$id'>";
    			$form_el = ' <input name="'.$id.'" class="text_input '.$element_class.'" type="'.$type.'" id="'.$id.'" value="'.$value.'"/>';
    			$label = '<label for="'.$id.'">'.$element['label'].$required.'</label>';
    
    			if(isset($this->form_params['label_first']))
    			{
    				$this->elements_html .= $label.$form_el;
    			}
    			else
    			{
    				$this->elements_html .= $form_el.$label;
    			}
    
    			$this->elements_html .= "</p>";
    		}
    

    and

    
    		function textarea($id, $element)
    		{
    			$p_class = $required = $element_class = $value = "";
    
    			if(!empty($element['check']))
    			{
    				$required = ' <abbr class="required" title="required">*</abbr>';
    				$element_class = $element['check'];
    				$p_class = $this->check_element($id, $element);
    			}
    
    			if(!empty($_POST[$id])) $value = urldecode($_POST[$id]);
    
    			$this->elements_html .= "<p class='".$p_class.$element['class']."' id='element_$id'>";
    			$this->elements_html .= '	 <label for="'.$id.'" class="textare_label hidden textare_label_'.$id.'">'.$element['label'].$required.'</label>';
    			$this->elements_html .= '	 <textarea name="'.$id.'" class="text_area '.$element_class.'" cols="40" rows="7" id="'.$id.'" >'.$value.'</textarea>';
    			$this->elements_html .= "</p>";
    		}
    

    with

    
    		function textarea($id, $element)
    		{
    			$p_class = $required = $element_class = $value = "";
    
    			if(!empty($element['check']))
    			{
    				$required = ' <abbr class="required" title="required">*</abbr>';
    				$element_class = $element['check'];
    				$p_class = $this->check_element($id, $element);
    			}
    
    			if(!empty($_POST[$id])) $value = urldecode($_POST[$id]);
                if(empty($value)) $value = $element['label'];
    
    			$this->elements_html .= "<p class='".$p_class.$element['class']."' id='element_$id'>";
    			$this->elements_html .= '	 <label for="'.$id.'" class="textare_label hidden textare_label_'.$id.'">'.$element['label'].$required.'</label>';
    			$this->elements_html .= '	 <textarea name="'.$id.'" class="text_area '.$element_class.'" cols="40" rows="7" id="'.$id.'" >'.$value.'</textarea>';
    			$this->elements_html .= "</p>";
    		}
    

    If you want to overwrite the contact form class with a child theme I recommend to copy the entire class within the file (starting with:

    
    if( ! class_exists( 'avia_form' ) )
    
    

    into your child theme functions.php file and to modify the code there.

    Regards,
    Peter

    in reply to: How to add Google Fonts to HEAD tag on website? #276877

    Hi!

    You can add this code to the quick css field (Enfold > Theme Options) or into the child theme style.css file. There’s no need to add it to the head section directly. If you really want to print the code directly you can insert this code into the functions.php file:

    
    function my_custom_js() {
        echo '<style>
    .fancy-1 {
        font-family:"Alex Brush", cursive;
        font-size: 2em;
    }</style>';
    }
    add_action('wp_head', 'my_custom_js');
    

    Cheers!
    Peter

    in reply to: One-Page Site Navigation #276875

    Hi!

    If you just want to show/hide/replace some menu links on a certain page you can also activate the “conditional menu” which comes with Enfold. Just insert this code into the child theme functions.php file:

    
    add_theme_support('avia_conditionals_for_mega_menu');
    

    and Enfold will add some options to the menu page (Appearance > Menus) which help you to configure the visibility of the menu items.

    Best regards,
    Peter

    in reply to: Accordion Slider not showing! Not working at all! #276874

    Hey fandragon!

    I tried the login in but the login credentials don’t work for me. Please check them again.

    Best regards,
    Peter

    in reply to: WPML #276873

    Hi!

    Thanks for helping us out :) – the plugin documentation can be found here: http://wpml.org/documentation.

    Best regards,
    Peter

    in reply to: Contact form information not sent to email. #276872

    Hi Bodymindlinks!

    Please try to insert another (gmail, ymail, outlook.com etc.) email address and check if this email address works with the contact form. If yes I guess the bodymindlinks.com mail server blocks the contact form mails somehow and you maybe need to tweak the spam filter.

    Best regards,
    Peter

    in reply to: Font color for main menu links #276871

    Hi!

    1) Use the “Small bar above Main Menu”: http://www.clipular.com/c/4867125315371008.png?k=EWMkuGIC8jYUxiXett5OdHGwJ4U color fiield to change the color of the phone number/icons, then save the options and clear the browser cache to view the results.

    If you want to change the font size insert this code into the quick css field:

    
    #top #header_meta .phone-info, #top #header_meta li{
    font-size: 12px;
    }
    

    2) You can move the menu button by adding this code to the quick css field:

    
    @media only screen and (max-width: 989px){
    .html_mobile_menu_tablet .container #advanced_menu_toggle, .html_mobile_menu_tablet #advanced_menu_hide {
    margin-top: 20px;
    }
    }
    

    20px is just a sample and you can use any positive or negative px value.

    Best regards,
    Peter

Viewing 30 posts - 3,181 through 3,210 (of 9,352 total)