Forum Replies Created
-
AuthorPosts
-
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.phpupload 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.
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
April 8, 2017 at 9:22 pm in reply to: A way to add something at the bottom of every post in a category at one time #774705yes 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.
you see the code to register that widget area – test it !
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 plugini 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.
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.
Sorry lucille – i’m Participant as you – so i do not see Private Content on your postings
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 possiblebut
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.
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 ?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.
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.
April 8, 2017 at 12:47 pm in reply to: Display video in a lightbox after a click on an image #774479and !!! 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.
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.
April 7, 2017 at 11:04 pm in reply to: Display video in a lightbox after a click on an image #774240what 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.
well it is prepared to be 100% compatibel – but it is not embeded like Layerslider Plugin.
You have to have your own license.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 frontthis gives you the opportunity to do it via if clauses :
(in this case only for page 3191function 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/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
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.
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
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.
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.
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.
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.
April 5, 2017 at 11:25 am in reply to: Product images are PNG but they are showing with a white background #772416do 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; }
Offtopic:
wie gesagt – reiner Eigennutz. Durch die Fragen bin ich gezwungen über die Machbarkeit nachzudenken.
Das hilft mir weiter, mich schnell einzuarbeiten.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-boxWichtig: 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.
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; }
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. -
This reply was modified 8 years, 2 months ago by
-
AuthorPosts