Viewing 30 results - 139,141 through 139,170 (of 142,715 total)
  • Author
    Search Results
  • #165419

    In reply to: Collapsable menu

    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

    #165412

    In reply to: Enfold Bug In Main Nav

    Hey!

    I’m not sure this is actually “fixable”. The issue is that as long as you are on the home page the absolute about link will be active because the url is the current page.

    The one page layout using anchors is just that: a one page layout. What would be a better solution would be to have an alternate menu for the blog page with links back to the home page. You could do this using css to hide the menu items on each page. Just go to your menus manager and in the top right “screen options” tab click the box to show classes on your menu items. Add hide-home to the items you want to hide on the home page and hide-blog for the items you want to hide on the blog page.

    Then add the following CSS to your Quick CSS (located under the Styling Tab in the theme options) or the custom.css file in the css folder of your theme files:

    
    #top.home .hide-home{ display: none; }
    #top.blog .hide-blog {display: none;}
    
    

    Cheers!
    Devin

    #165409

    Perhaps it is to do with the size of my logo image, or the number of top level nav items I have. Do your sample sites have a similar setup? The avia function I referred to seems to look at the width of the nav and logo before calculating a new width.

    edit: to be clear, the value is dynamic, you will not find 308px anywhere in the code.

    My guess is that it should only be shrinking the logo if there are too many nav items, but it’s been coded wrongly.

    • This reply was modified 12 years, 5 months ago by Jason.
    #165394

    In reply to: Many IE8 Issues

    For #3, I would suggest trying to re-install the theme files again and if you have any caching plugins installed flush their cache completely. I’m not actually getting any issues with it on my end for the font file.

    The menu’s switch width can be adjusted by following the guide here: https://kriesi.at/support/topic/top-menu-with-the-social-icons-bigger?replies=5#post-132320

    Since you are using the responsive script you should also add in modernzr: http://wordpress.org/plugins/modernizr/ This should help with the other issues.

    #165391

    I’ll tag the topic for the rest of support as I’m still not actually getting the same width value added to the logos on any of the sites I work on or my dev sites.

    So far this is the only topic I’ve seen with the issue as well so I’m at a loss for why you are getting it on the site.

    #165390
    faterra
    Participant

    Hi,

    I placed a button inside my layer Slider and I want to make a bit bigger, but somehow is not working.

    this is the code I used:

    <form action="http://paisagismoonline-com-br.web22.redehost.com.br/nsite1/como-funciona/">
        <input type="submit" value="Assista ao Vídeo e Veja Como é Fácil   >>">
    </form>

    and ccs: `.button {
    font: bold 25px helvetica;
    text-decoration: none;
    background-color: #f5f6cc;
    color: #717304;
    padding: 45px 55px 45px 55px;
    border-top: 2px solid #ffffff;
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #fffffff;
    border-left: 1px solid #fffffff;
    }`

    Page link: http://paisagismoonline-com-br.web22.redehost.com.br/nsite1/

    Thanks,
    Fabiana.

    #165383

    In reply to: Moving top socket menu

    Here you go – goo.gl/YVd3dh

    #165381
    taliwalt
    Participant

    The calendarizeit shortcode creates a calendar with 4 different views (there are 4 buttons on the top right corner, month, week, day, and event list) and clicking any one of these buttons refreshes the page. When viewing events on a template using a table-format (i.e. month view or week view) the events are invisible, but if I view the page as an event list, they are not.

    Please see This page on my site.

    Thank you

    #165377

    Hi Jason!

    In the future, put your URL’s in something like http://goo.gl/ . We answer anywhere from 30 to 60 posts a day individually and reading through a whole topic to pick out a url broken down to ” tiperdev dot techcore dot com dot au” is likely to get missed.

    With that said, I’m seeing the issue but I’m unable to reproduce it on any of my client sites, dev sites or personal blog all running Enfold on version 2.2.

    So the first thing to try is remove any customization, css and deactivate all plugins that are active including any drop ins like Jetpack.

    What is happening is the logo is getting a defined width from some other outside code once you get to a tablet/laptop size screen. As far as I know there isn’t anything in the theme’s javascript that ever defines the width of the logo in pixel width which is why I suggest removing all outside variables.

    Best regards,
    Devin

    #165373

    Ignoring those scripts, is there no way I can use the scripts powering the ‘back to top’ button that comes with the theme?

    #165372

    Scroll back to the top of the page. Use a screen width above 768px and below 1024px. Immediately after the page loads, the logo stretches wider. I have verified on multiple PCs using multiple browsers.

    Do you think I would have opened this thread if this wasn’t a legitimate bug? Why aren’t you taking this seriously?

    #165369

    Just like when you click the #numbers on the top corners of these posts.

    #165368

    Aha, yes it was just cache’d really heavily. While I have you, I have another question…

    I have all my links as in-page anchor links, like
    <a href="#chapter3"></a>

    and I really want them to be ‘eased’ when the page jumps like the ‘back to top’ button does. Is that something I can do? Is there a class which I can add to those tags to attach that animation?

    #165360

    In reply to: Menu Error

    Hello homemadebyx!

    Please see this topic https://kriesi.at/support/topic/collapsable-menu/#post-165144

    Cheers!
    Yigit

    #165348
    #165335

    In reply to: Moving top socket menu

    Hi!

    A link to your website would be very helpful, can you post it? You can hide your link using http://goo.gl/

    Best regards,
    Yigit

    #165332

    Hi Guys!

    I’ve got my site online:

    http://entreventos2.lafabricadigital.com.mx/

    Issues I’m having trouble with:

    1. Menu Links: Placing cursor exactly over links does not work. Link is below type.

    2. I used a smaller logo (227 x 123px) than the recommnded maximum size on the administrator theme options which is 340 x 156 px, nevertheless logo keeps resizing. I don’t want that because it loses resolution, original size is -almost- pixels perfect :)

    3. On resposive, logo falls over my <div id=header-top>, also breadcrumbs and main container are not where they should be, For sure is the margin I’m using in desktop viewport.

    4. Fixed Header with social icons and links falls over header-top image. Maybe client would request taht in the near future.

    Maybe making header-top image responsive (reducing size as viwport changes) would help?

    Here is the code:

    Header.php

    <div id='header' class=' header_color <?php avia_is_dark_bg('header_color'); echo " ".$headerMenu; ?>'>
            
            <!-- This is my extra div element-->	
            <?php echo '<div class="header-top"></div>'; ?>
            <!-- Ends extra div element-->
    
    		<?php
    
    		$social_args = array('outside'=>'ul', 'inside'=>'li', 'append' => '');
    
    		//subheader, only display when the user chooses a social header
    		if(strpos($headerS,'social_header') !== false)
    		{
    		?>

    Custom CSS:

    .container_wrap {
        border-top: none;
    }
    .header-top {
    	position: relative;
    	z-index: 400;
    	width: 100%;
    	height: 80px;
    	background-color: transparent;
    	background-attachment: scroll;
    	background-image:url(../../themes/enfold-child/images/header_image_2.png);
    	background-position: center top;
    	background-repeat: no-repeat;
            margin-bottom: -50px;
    }
    
    .title_container{
            margin-top: 35px;
    }

    Needless to say I’m not sure if I’m doing this the right way. I’ll appreciate your help a lot.

    Thank you, regards.

    #165327

    In reply to: Moving top socket menu

    link instead – http://imgur.com/54XuWgd

    #165326

    In reply to: Moving top socket menu

    Here’s a screenshot:

    I want to move the “Culture, Truth, Life, Church” links to the left of the social icons.

    #165321
    ev0l_
    Participant

    Hi!

    I have tested using the shortcodes from the layerslider WP but they dont show up on the page.

    If I go from the wp-admin to LayerSlider WP ->Transition Builder I have the following error message at the top:

    “Warning: file_get_contents(): Unable to access /home/virtual/websitename/public_html/wp-content/themes/enfold/config-layerslider/LayerSlider/sampleslider/sample_transitions.js in /home/virtual/websitename/public_html/wp-content/themes/enfold/config-layerslider/LayerSlider/builder.php on line 14 Warning: file_get_contents(/home/virtual/websitename/public_html/wp-content/themes/enfold/config-layerslider/LayerSlider/sampleslider/sample_transitions.js): failed to open stream: No such file or directory in /home/virtual/websitename/public_html/wp-content/themes/enfold/config-layerslider/LayerSlider/builder.php on line 14”

    I have the latest WordPress version, latest Enfold version and I have tested deactivate all plugins but still have the same?

    #165313

    In reply to: Spacing Issues

    Hello!

    All changes are done + removed the top bar

    Regards,
    Yigit

    #165305

    Hey!

    You are welcome :) Let us know if you have any other questions

    Cheers!
    Yigit

    #165302

    Ok thank you! for the info and for the prompt reply!

    #165296

    Hi!

    Please add following code to Quick CSS as well

    .container_wrap { border-top-style: none; }

    Cheers!
    Yigit

    itchybrain
    Participant

    Gday Kriesi

    In a previous post I raised an issue of the page sidebar menu order being out of synch with the main menu flyout order: https://kriesi.at/support/topic/how-to-reorder-page-sidebar-submenu-items/

    These sidebar menus weren’t accurately reflecting the order set in Appearance > Menus but were instead ordering alphabetically. Rearranging the appearances > menu order didn’t rearrange the sidebar order.

    Dude and Nick supplied some help but it didn’t resolve predictably before the topic was closed.

    I have modified the sidebar menu order to remove post title, as Dude advised:

    original:

    $args = array('title_li'=>'', 'child_of'=>$parent, 'echo'=>0, 'sort_column'=>'menu_order, post_title');

    changed to:

    $args = array('title_li'=>'', 'child_of'=>$parent, 'echo'=>0, 'sort_column'=>'menu_order');

    This did remove the alphabetising, but still didn’t reflect the order set in Appearances > Menu

    Another idea was offered to force the menu order by numbering the sort order explicitly, but this seems a short-term solution which becomes confusing and error-prone with an often changing architecture, particularly with deep menu lists.

    An automated method would be so much better.

    Is there a way in php to completely nullify any other sort method being applied, and then apply menu_order?

    An example of the issue can be seen here: http://itchybrain.com.au/mfs/projects/ where the hover/flyout menu is accurately showing what is set in Appearances > Menu but the sidebar does not change to be the same.

    p.s. moving the submenus to other parents, saving, then moving back, resaving, didn’t help.

    Thanks for any attention you can give this.

    cheers

    Darryl

    #165278

    Hi Rolf!

    This post has information on changing the switch width that the menu changes to the mobile menu: https://kriesi.at/support/topic/top-menu-with-the-social-icons-bigger?replies=5#post-132320

    The menu does actually have some fallback for too many menu items which works for the majority of users but when you have a wide logo and menu items it can cause a bit of customization to be required.

    Best regards,
    Devin

    #165273

    In reply to: Moving top socket menu

    Hi!

    Can you post a link to your website?

    Regards,
    Yigit

    #165269

    In reply to: Moving top socket menu

    At the moment the socket is above the social icons. The code here just moves the menu to the left, but does not align them vertically. How do I get them to be side by side?

    #165267

    I’ve tagged Peter so the topic is in his personal queue.

    #165262

    Hello All,

    I actually found the code from the forum that works: .fixed_header #main { padding-top: 65px; }

    It has a slight border at the bottom, which I think is from the “main content” being a light BG color. Is there a way to remove it?

Viewing 30 results - 139,141 through 139,170 (of 142,715 total)