Forum Replies Created

Viewing 30 posts - 63,751 through 63,780 (of 66,892 total)
  • Author
    Posts
  • in reply to: any way to change the default height of images in the mobile? #165424

    Hey!

    Configuring the LayerSlider’s height on a mobile device is a bit complicated. I suggest you use the Fullscreen Slider. You can add this on your custom.css or Quick CSS to modify the height on mobile device (iPhone).

    @media only screen and (max-width: 767px) {
    .avia-fullscreen-slider .avia-slideshow {
    min-height: 200px;
    }
    }

    Best regards,
    Ismael

    in reply to: Collapsable menu #165419

    Hey!

    Place the js folder with the avia.js file on the child theme’s folder. Add this on the child theme’s function.php:

    if(!function_exists('avia_register_frontend_scripts'))
    {
    	if(!is_admin()){
    		add_action('wp_enqueue_scripts', 'avia_register_frontend_scripts');
    	}
    
    	function avia_register_frontend_scripts()
    	{
    		$template_url = get_template_directory_uri();
    		$child_theme_url = get_stylesheet_directory_uri();
    
    		//register js
    		wp_register_script( 'avia-compat', $template_url.'/js/avia-compat.js', array('jquery'), 1, false ); //needs to be loaded at the top to prevent bugs
    		wp_register_script( 'avia-default', $child_theme_url.'/js/avia.js', array('jquery'), 1, true );
    		wp_register_script( 'avia-shortcodes', $template_url.'/js/shortcodes.js', array('jquery'), 1, true );
    		wp_register_script( 'avia-prettyPhoto',  $template_url.'/js/prettyPhoto/js/jquery.prettyPhoto.js', 'jquery', "3.1.5", true);
    		wp_register_script( 'wp-mediaelement',  $template_url.'/js/mediaelement/mediaelement-and-player.min.js', 'jquery', "1", true);
    
    		wp_enqueue_script( 'jquery' );
    		wp_enqueue_script( 'avia-compat' );
    		wp_enqueue_script( 'avia-default' );
    		wp_enqueue_script( 'avia-shortcodes' );
    		wp_enqueue_script( 'avia-prettyPhoto' );
    		wp_enqueue_script( 'wp-mediaelement' );
    
    		if ( is_singular() && get_option( 'thread_comments' ) ) { wp_enqueue_script( 'comment-reply' ); }
    
    		//register styles
    		wp_register_style( 'avia-style' ,  $child_theme_url."/style.css", array(), '1', 'screen' ); //register default style.css file. only include in childthemes. has no purpose in main theme
    		wp_register_style( 'avia-grid' ,   $template_url."/css/grid.css", array(), '1', 'screen' );
    		wp_register_style( 'avia-base' ,   $template_url."/css/base.css", array(), '1', 'screen' );
    		wp_register_style( 'avia-layout',  $template_url."/css/layout.css", array(), '1', 'screen' );
    		wp_register_style( 'avia-scs',     $template_url."/css/shortcodes.css", array(), '1', 'screen' );
    		wp_register_style( 'avia-custom',  $template_url."/css/custom.css", array(), '1', 'screen' );
    		wp_register_style( 'avia-prettyP', $template_url."/js/prettyPhoto/css/prettyPhoto.css", array(), '1', 'screen' );
    		wp_register_style( 'avia-media'  , $template_url."/js/mediaelement/skin-1/mediaelementplayer.css", array(), '1', 'screen' );
    
    		//register styles
    
    		wp_enqueue_style( 'avia-grid');
    		wp_enqueue_style( 'avia-base');
    		wp_enqueue_style( 'avia-layout');
    		wp_enqueue_style( 'avia-scs');
    		wp_enqueue_style( 'avia-prettyP');
    		wp_enqueue_style( 'avia-media');
    
            global $avia;
    		$safe_name = avia_backend_safe_string($avia->base_data['prefix']);
    
            if( get_option('avia_stylesheet_exists'.$safe_name) == 'true' )
            {
                $avia_upload_dir = wp_upload_dir();
    
                $avia_dyn_stylesheet_url = $avia_upload_dir['baseurl'] . '/dynamic_avia/'.$safe_name.'.css';
                wp_register_style( 'avia-dynamic', $avia_dyn_stylesheet_url, array(), '1', 'screen' );
                wp_enqueue_style( 'avia-dynamic');
            }
    
    		wp_enqueue_style( 'avia-custom');
    
    		if($child_theme_url !=  $template_url)
    		{
    			wp_enqueue_style( 'avia-style');
    		}
    
    	}
    }

    Best regards,
    Ismael

    in reply to: Can I put the search widget on front page without a sidebar? #165414

    Hey jbiasucci!

    What theme are you currently using? You can use this code on your header.php:

    /*
    							* Display the search form
    							*/
    							get_search_form();

    First, we need to know what kind of theme you’re using.

    Best regards,
    Ismael

    in reply to: Adding large images #165404

    Hey!

    Glad it is fixed now. :)

    Cheers!
    Ismael

    in reply to: Blurry Images in Gallery #165403

    Hey nvictory!

    The images you’re using is 495x400px only. It is very small. Please try a larger image. Suggested image size is 900x400px.

    Best regards,
    Ismael

    in reply to: Portfolio order #165402

    Hi!

    You’re not using Enfold, right? Probably you can add this on your functions.php:

    function loop_portfolio_query( $location ) {
    if ( $location == 'loop-portfolio' ) {
    global $avia_config;
    if(isset($avia_config['new_query'])) {
    $avia_config['new_query']['orderby'] = "rand";
    query_posts($avia_config['new_query']);
    		}
    	}
    }
    add_action( 'avia_action_query_check' , 'loop_portfolio_query', 10, 1 );

    Regards,
    Ismael

    in reply to: Enfold 2.2 breaks site logo image #165143

    Hello!

    Can you please create a test site then install the latest version of Enfold? Add this on your custom.css or Quick CSS:

    .logo img {
    max-width: 257px;
    max-height: 88px;
    }

    Best regards,
    Ismael

    in reply to: Blog image small preview – square vs auto height #165142

    Hey itchybrain!

    You can add this on your custom.css or Quick CSS:

    .single-post .single-small.with-slider .small-preview {
    width: 180px;
    height: auto;
    }
    
    .single-post .single-small.with-slider .small-preview img {
    height: auto;
    width: 100%;
    }

    Regards,
    Ismael

    in reply to: Tab´s title color #165103

    Hello faterra!

    You can use this for the active tab:

    .page-id-21 div .main_color .tabcontainer .active_tab {
    background-color: red;
    color: blue;
    }

    And this one for the inactive tabs:

    .page-id-21 .main_color .sidebar_tab, .main_color .tabcontainer .tab {
    color: red;
    background: gray;
    }

    You remove the body id (.page-id-21) of the page if you want to affect others tabs on other pages.

    Cheers!
    Ismael

    in reply to: Icon List #165102

    Hi!

    You can add this on your custom.css or Quick CSS:

    .iconbox_icon.heading-color.avia-font-entypo-fontello {
    color: red;
    }

    Regards,
    Ismael

    in reply to: Using Avia for a blog post #165099

    Hi!

    Yes, you can use it on posts but some issues may occur. Let us know if you experience any problems.:)

    Best regards,
    Ismael

    in reply to: Enfold Child: Widget Text Color #165097

    Hi!

    I think on text widget contents only. It is set to a lighter color to emphasize the content more. :)

    Regards,
    Ismael

    in reply to: Large blank space after WordPress gallery, any idea why? #165095

    Hello chartier!

    There is an inline css code that specify the height of each gallery-row. Do you think you can remove that? If not, you can override the css using this on your custom.css or Quick CSS:

    .gallery-row:nth-child(4) {
    height: 100px !important;
    }

    Cheers!
    Ismael

    in reply to: Facebook Like button z-index? #165093

    Hello!

    You can add a unique selector for each Avia Elements. Edit functions.php, find this code:

    if(isset($avia_config['use_child_theme_functions_only'])) return;

    Below, add this code:

    add_theme_support('avia_template_builder_custom_css');

    Edit the Text Block element with the FB like button then scroll below. Add a unique css selector on “Custom Css Class” field. For example, add “fb-textblock”.

    You can add something like this on your custom.css or Quick CSS:

    .avia_textblock.fb-textblock {
    position: relative;
    z-index: 9999;
    }
    
    .fb-like.fb_edge_widget_with_comment.fb_iframe_widget span {
    width: 450px !important;
    z-index: 9999;
    position: relative;
    }

    Remove browser cache then reload the page.

    Regards,
    Ismael

    in reply to: Display tags in portfolio #165090

    Hello!

    I’m sorry but I mean you can only show the portfolio items with the same category using the Advance Layout Builder. It’s like showing related entries but base on categories. If you download the dummy data then check the Portfolio Items, you’ll see that the Portfolio Grid has been added after the content.

    Best regards,
    Ismael

    in reply to: Media Query Classes #165087

    Hello joe88!

    You can add a unique selector for each Avia Elements. Edit functions.php, find this code:

    if(isset($avia_config['use_child_theme_functions_only'])) return;

    Below, add this code:

    add_theme_support('avia_template_builder_custom_css');

    Edit any avia elements like Button element then scroll below. Add a unique css selector on “Custom Css Class” field. For example, add “no-ipad”.

    Use media queries to target each classes. You can add something like this on your custom.css or Quick CSS to not display elements with the no-ipad selector

    @media all and (max-width: 1000px) and (min-width: 700px) {
    .no-ipad {
    display: none !important;
    }
    }

    Regards,
    Ismael

    in reply to: Ajax Search Results #165086

    Hello joe88!

    You can refer to this link: https://kriesi.at/support/topic/search-drop-down-titles/

    Regards,
    Ismael

    in reply to: Assign background "Custom Backgrounds" #165083

    Hello eduict!

    Maybe you should target the <body> tag. Can you give us a link to your website? Some of the Enfold users use this plugin http://inoplugs.com/projects/wp-backgrounds-lite-version/

    Cheers!
    Ismael

    in reply to: Theme settings not saved #165081

    Hey!

    You can set the permission settings of these files to 777.

    wp-content/themes/enfold/css/custom.css
    wp-content/uploads/dynamic_avia/enfold.css

    It will enable the theme to apply css modifications.

    Best regards,
    Ismael

    in reply to: Need help with tables inside the theme. #165047

    Hi!

    Can you give me a new login? When I try visit any other page, it automatically redirects me to the admin page. Can you please try to change [wpc_client_profile/] to [wpc_client_profile]. I’m not familiar with the plugin, what does this shortcode “[wpc_client_profile]” suppose to do? Do you think you need to add the name of the client? Something like [wpc_client_profile/alpha] or [wpc_client_profile id=”alpha”].

    Best regards,
    Ismael

    in reply to: How to set up woocommerce like the demo site? #165042

    Hello!

    You can create a custom sidebar area on Appearance > Widgets, look for “Enfold Custom Widget Area”. You can apply the sidebar when you edit a page, look for Layout > select a right or left sidebar then select the name of the custom widget area that you just created.

    Best regards,
    Ismael

    in reply to: Change name of permanent breakcrumbs link #165041

    Hello Shallnotbe!

    Edit index.php, find this code:

    $title = __('Blog - Latest News', 'avia_framework'); //default blog title

    Best regards,
    Ismael

    in reply to: How do I change the sidebars of each of my pages? #165036

    Hello uattah!

    You can go to Appearance > Widgets. If you want a new sidebar for the Shop page, you can add widgets on the Shop Overview Page widget area.

    Cheers!
    Ismael

    in reply to: Enfold 2.2 breaks site logo image #165035

    Hey!

    The logo stays 257x88px on any screen sizes. The container decreases on smaller screen sizes that’s why the menu is closer from the logo. You can add this on your custom.css or Quick CSS to decrease the logo size on smaller screens.

    @media only screen and (min-width: 1005px) and (max-width: 1155px) {
    .logo, .logo a {
    max-width: 200px;
    margin-top: 5px;
    }
    }

    Regards,
    Ismael

    in reply to: Adding a custom font #165031

    Hello!

    Please add this on your custom.css or Quick CSS:

    body, body p {
    font-family: "Alef", “Helvetica Neue”, Helvetica, Arial, sans-serif;
    }

    Best regards,
    Ismael

    Hey,

    Please send the login details to ///.

    Include the word “Kriesi” on the subject. Add the link of this thread on your email.

    Regards,
    Ismael

    in reply to: Remove featured images on pages #165028

    Hey!

    Edit includes > loop-page.php, find this code:

    $thumb = get_the_post_thumbnail(get_the_ID(), $avia_config['size']);
    
    				if($thumb) echo "<div class='page-thumb'>{$thumb}</div>";

    Remove it.,

    Best regards,
    Ismael

    in reply to: Russian language #165021

    Hi mcheev!

    You can download RUS po-mo files here. Place it on wp-content/themes/enfold/lang folder. Edit wp-config.php, find this code:

    define('WPLANG', '');

    Replace it with:

    define('WPLANG', 'ru_RU');

    Cheers!
    Ismael

    in reply to: Need help with tables inside the theme. #165019

    Hi!

    Please send the login details to ///.

    Include the word “Kriesi” on the subject. Add the link of this thread on your email.

    Best regards,
    Ismael

    in reply to: Display tags in portfolio #165018

    Hey!

    You need to manually add the recent or related portfolio entries using the Portfolio Grid element if you switch to Advance Layout Editor for portfolio items.

    Best regards,
    Ismael

Viewing 30 posts - 63,751 through 63,780 (of 66,892 total)