Forum Replies Created

Viewing 30 posts - 9,721 through 9,750 (of 11,480 total)
  • Author
    Posts
  • in reply to: Add a widget to left main menu area #775488

    hm the place you are looking for has no enfold prepared hook – but we can do it ourself.

    if you are working with a child theme please goto your child-theme folder and create a subfolder named: includes
    On enfold / includes there is a file : helper-main-menu.php

    upload a copy of this to your child-theme includes folder.
    We must now insert some code to that copied helper-main-menu.php
    On line 199 you see:

    `/* end container */
    $output .= ” </div> “;`

    after that insert :

    /*
    * Hook that can be used for plugins and theme extensions
    */
    ob_start();
    do_action('ava_after_inner_container');
    $output .= ob_get_clean();

    so you have than :

    /* end container */
    $output .= " </div> ";
    
    /*
    * Hook that can be used for plugins and theme extensions
    */
    ob_start();
    do_action('ava_after_inner_container');
    $output .= ob_get_clean();
    	
    //output the whole menu     
    echo $output; 

    so now we have a piece where we can hook the widget to. in your functions.php of your child-theme add:

    add_action( 'ava_after_inner_container', 'enfold_customization_header_widget_area' );
    function enfold_customization_header_widget_area() {
        dynamic_sidebar( 'sidebar-header-widget' );
    }

    Important: If you have allready used that functions name (enfold_customization_header_widget_area) replace it by another function-name.

    Goto your widgets and create a customized widget area called “sidebar-header-widget

    Goto your Quick css and add:

    .html_header_sidebar ul.social_bookmarks {
        border-bottom: 2px solid #efefef;
    }
    .html_header_sidebar #header_main .widget {
        margin: 0 13%;
    }

    PS

    Look what happens to this widget area on responsive case! it is than directly under the header.
    You will manage that by yourself – i would decide to not show that container and do it to display none ?

    You can see the test page here: https://webers-testseite.de/kokon/elements/buttons/

    • This reply was modified 8 years, 2 months ago by Guenni007.
    in reply to: LayerSlider manual update #774899

    if it was deactivated and all your sliders are seen in the layerslider options – you can deinstall it.
    You can do what you did – and delete it via ftp – I would prefer the deinstall routine – to avoid some rest on your database.
    On beeing a bit paranoid – save first all sliders – you can do that on layerslider options (best is list view) – on list view there is on the right side a little drop-down menu – there is an export option.

    And magic – from now on your layerslider will update via Enfold Update

    yes do it with that widget solution – this has another advantage because some plugins like restrict widgets or widget logic can customise the way where you inserted it .

    F.e. place that content and restrict the visibility to only categories or posts or … etc.

    in reply to: How to add same form code to every post? #774700

    you see the code to register that widget area – test it !

    in reply to: How to add same form code to every post? #774696

    aha – jotform got no widget itself but here are some instruction to embed that form: https://www.jotform.com/answers/497948-Jotform-as-Wordpress-Widget

    if you got a shortcode from jotform you can place it in a text in that widget area
    JotForm’s Embed Form plugin

    i placed testwise a contact form 7 via shortcode this way in a text widget:

    <div class="avia-section">
    <div class="container">
    [contact-form-7 id="3235" title="Kontaktformular 1"]
    </div>
    </div>

    these divs – just to have directly the correct width of the area.

    in reply to: How to add same form code to every post? #774695

    haha – now i got an idea – it must be possible to place a widget there via that hook.
    if you got a widget field there are a lot of contakt widgets on wordpress.

    add_action( 'ava_before_footer', 'enfold_customization_beforefooter_widget_area' );
    function enfold_customization_beforefooter_widget_area() {
    	dynamic_sidebar( 'before-footer' );
    }

    goto widgets and create a new widget area called “before-footer”

    i placed f.e. a contact form 7 form in it
    see here: https://webers-testseite.de/kokon

    • This reply was modified 8 years, 2 months ago by Guenni007.
    in reply to: How to add same form code to every post? #774688

    Sorry lucille – i’m Participant as you – so i do not see Private Content on your postings

    in reply to: How to add same form code to every post? #774681

    Can you please post a link to one of those form elements ?

    f.e. : if you place this to your functions.php of your child-theme:

    add_action('ava_before_footer', function() {
    ?>
    Content
    <?php
    });

    you will see on every page at the bottom – just before footer starts that text “Content”
    so html is possible

    but

    a form with sending options is something different – i do not know if f.e. it is possible to insert avia shortcode in it.

    • This reply was modified 8 years, 2 months ago by Guenni007.
    in reply to: Can I combine footer widget columns? #774671

    i can not see your site because i’m a participant as you – but the code did work on 2 testinstallations of mine (without !important) so my suggestion was that you are still in 1/4th column setup – and tries to unify the last two columns.
    Sorry for that suggenstion. Did you set up on Dashboard – Enfold (Child) – Footer – Footer Columns : 3 ?

    in reply to: LayerSlider manual update #774660

    The standalone Plugin will place on the same admin bar a layerslider heading.
    Have you deactivated not deinstalled the plugin in your plugin list?
    Please tell us what has been happend.

    • This reply was modified 8 years, 2 months ago by Guenni007.
    in reply to: LayerSlider manual update #774485

    so try to deactivate that plugin in plugins list. Nothing will be lost because Database has all your settings.
    Click once to dashboard (because it has to regenerate the admin bar) and have a look if layerslider is still in your dashboard listing. –

    • if not you had to reactivate the plugin – save the sliders to your harddisc –
      erase the whole enfold folder ( only if you working with a child-theme ) upload the newest version of enfold folder via ftp.
      get rid of your layerslider folders in your plugins directory. Load your sliders in the embedded enfold one.
    • if yes and all your sliders are still there – delete your layerslider from plugins list (you can do that (because it is not activated yet – via ftp)

    it seems that you have allways had that mismatch – who ever did that – it was the wrong way – if there is a layerslider folder on plugins directory – this is not the embedded one – believe me or not ( i’m just a noob with 3 Replies in this forum)

    i have a standalone license of layerslider – and if i must use those only activated features (origami transition etc.) i do that code to functions.php child-theme to deactivate the embedded one and install the standalone plugin.

    • This reply was modified 8 years, 2 months ago by Guenni007.
    in reply to: Display video in a lightbox after a click on an image #774479

    and !!! what do you inserted in your video link ? this ist your site where the video to youtube is linked ?
    that is why you got that scroll you got an iframe in an iframe !

    see again here: https://webers-testseite.de/ikom/video/

    do as manual link on your page direktly the link to youtube page :
    https://www.youtube.com/watch?v=waXFJHu2Jy8?autoplay=1&rel=0&iframe=true

    • This reply was modified 8 years, 2 months ago by Guenni007.
    in reply to: Display video in a lightbox after a click on an image #774383

    well a lightbox is a lightbox – but you want it as big as possible!

    please insert into your quick css:

    .mfp-iframe-scaler {
        height: 55vw !important;
        width: 98vw !important;
    }

    you can do 100vw and 56vw – but than i think the close button is out of screen. ( The values concern to 16:9 ratio)

    btw: on youtube something changes with embed code !!! do not take the embed code instead look to your url in the browser window for that video on my example (right side) the link in the url is:
    https://www.youtube.com/watch?v=B7wkzmZ4GBw
    the link given to you by clicking the share button is:
    https://youtu.be/B7wkzmZ4GBw
    if you click on embed on that screen you will get the iframe link:
    <iframe width="560" height="315" src="https://www.youtube.com/embed/B7wkzmZ4GBw?rel=0" frameborder="0" allowfullscreen></iframe>

    But we need the url in the browser add to that url:

    https://www.youtube.com/watch?v=B7wkzmZ4GBw?rel=0&autoplay=1&iframe=true
    and place it as manual link

    • This reply was modified 8 years, 2 months ago by Guenni007.
    in reply to: Display video in a lightbox after a click on an image #774240

    what kind of video link is it – a selfhosted or youtube or vimeo ?

    first place an image element . On that element there is a second tab – “link settings”
    place an individuell (manuell link) put in the video url
    and just try to ad after the url ?iframe=true f.e.

    https://vimeo.com/4949853?iframe=true

    the first option must added with the “?” after that each option has to be added by “&” so f.e.

    https://vimeo.com/4949853?iframe=true&autoplay=1

    see here: https://webers-testseite.de/ikom/video/

    for youtube i think it is similar to that. For selfhosted i did not do a test til now.

    • This reply was modified 8 years, 2 months ago by Guenni007.
    in reply to: how to keep language option #774230

    well it is prepared to be 100% compatibel – but it is not embeded like Layerslider Plugin.
    You have to have your own license.

    in reply to: Can I combine footer widget columns? #774194

    yes it is because you unconsciously talk at cross purposes.
    Please Dandelion222 place that code to your quick css and goto your Enfold Footer options and
    choose 3 columns for the footer : the last 3rd is than two times wider than the 2 in front

    in reply to: LayerSlider manual update #774161

    The plugins list says 5.6.8, and inside…

    have you got in your plugins list a layerslider ?
    If so – this is not the embedded one

    see one of my testinstallations – no layerslider in plugins-list but layerslider (the embedded one) on dashboard.

    in reply to: Datepicker, only allow Dates in the Future #774083

    this gives you the opportunity to do it via if clauses :
    (in this case only for page 3191

    function my_datepicker_defaults() {
    if( is_page(3191) ) {
    ?>
     <script type="text/javascript">
    	jQuery(document).ready(function(){ 
    		jQuery.datepicker.setDefaults({
    		minDate: 0,
    		maxDate: "+12m"
           		});
      	});   
     </script>
    <?php
    }
    }
    add_action('wp_footer', 'my_datepicker_defaults', 20);

    see it in action: not for this sites: https://webers-testseite.de/kokon/elements/contact-form/
    but for that 3191 site: https://webers-testseite.de/kokon/flexbox/

    in reply to: Datepicker, only allow Dates in the Future #774080

    could you please try to do this in functions.php of child-theme:

    function my_datepicker_defaults() {
    ?>
     <script type="text/javascript">
    	jQuery(document).ready(function(){ 
    		jQuery.datepicker.setDefaults({
    		minDate: 0,
    		maxDate: "+12m"
           		});
      	});   
     </script>
    <?php
    }
    add_action('wp_footer', 'my_datepicker_defaults', 20);

    this seems to work on my test installation

    in reply to: Datepicker, only allow Dates in the Future #774058

    or – because it is an own action

    add_action( 'wp_footer', 'helper_print_datepicker_script' );

    that we can remove the action and set up a new one.

    in reply to: Datepicker, only allow Dates in the Future #774037

    hm – i thought we can manage it via :

           $.datepicker.setDefaults({
    		minDate: 0,
    		maxDate: "+12m"
           })

    but when i’m sucessful with that code inserted – some other things on enfold do not work correct. – And i don’t know realy why

    in reply to: LayerSlider manual update #774025

    oh wow – even a screenshot is now top secret :lol: must be a fbi or cia site

    by the way – layerslider got his own export options – you can even export with all images you use. – so backup first this way.

    And again my question !!! – if you have on plugins list a layerslider you have installed it stand alone.
    This is not the embeded slider than. Enfold does not have on plugin list the layerslider. !!!

    if you definitly want to have your own layerslider – deactivate the embeded one! by inserting this to functions.php of your child-theme:

    add_theme_support('deactivate_layerslider');

    but the standalone does not support advanced layout builder element (layerslider ) you than have to insert it via shortcode !
    If you like to have this option on inserting advanced layer sliders via alb into your page/posts you have to deinstall the standalone one !

    • This reply was modified 8 years, 2 months ago by Guenni007.
    in reply to: More than one header style #773898

    thanks ismael – i will test it and then goes to my personal snippet list

    i did it this way:

    function avia_custom_logo(){
    ?>
     <script>
    jQuery('.html_header_sidebar .logo').find('img').attr('src', 'path to the new logo');
     </script>
    <?php
    }
    add_action('wp_footer', 'avia_custom_logo');
    • This reply was modified 8 years, 2 months ago by Guenni007.
    in reply to: LayerSlider manual update #773881

    if you go to your dashboard and on layerslider – the first window – scrolldown ! what do you see here on the right side?
    click on image to enlarge:

    Or do you have a standalone layerslider license installed?

    • This reply was modified 8 years, 2 months ago by Guenni007.
    in reply to: Datepicker, only allow Dates in the Future #772455

    overwrite the php you have inserted to your parent theme with original and try this here in child-theme functions.php

    coming soon – seem to be a bit buggy :lol

    no -sorry i managed it to insert those settings but on enfold then something mismatched.
    maybe one mod could help here.

    • This reply was modified 8 years, 2 months ago by Guenni007.

    do it to the outerimage container:

    .av-masonry-outerimage-container {
        background-color: transparent !important;
    }

    and if you want the figcaption too:

    .av-masonry-container figcaption {
        background-color: transparent !important;
    }

    and if that little arrow is disturbing :

    .av-masonry-entry .avia-arrow {
        display: none;
    }
    in reply to: "equal height" of columns not working #771811

    Offtopic:

    wie gesagt – reiner Eigennutz. Durch die Fragen bin ich gezwungen über die Machbarkeit nachzudenken.
    Das hilft mir weiter, mich schnell einzuarbeiten.

    in reply to: "equal height" of columns not working #771710

    Doch das funktioniert :
    Die Equal Height gilt ja für den Surrounding container also für die Column nicht für den Content. Der Content war es aber der den Hintergrund bekam beim Anlegen als top boxed content with borders.
    Was also gemacht werden musste war: dieses Styling löschen, und es der Column zuordnen.
    Um das mit dem Aussehen hinzubekommen – geben wir also nachher der Column diese Eigenschaften.

    Das Setup kann so bleiben denke ich wie du es gemacht hast.
    Die Columns bitte in eine Color-Section und dieser Color-Section diese Klasse zuordnen: spezial-icon-box

    Wichtig: damit die Buttons unten auf einer Höhe und äquidistant zum Boden bleiben – nicht in das Textfeld der Iconbox – sondern als einzelnen Button zum 1/3 Container hinzufügen.
    Bild klicken um zu vergrößern:

    Alles andere ist dann nur noch verschieben der Inhalte:

    .spezial-icon-box .av_one_third {
        border: 2px solid #eee;
        border-radius: 5px !important;
        box-shadow: 3px 3px 5px #ddd;
        padding: 20px;
    }
    
    .spezial-icon-box .iconbox_icon.heading-color {
        display: inline-block !important;
        left: 50% !important;
        margin: 0 !important;
        position: absolute !important;
        top: -70px !important;
        transform: translate(-50%);
    }
    
    .spezial-icon-box .iconbox_top .iconbox_content {
        background: inherit !important;
        box-shadow: none;
        padding: 0 15px 20px;
    }
    
    #top .spezial-icon-box .iconbox_top {
        margin-bottom: 30px;
    }
    
    .spezial-icon-box .iconbox h {
        padding-top: 10px !important;
    }
    
    .spezial-icon-box .iconbox +  .avia-button-wrap {
        bottom: 0 !important;
        left: 50%;
        padding-bottom: 20px;
        position: absolute;
        transform: translate(-50%);
    }
    
    @media only screen and (max-width: 767px) {
    .spezial-icon-box .flex_column {
        margin: 30px 0 !important;
    }
    }

    unten der Code ist um den Abstand dann der Columns zu gewähren, wenn die responsiv auf 100% Breite zurückfallen.

    in reply to: Custom social icon => Spotify #771576

    by the way what font should it be on f328 is something missing !

    try this here: – (where did you get the hexcode from? on fontello you are right – that icon has 0xf328 but) on embeded entypo-fontello the code of that icon is ue907 (a bit smaller ue906)

    
    function avia_add_custom_icon($icons) {
      $icons['spotify']  = array( 'font' =>'entypo-fontello', 'icon' => 'ue907');
      return $icons;
    }
    add_filter('avf_default_icons','avia_add_custom_icon', 10, 1);
    
    function avia_add_custom_social_icon($icons) {
      $icons['spotify'] = 'spotify';
      return $icons;
    }
    add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);

    by the way if you like to have the same behavior as the other social icons on layout.css there are the rules set for those icons (since line 1373):

    #top #wrap_all .av-social-link-rss:hover	 a {color:#fff; background-color:#ffa133; }
    #top #wrap_all .av-social-link-facebook:hover a{color:#fff; background-color:#37589b; }
    etc. …

    so add for example to your quick css:
    #top #wrap_all .av-social-link-spotify:hover a {color:#fff; background-color:#7c26f8; }

    in reply to: "equal height" of columns not working #771370

    ich habe da mal was konstruiert, was wohl so nicht vorgesehen ist für Enfold.

    https://webers-testseite.de/kokon/iconboxes/

    den Iconsatz habe ich nicht aber mal die Texte so eingeführt wie bei dir.
    Wenn das so gefällt, dann kann ich dir sagen wie es hinzubiegen ist.

Viewing 30 posts - 9,721 through 9,750 (of 11,480 total)