Viewing 30 results - 85,621 through 85,650 (of 142,740 total)
  • Author
    Search Results
  • #733867

    In reply to: PHP update

    Hi,

    Please continue here: https://kriesi.at/support/topic/problems-after-update-2/#post-733866

    Best regards,
    Ismael

    #733855

    In reply to: Customize theme

    Hey seykom,

    Thank you for using Enfold.

    1.) You can define the image size in the slider’s Slideshow Image and Video Size settings. However, uploading images with the same dimension is still the best solution.

    2.) Where can we find the gallery? Are you using the theme’s gallery element?

    3.) Go to the Enfold > Advanced Styling panel and edit the Main Menu Links element. If you want to enlarge the logo, you have to increase the size of the header itself. You can do it in the Enfold > Header > Header layout panel. Set the Header Size settings accordingly.

    4.) In the Appearance > Menus panel, replace the menu item with a Custom Link. Use the hashtag (#) symbol as the url.

    5.) Please add this in the Quick CSS field.

    .main_color .avia-content-slider .slide-image {
        background: transparent;
    }

    In the future, please create a single topic or thread for each inquiry. Thank you.

    Best regards,
    Ismael

    #733853

    Hi,

    1: We can move the code from Quick CSS field to our child-themes CSS-file?

    1.) Do you mean the child theme’s style.css file? Yes, you can move the css modifications there.

    2: On a mobile the heading of the description is chopped off. I guess its more a question of the height of the color section. Is that correct? can you please point me in the right direction?

    2.) The minimum height of the slider can be adjusted on mobile view. This will create more space for the title and captions.

    // https://kriesi.at/support/topic/logo-section-overlapping-full-length-slider/#post-722773
    // https://kriesi.at/support/topic/how-to-add-cta-button-into-the-slider/#post-722308

    Best regards,
    Ismael

    #733850

    In reply to: Center column

    then how do I take away the white space in mobile view if I were to set a top padding in desktop for the right column?

    #733837

    Hi Rikard,

    Thank you for the reply. I have tested on chrome, and on safari on my mobile. Its on the home page at the bottom underneath “our Practitioners”, the colour is almost white on the desktop but when you resize the browser or when you try on your mobile phone the colour changes to a dark green. Is there a way i can send you a screenshot?

    Thanks

    Lee

    #733822

    Hi,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    @media only screen and (max-width: 767px) {
    .responsive.html_mobile_menu_tablet .main_menu .avia-menu {
        display: inline-block!important;
        position: absolute;
        right: 0;
        top: 0;
    }
    .responsive .logo img {    
        max-width: 85%;
    }}

    Best regards,
    Vinay

    • This reply was modified 9 years, 1 month ago by Vinay.
    #733795

    Hi Intell!

    That is most of the times that is a cache issue.
    Please try remove cache and check agan.
    As it is visible on desktop, it is not an issue from Enfold.

    Let us know if we can do anything else.

    Cheers!
    Basilis

    #733783

    Topic: Center column

    in forum Enfold
    wtony
    Participant

    Hi,

    How do I center two columns? I tried using top white space but it created too much white space in mobile view.
    here’s the link https://www.aeasycredit.com.hk/en/affordable-lending-online-aeasy-credit-hong-kong-backup/
    Thx

    Center this

    • This topic was modified 9 years, 1 month ago by wtony.
    #733766
    baucks
    Participant

    Hello, I have a question to an older closed topic.
    https://kriesi.at/support/topic/enfold-portfolio-title-over-image-on-hover/

    I have done this and its the thing I need. But I have two qustions.

    1) How can I prevent the “Title-Block” in the image from being affected by the image-overlay?
    I mean the 0.7 white oppacity which comes in with the 0.4s ease-in-out transition.
    This makes my title-text with its background too bright.

    2) The title-text with its background is shown when I hover the image. Thats ok, but is there a way to add a transition so that it comes up not so hard?

    Thanks in advance
    Oliver

    #733762
    Chantalkrijn
    Participant

    Hi,

    When I use some animated elements it seems to be slow loading or not at all. Sometimes you have to scroll down and up again to see the animation, sometimes it starts loading once it is already on top of the page, not when it comes visible below when scrolling.

    On my ‘Gallery’ Page you can not scroll and then the Masonry Gallery wont load properly. (I think it is because of the scrolling, not sure..)

    How can I fix this?

    #733759
    kateclow
    Participant

    Hello,

    This is a fresh WordPress and Enfold install. The “Title_container” is not showing on Desktop; only on mobile (i.e small screen).

    I have the top sub menu activated in which an image is displayed, however, the Title_container is not pushed down because of the additional height and the logo area is just displayed above it; though hiding it. If the topbar is anything more than 30px in height that will affect the Title_container. I believe there should be a CSS edit to fix this.

    Thanks,

    #733758

    Hey iwallace,

    To achieve what you are looking for please follow the steps below:

    1. Enable custom css class name support for ALB elements http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/

    2. Use 1/2 column elements instead of 1/4 and give it a class name col-50p

    3. Add the below css in quick css.

    @media only screen and (min-width:1281px) {
    .col25p { width:24%!important; }
    .col25p.first {
         margin-left: 3%!important;
         clear: none!important;
    }
    .col25p.column-top-margin {
        margin-top: 0px!important;
    }
    .col25p.av_one_half{
        margin-left:1%!important;
    }}

    Best regards,
    Vinay

    #733724
    ideenstart
    Participant

    Hi !

    The layerslider should be on top of the page without any white space above.
    I use the BLANK page template and also found this css in other support topics:

    #main { 
    padding-top: 0!important;
    }
    
    #header_meta {
    display: none;
    }

    But there still is some white space in desktop and mobile view.
    I’m sure you have the right answer at hand – like always ;-)

    Thanks in advance
    Tom

    #733720

    so here is a solution for more than two buttons:

    ALB:
    Fullscreenslider with custom class (in my case: socialbuttons3)
    downunder a colorsection with a 1/1 container (with -400px on: “Custom top and bottom margin” ) and in it a text-block !
    You now can place one image (all floating left) and again and again in the text-block. Set up your link Options and target Option to the Images

    The Text-Block got a custom class: centerbutton

    #fullscreen_slider_0.socialbuttons3 {
        z-index: 0;
    }
    
    .avia_textblock.centerbutton p {
        display: inline-block !important;
        left: 50%;
        position: relative;
        transform: translateX(-50%);
    }
    
    .avia_textblock.centerbutton a {
        display: inline !important;
        margin: 15px !important;
        opacity: 0.9;
        width: 120px;
    }
    
    .avia_textblock.centerbutton a:hover {
        transform: scale(1.1);
        opacity: 1;
        transition: all 0.4s ease-in-out;
    }
    
    .avia_textblock.centerbutton .image-overlay {
        display: none !important;
    }

    Result: https://webers-testseite.de/ikom/full-slider-with-content/

    • This reply was modified 9 years, 1 month ago by Guenni007.
    #733711

    by the way if you have more than these two buttons – i will do that too with a fullscreenslider on top.
    Underneath you put a color section – with the buttons.
    the trick is not to make the z-index higher to the buttons – but to lower it on the slider:

    see here : https://webers-testseite.de/ikom/full-slider-with-content/
    there might be a bit more css to solve – because you have to find a solution on small screens.

    The z-index for slider (i only set it for that page – or you give the fullscreen-slider a customclass to select it):

    .page-id-3220 #fullscreen_slider_0 {
        z-index: 0;
    }

    i’m looking for you to a nice solution soon

    #733710

    Hi,

    Great, glad we could help :-)

    Please let us know if you should need any further help on the topic.

    Best regards,
    Rikard

    #733701

    Hi,

    Issue of Part 2 was solved! Thanks!

    Another questions are

    1: how to activate the ” Read More” Tag in the woo commerce tab panel content?( in the single product page)
    When I insert the “Read More” Tag in it, all the content shows normal (not being hidden and without the Read more click)

    2: I want to display 2 columns of product images per row in the shop page in mobile view,
    right now it displays only 1 and looks quite large, I think.
    in the woo coomerce setting, it is already 4 columns and with 16 counts. but the mobile keeps all the same.

    I searched the forums, there is some available code
    @media only screen and (max-width: 736px) {
    .avia_textblock pre, .responsive #top #main .products .product {
    width: 45.6% !important;
    margin: 0 4% 1% 0;
    }}

    but IT DIDN’T GIVE CLEAR SOLUTION, something like need to give a PAGE ID to those code??

    #733699

    In reply to: image size lightbox

    Hi,

    Great, glad we could help :-)

    Please let us know if you should need any further help on the topic.

    Best regards,
    Rikard

    #733693
    goldenfate
    Participant

    Hi,

    Not sure if this topic has been answered before, but how and where do I disable redirects on my enfold theme? example: mysite.com/anythingthatgoeshere always redirects to mysite.com

    Please advise.

    Thank you,
    goldenfate

    #733690

    Hey Christopher,

    Thanks for the details, could you post WordPress admin login details as well please?

    Best regards,
    Rikard

    Hi Filipp,

    Ok great, thanks for the feedback. Let us know if you should need any further help on the topic.

    Best regards,
    Rikard

    #733672

    Topic: Logo on Phone

    in forum Enfold
    AnjiG
    Participant

    Hi
    I have a logo which doesn’t sit in the actual header area. It looks ok on desktop and tablet but doesn’t seem to be responsive on phones. Also (on phone) when I scroll down the logo disappears, which it is meant to do, but the menu icon is cut off.
    Anything I can do?
    Thanks
    Anji

    #733671
    Martin
    Participant

    Hey guys,

    I can’t figure out why the menu on this website will not show as the hamburger icon on desktop. It is set to “Display as Icon” in the header settings.
    On my test installation everything worked perfectly so I exported the (child) theme settings and imported them on the live installation.
    Now it doesn’t work. I use the exact same child theme mit custom css on both installations.

    I created you an admin account to check out the back end.

    Any ideas?

    Thanks,
    Martin

    #733660
    markkus2
    Participant

    Hi, why did the hiding of the codeblock with custom css for all ALB in this post (forum example) not work.
    I know, he has solved it at least with the css field of a color section, but the first intention would be more interesting. The feature for adding an ID to builder elements which haven’t one could be very helpful.

    Thanks for answering.
    Markus

    #733657

    Hi Vnay,
    thanks for quick reply. Sorry for wrong PW corrected this in PM.
    I delete the changes in Advanced Styling and add your code. This is for the textcolor. Try to use other code, I found here
    https://kriesi.at/support/topic/main-navigation-menu-styles/ or
    https://kriesi.at/support/topic/mega-menu-text-color-and-spacing/
    but nothing works. Can you help?

    thanks
    Claudia

    #733650

    Hey andyqueanda,

    Try using the ones mentioned on this thread: https://kriesi.at/support/topic/tooltip-shortcode/
    Hope this helps :)

    Best regards,
    Nikko

    #733648

    Hey Matthew,

    I think it’s possible if you use an image element and not use the image as background. You can try using an image, then turn on Custom CSS Classes (you can find the information here: http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ ) then add a class on that image element. Then go to Quick CSS (located in Enfold > General Styling) and add some css for example:

    .classname_here {
        position: absolute;
        right: 0;
        top: 0;
    }

    You will probably need to change the values a bit. Hope this idea helps :)

    Best regards,
    Nikko

    #733642

    In reply to: Blog Posts layout.

    Hey jaroljmek,

    Sorry for late response, there have been a lot of queries lately. It seems you have already done this, let us know if there’s anything you need assistance with that is related on this topic.

    Best regards,
    Nikko

    markkus2
    Participant

    Hello, i tried to turn on the custom css support for all ALB elements and since then when i try to save/actualize a page in the backend, the page always will show a blank page afterwards (by the way, it saved itself but just leave a blank page, reloading doesn’t help).
    I also deleted the css ALB code again from the function.php (enfold and child), restarted the server and the computer, but nothing has helped.
    I guess i hasn’t forgotten any code … or added:

    enfold-child (functions.php):
    <?php

    /*
    * Add your own functions here. You can also copy some of the theme functions into this file.
    * WordPress will use those functions instead of the original functions then.
    */

    /*m_code Adding Google Font*/

    add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
    function avia_add_heading_font($fonts)
    {
    $fonts[‘Merienda’] = ‘Merienda’;
    return $fonts;
    }

    add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
    function avia_add_content_font($fonts)
    {
    $fonts[‘Source Sans Pro’] = ‘Source Sans Pro:400,600,800’;
    return $fonts;
    }

    ?>

    enfold-child (functions.php):

    <?php
    if ( !defined(‘ABSPATH’) ){ die(); }

    global $avia_config;

    /*
    * if you run a child theme and dont want to load the default functions.php file
    * set the global var below in you childthemes function.php to true:
    *
    * example: global $avia_config; $avia_config[‘use_child_theme_functions_only’] = true;
    * The default functions.php file will then no longer be loaded. You need to make sure then
    * to include framework and functions that you want to use by yourself.
    *
    * This is only recommended for advanced users
    */

    if(isset($avia_config[‘use_child_theme_functions_only’])) return;

    /*
    * create a global var which stores the ids of all posts which are displayed on the current page. It will help us to filter duplicate posts
    */
    $avia_config[‘posts_on_current_page’] = array();

    /*
    * wpml multi site config file
    * needs to be loaded before the framework
    */

    require_once( ‘config-wpml/config.php’ );

    /*
    * These are the available color sets in your backend.
    * If more sets are added users will be able to create additional color schemes for certain areas
    *
    * The array key has to be the class name, the value is only used as tab heading on the styling page
    */

    $avia_config[‘color_sets’] = array(
    ‘header_color’ => ‘Logo Area’,
    ‘main_color’ => ‘Main Content’,
    ‘alternate_color’ => ‘Alternate Content’,
    ‘footer_color’ => ‘Footer’,
    ‘socket_color’ => ‘Socket’
    );

    /*
    * add support for responsive mega menus
    */

    add_theme_support(‘avia_mega_menu’);

    /*
    * add support for improved backend styling
    */

    add_theme_support(‘avia_improved_backend_style’);

    /*
    * deactivates the default mega menu and allows us to pass individual menu walkers when calling a menu
    */

    add_filter(‘avia_mega_menu_walker’, ‘__return_false’);

    /*
    * adds support for the new avia sidebar manager
    */

    add_theme_support(‘avia_sidebar_manager’);

    /*
    * Filters for post formats etc
    */
    //add_theme_support(‘avia_queryfilter’);

    /*
    * Register theme text domain
    */
    if(!function_exists(‘avia_lang_setup’))
    {
    add_action(‘after_setup_theme’, ‘avia_lang_setup’);

    function avia_lang_setup()
    {
    $lang = apply_filters(‘ava_theme_textdomain_path’, get_template_directory() . ‘/lang’);
    load_theme_textdomain(‘avia_framework’, $lang);
    }

    avia_lang_setup();
    }

    /*
    function that changes the icon of the theme update tab
    */

    if(!function_exists(‘avia_theme_update_filter’))
    {
    function avia_theme_update_filter( $data )
    {
    if(current_theme_supports(‘avia_improved_backend_style’))
    {
    $data[‘icon’] = (Email address hidden if logged out) ‘;
    }
    return $data;
    }

    add_filter(‘avf_update_theme_tab’, ‘avia_theme_update_filter’, 30, 1);
    }

    ##################################################################
    # AVIA FRAMEWORK by Kriesi

    # this include calls a file that automatically includes all
    # the files within the folder framework and therefore makes
    # all functions and classes available for later use

    require_once( ‘framework/avia_framework.php’ );

    ##################################################################

    /*
    * Register additional image thumbnail sizes
    * Those thumbnails are generated on image upload!
    *
    * If the size of an array was changed after an image was uploaded you either need to re-upload the image
    * or use the thumbnail regeneration plugin: http://wordpress.org/extend/plugins/regenerate-thumbnails/
    */

    $avia_config[‘imgSize’][‘widget’] = array(‘width’=>36, ‘height’=>36); // small preview pics eg sidebar news
    $avia_config[‘imgSize’][‘square’] = array(‘width’=>180, ‘height’=>180); // small image for blogs
    $avia_config[‘imgSize’][‘featured’] = array(‘width’=>1500, ‘height’=>430 ); // images for fullsize pages and fullsize slider
    $avia_config[‘imgSize’][‘featured_large’] = array(‘width’=>1500, ‘height’=>630 ); // images for fullsize pages and fullsize slider
    $avia_config[‘imgSize’][‘extra_large’] = array(‘width’=>1500, ‘height’=>1500 , ‘crop’ => false); // images for fullscrren slider
    $avia_config[‘imgSize’][‘portfolio’] = array(‘width’=>495, ‘height’=>400 ); // images for portfolio entries (2,3 column)
    $avia_config[‘imgSize’][‘portfolio_small’] = array(‘width’=>260, ‘height’=>185 ); // images for portfolio 4 columns
    $avia_config[‘imgSize’][‘gallery’] = array(‘width’=>845, ‘height’=>684 ); // images for portfolio entries (2,3 column)
    $avia_config[‘imgSize’][‘magazine’] = array(‘width’=>710, ‘height’=>375 ); // images for magazines
    $avia_config[‘imgSize’][‘masonry’] = array(‘width’=>705, ‘height’=>705 , ‘crop’ => false); // images for fullscreen masonry
    $avia_config[‘imgSize’][‘entry_with_sidebar’] = array(‘width’=>845, ‘height’=>321); // big images for blog and page entries
    $avia_config[‘imgSize’][‘entry_without_sidebar’]= array(‘width’=>1210, ‘height’=>423 ); // images for fullsize pages and fullsize slider
    $avia_config[‘imgSize’] = apply_filters(‘avf_modify_thumb_size’, $avia_config[‘imgSize’]);

    $avia_config[‘selectableImgSize’] = array(
    ‘square’ => __(‘Square’,’avia_framework’),
    ‘featured’ => __(‘Featured Thin’,’avia_framework’),
    ‘featured_large’ => __(‘Featured Large’,’avia_framework’),
    ‘portfolio’ => __(‘Portfolio’,’avia_framework’),
    ‘gallery’ => __(‘Gallery’,’avia_framework’),
    ‘entry_with_sidebar’ => __(‘Entry with Sidebar’,’avia_framework’),
    ‘entry_without_sidebar’ => __(‘Entry without Sidebar’,’avia_framework’),
    ‘extra_large’ => __(‘Fullscreen Sections/Sliders’,’avia_framework’),

    );

    avia_backend_add_thumbnail_size($avia_config);

    if ( ! isset( $content_width ) ) $content_width = $avia_config[‘imgSize’][‘featured’][‘width’];

    /*
    * register the layout classes
    *
    */

    $avia_config[‘layout’][‘fullsize’] = array(‘content’ => ‘av-content-full alpha’, ‘sidebar’ => ‘hidden’, ‘meta’ => ”,’entry’ => ”);
    $avia_config[‘layout’][‘sidebar_left’] = array(‘content’ => ‘av-content-small’, ‘sidebar’ => ‘alpha’ ,’meta’ => ‘alpha’, ‘entry’ => ”);
    $avia_config[‘layout’][‘sidebar_right’] = array(‘content’ => ‘av-content-small alpha’,’sidebar’ => ‘alpha’, ‘meta’ => ‘alpha’, ‘entry’ => ‘alpha’);

    /*
    * These are some of the font icons used in the theme, defined by the entypo icon font. the font files are included by the new aviaBuilder
    * common icons are stored here for easy retrieval
    */

    $avia_config[‘font_icons’] = apply_filters(‘avf_default_icons’, array(

    //post formats + types
    ‘standard’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue836’),
    ‘link’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue822’),
    ‘image’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue80f’),
    ‘audio’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue801’),
    ‘quote’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue833’),
    ‘gallery’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue80e’),
    ‘video’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue80d’),
    ‘portfolio’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue849’),
    ‘product’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue859’),

    //social
    ‘behance’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue915’),
    ‘dribbble’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue8fe’),
    ‘facebook’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue8f3’),
    ‘flickr’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue8ed’),
    ‘gplus’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue8f6’),
    ‘linkedin’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue8fc’),
    ‘instagram’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue909’),
    ‘pinterest’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue8f8’),
    ‘skype’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue90d’),
    ‘tumblr’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue8fa’),
    ‘twitter’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue8f1’),
    ‘vimeo’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue8ef’),
    ‘rss’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue853’),
    ‘youtube’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue921’),
    ‘xing’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue923’),
    ‘soundcloud’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue913’),
    ‘five_100_px’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue91d’),
    ‘vk’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue926’),
    ‘reddit’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue927’),
    ‘digg’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue928’),
    ‘delicious’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue929’),
    ‘mail’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue805’),

    //woocomemrce
    ‘cart’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue859’),
    ‘details’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue84b’),

    //bbpress
    ‘supersticky’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue808’),
    ‘sticky’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue809’),
    ‘one_voice’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue83b’),
    ‘multi_voice’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue83c’),
    ‘closed’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue824’),
    ‘sticky_closed’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue808\ue824’),
    ‘supersticky_closed’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue809\ue824’),

    //navigation, slider & controls
    ‘play’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue897’),
    ‘pause’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue899’),
    ‘next’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue879’),
    ‘prev’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue878’),
    ‘next_big’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue87d’),
    ‘prev_big’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue87c’),
    ‘close’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue814’),
    ‘reload’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue891’),
    ‘mobile_menu’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue8a5’),

    //image hover overlays
    ‘ov_external’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue832’),
    ‘ov_image’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue869’),
    ‘ov_video’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue897’),

    //misc
    ‘search’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue803’),
    ‘info’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue81e’),
    ‘clipboard’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue8d1’),
    ‘scrolltop’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue876’),
    ‘scrolldown’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue877’),
    ‘bitcoin’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue92a’),

    ));

    add_theme_support( ‘automatic-feed-links’ );

    ##################################################################
    # Frontend Stuff necessary for the theme:
    ##################################################################

    /*
    * Register frontend javascripts:
    */
    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_enqueue_script( ‘avia-compat’, $template_url.’/js/avia-compat.js’, array(‘jquery’), 2, false ); //needs to be loaded at the top to prevent bugs
    wp_enqueue_script( ‘avia-default’, $template_url.’/js/avia.js’, array(‘jquery’), 3, true );
    wp_enqueue_script( ‘avia-shortcodes’, $template_url.’/js/shortcodes.js’, array(‘jquery’), 3, true );
    wp_enqueue_script( ‘avia-popup’, $template_url.’/js/aviapopup/jquery.magnific-popup.min.js’, array(‘jquery’), 2, true);

    wp_enqueue_script( ‘jquery’ );
    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(), ‘2’, ‘all’ ); //register default style.css file. only include in childthemes. has no purpose in main theme
    wp_register_style( ‘avia-custom’, $template_url.”/css/custom.css”, array(), ‘2’, ‘all’ );

    wp_enqueue_style( ‘avia-grid’ , $template_url.”/css/grid.css”, array(), ‘2’, ‘all’ );
    wp_enqueue_style( ‘avia-base’ , $template_url.”/css/base.css”, array(), ‘2’, ‘all’ );
    wp_enqueue_style( ‘avia-layout’, $template_url.”/css/layout.css”, array(), ‘2’, ‘all’ );
    wp_enqueue_style( ‘avia-scs’, $template_url.”/css/shortcodes.css”, array(), ‘2’, ‘all’ );
    wp_enqueue_style( ‘avia-popup-css’, $template_url.”/js/aviapopup/magnific-popup.css”, array(), ‘1’, ‘screen’ );
    wp_enqueue_style( ‘avia-media’ , $template_url.”/js/mediaelement/skin-1/mediaelementplayer.css”, array(), ‘1’, ‘screen’ );
    wp_enqueue_style( ‘avia-print’ , $template_url.”/css/print.css”, array(), ‘1’, ‘print’ );

    if ( is_rtl() ) {
    wp_enqueue_style( ‘avia-rtl’, $template_url.”/css/rtl.css”, array(), ‘1’, ‘all’ );
    }

    global $avia;
    $safe_name = avia_backend_safe_string($avia->base_data[‘prefix’]);
    $safe_name = apply_filters(‘avf_dynamic_stylesheet_filename’, $safe_name);

    if( get_option(‘avia_stylesheet_exists’.$safe_name) == ‘true’ )
    {
    $avia_upload_dir = wp_upload_dir();
    if(is_ssl()) $avia_upload_dir[‘baseurl’] = str_replace(“http://&#8221;, “https://&#8221;, $avia_upload_dir[‘baseurl’]);

    $avia_dyn_stylesheet_url = $avia_upload_dir[‘baseurl’] . ‘/dynamic_avia/’.$safe_name.’.css’;
    $version_number = get_option(‘avia_stylesheet_dynamic_version’.$safe_name);
    if(empty($version_number)) $version_number = ‘1’;

    wp_enqueue_style( ‘avia-dynamic’, $avia_dyn_stylesheet_url, array(), $version_number, ‘all’ );
    }

    wp_enqueue_style( ‘avia-custom’);

    if($child_theme_url != $template_url)
    {
    wp_enqueue_style( ‘avia-style’);
    }

    }
    }

    if(!function_exists(‘avia_remove_default_video_styling’))
    {
    if(!is_admin()){
    add_action(‘wp_footer’, ‘avia_remove_default_video_styling’, 1);
    }

    function avia_remove_default_video_styling()
    {
    //remove default style for videos
    wp_dequeue_style( ‘mediaelement’ );
    // wp_dequeue_script( ‘wp-mediaelement’ );
    // wp_dequeue_style( ‘wp-mediaelement’ );
    }
    }

    /*
    * Activate native wordpress navigation menu and register a menu location
    */
    if(!function_exists(‘avia_nav_menus’))
    {
    function avia_nav_menus()
    {
    global $avia_config, $wp_customize;

    add_theme_support(‘nav_menus’);

    foreach($avia_config[‘nav_menus’] as $key => $value)
    {
    //wp-admin\customize.php does not support html code in the menu description – thus we need to strip it
    $name = (!empty($value[‘plain’]) && !empty($wp_customize)) ? $value[‘plain’] : $value[‘html’];
    register_nav_menu($key, THEMENAME.’ ‘.$name);
    }
    }

    $avia_config[‘nav_menus’] = array( ‘avia’ => array(‘html’ => __(‘Main Menu’, ‘avia_framework’)),
    ‘avia2’ => array(
    ‘html’ => ”.__(‘Secondary Menu’, ‘avia_framework’).’ <br/><small>(‘.__(‘Will be displayed if you selected a header layout that supports a submenu’, ‘avia_framework’).’ ‘.__(‘here’, ‘avia_framework’).’)</small>’,
    ‘plain’=> __(‘Secondary Menu – will be displayed if you selected a header layout that supports a submenu’, ‘avia_framework’)),
    ‘avia3’ => array(
    ‘html’ => __(‘Footer Menu <br/><small>(no dropdowns)</small>’, ‘avia_framework’),
    ‘plain’=> __(‘Footer Menu (no dropdowns)’, ‘avia_framework’))
    );

    avia_nav_menus(); //call the function immediatly to activate
    }

    /*
    * load some frontend functions in folder include:
    */

    require_once( ‘includes/admin/register-portfolio.php’ ); // register custom post types for portfolio entries
    require_once( ‘includes/admin/register-widget-area.php’ ); // register sidebar widgets for the sidebar and footer
    require_once( ‘includes/loop-comments.php’ ); // necessary to display the comments properly
    require_once( ‘includes/helper-template-logic.php’ ); // holds the template logic so the theme knows which tempaltes to use
    require_once( ‘includes/helper-social-media.php’ ); // holds some helper functions necessary for twitter and facebook buttons
    require_once( ‘includes/helper-post-format.php’ ); // holds actions and filter necessary for post formats
    require_once( ‘includes/helper-markup.php’ ); // holds the markup logic (schema.org and html5)

    if(current_theme_supports(‘avia_conditionals_for_mega_menu’))
    {
    require_once( ‘includes/helper-conditional-megamenu.php’ ); // holds the walker for the responsive mega menu
    }

    require_once( ‘includes/helper-responsive-megamenu.php’ ); // holds the walker for the responsive mega menu

    //adds the plugin initalization scripts that add styles and functions

    if(!current_theme_supports(‘deactivate_layerslider’)) require_once( ‘config-layerslider/config.php’ );//layerslider plugin

    require_once( ‘config-bbpress/config.php’ ); //compatibility with bbpress forum plugin
    require_once( ‘config-templatebuilder/config.php’ ); //templatebuilder plugin
    require_once( ‘config-gravityforms/config.php’ ); //compatibility with gravityforms plugin
    require_once( ‘config-woocommerce/config.php’ ); //compatibility with woocommerce plugin
    require_once( ‘config-wordpress-seo/config.php’ ); //compatibility with Yoast WordPress SEO plugin

    if(!current_theme_supports(‘deactivate_tribe_events_calendar’))
    {
    require_once( ‘config-events-calendar/config.php’ ); //compatibility with the Events Calendar plugin
    }

    if(is_admin())
    {
    require_once( ‘includes/admin/helper-compat-update.php’); // include helper functions for new versions
    }

    /*
    * dynamic styles for front and backend
    */
    if(!function_exists(‘avia_custom_styles’))
    {
    function avia_custom_styles()
    {
    require_once( ‘includes/admin/register-dynamic-styles.php’ ); // register the styles for dynamic frontend styling
    avia_prepare_dynamic_styles();
    }

    add_action(‘init’, ‘avia_custom_styles’, 20);
    add_action(‘admin_init’, ‘avia_custom_styles’, 20);
    }

    /*
    * activate framework widgets
    */
    if(!function_exists(‘avia_register_avia_widgets’))
    {
    function avia_register_avia_widgets()
    {
    register_widget( ‘avia_newsbox’ );
    register_widget( ‘avia_portfoliobox’ );
    register_widget( ‘avia_socialcount’ );
    register_widget( ‘avia_combo_widget’ );
    register_widget( ‘avia_partner_widget’ );
    register_widget( ‘avia_google_maps’ );
    register_widget( ‘avia_fb_likebox’ );
    register_widget( ‘avia_instagram_widget’ );

    }

    avia_register_avia_widgets(); //call the function immediatly to activate
    }

    /*
    * add post format options
    */
    add_theme_support( ‘post-formats’, array(‘link’, ‘quote’, ‘gallery’,’video’,’image’,’audio’ ) );

    /*
    * Remove the default shortcode function, we got new ones that are better ;)
    */
    add_theme_support( ‘avia-disable-default-shortcodes’, true);

    /*
    * compat mode for easier theme switching from one avia framework theme to another
    */
    add_theme_support( ‘avia_post_meta_compat’);

    /*
    * make sure that enfold widgets dont use the old slideshow parameter in widgets, but default post thumbnails
    */
    add_theme_support(‘force-post-thumbnails-in-widget’);

    /*
    * display page titles via wordpress default output
    */
    function av_theme_slug_setup()
    {
    add_theme_support( ‘title-tag’ );
    }

    add_action( ‘after_setup_theme’, ‘av_theme_slug_setup’ );

    /*title fallback*/
    if ( ! function_exists( ‘_wp_render_title_tag’ ) )
    {
    function av_theme_slug_render_title()
    {
    echo “<title>” . avia_set_title_tag() .”</title>”;
    }
    add_action( ‘wp_head’, ‘av_theme_slug_render_title’ );
    }

    /*
    * register custom functions that are not related to the framework but necessary for the theme to run
    */

    require_once( ‘functions-enfold.php’);

    /*
    * add option to edit elements via css class
    */
    // add_theme_support(‘avia_template_builder_custom_css’);

    #733610

    great, that worked, thank you!

    is there a way to determine the position a bit more precisely?
    something like top: 80% …?
    because right now, it’s too high up!

Viewing 30 results - 85,621 through 85,650 (of 142,740 total)