Forum Replies Created
-
AuthorPosts
-
Dear Rikard – i think a screenshot is not a good advice. This seems to break the copyright of google.
Screenshots (even it is concerning to the api images):
Private use on the Internet: not permitted
Commercial use on the Internet: not permitted
If you use Screenshot of maybe Google Earth: then you could get into copyright conflicts with third party providers (satellite operators etc.).eventuell ein Plugin was dir im eingeloggten Zustand den Link andeutet.
i use firefox developer edition on Mac OS X – but i do not see these icons.
( Same with : Safari and Chrome)
What happend if you are logged out ? did you see those icons aswell on your browser?by the way : on GDPR (DSGVO) Reasons – wouldn’t it be better if you are using a non embedded Youtube Video – and use instead f.e. an image of the film and link to the youtube video in a lightbox?:
(just place a screenshot as Avia Image and link to a manually link:https://www.youtube.com/watch?v=lhZsLYmmZWM?autoplay=1&cc_load_policy=1&enablejsapi=1&ecver=2&playsinline=1&rel=0&showinfo=0&color=white&iv_load_policy=3&iframe=truewhat you see might be the alternative Logo for transparency option.
Look if you got an entry on Enfold (or Enfold-Child) – Header – Transparency Optionshm – on this page ( https://www.kistefosmobler.no/inspirasjon/ ) i think they are using the enfold masonry gallery. But i could be wrong.
hm – i see it is hard to style if you got a header sticky to top. Because it scrolls away.
so i’m testing it right now to have the same behavior as #headertake better the hook: ava_main_header
add_action( 'ava_main_header', 'enfold_customization_widget_area_before_header' ); function enfold_customization_widget_area_before_header() { dynamic_sidebar( 'before-header' ); }and create a new widget called: before-header
but even this is hard to obtain rightly designed – because – the offset to main was wrong calculated then.
On non shrinking headers you can adjust this by giving the main container a different padding-top.#header_main > .widget { width: 100%; max-width: 1310px; margin: 0 auto; padding: 0 50px; } /*** depends on your header settings ***/ .html_header_top.html_header_sticky #top #wrap_all #main { padding-top: 380px; }-
This reply was modified 7 years, 2 months ago by
Guenni007.
but your request was only for
(where telephone number/social media icons can be added)
it seems Enfold got a new hook for that – just after the body tag opens (outside the wrap_all div container)
to mods – List it please in your hook listAdd this to your functions.php of your child theme:
add_action( 'ava_after_body_opening_tag', 'enfold_customization_widget_area' ); function enfold_customization_widget_area() { dynamic_sidebar( 'after-body' ); }Goto Dashboard – Appearance – Widget : create a new widget area called: after-body
You have to style this new widget div as you like – guess it will have by default a 100% width and the background-color of the body
The ecver setting prevents the video recommendations when pausing the film. The playsinline setting ensures that the whole thing runs on a mobile phone like on a desktop. etc pp
you only have to add this to the film link always
?autoplay=1&cc_load_policy=1&enablejsapi=1&ecver=2&playsinline=1&rel=0&showinfo=0&color=white&iv_load_policy=3&iframe=trueand why don’t you want to use the Option on Enfold – Header – Extraelements ?
Social Media – Secondary Menu – Phone Numbersee here f.e. : https://kriesi.at/themes/enfold-law/
First : take the individual link option not the iframe option!
all additional links to a video link :
first one was added via?all other links will be added via&so you got maybe something like this:
https://www.youtube.com/embed/4Myze3dfIw0?autoplay=1&cc_load_policy=1&enablejsapi=1&ecver=2&playsinline=1&rel=0&showinfo=0&color=white&iv_load_policy=3if you link from an image or a text to it – add
&iframe=truehttps://www.youtube.com/embed/4Myze3dfIw0?autoplay=1&cc_load_policy=1&enablejsapi=1&ecver=2&playsinline=1&rel=0&showinfo=0&color=white&iv_load_policy=3&iframe=trueor with watch:
https://www.youtube.com/watch?v=4Myze3dfIw0?autoplay=1&cc_load_policy=1&enablejsapi=1&ecver=2&playsinline=1&rel=0&showinfo=0&color=white&iv_load_policy=3&iframe=truesee here: https://webers-testseite.de/buttonlink/
August 15, 2018 at 7:48 pm in reply to: Second button on fullwidth slider not showing on desktop but does on mobile #997657you have this rule in your css:
@media only screen and (min-width: 1367px) { /* start */ /* hide the watch video button on anyhting larger than tablet landscape */ a.avia-slideshow-button.avia-button.avia-color-light.avia-multi-slideshow-button.avia-slideshow-button-2 { display: none !important; } /* end */ }you can take the caption f.e. or the title for this to show in editing ismaels code a bit:
still brainstorming :lol sorry
i tested it and now it does not work as usualbut on your page i see in your source code no title, no alt tags nor captions ! https://www.kistefosmobler.no/inspirasjon/
But why don’t you put these input fields for it – which are made for that:

-
This reply was modified 7 years, 2 months ago by
Guenni007.
give to the submenus ( or megamenu) a min-height and an overflow:auto
something like:#top #header ul:first-child >li > ul , #top #header .avia_mega_div { overflow: auto !important; max-height: calc(100vh - 50px); }this here : https://naturleben-rheinland.de/ – is an Enfold Multisite installation.
The “motherpage” is Enfold and both subsites are Enfold pages. But i do start it from the beginning to obtain that mutlisite. If it is easy to switch from an existing page i don’t knowso what do you expect should a code do if the whole width is full with container. ?
so they are centered – but you don’t see a difference because there’s no distance left to spread. !
make for all 3 columns : 1/4 th of them – then you will see the result
if works on my site too:
so what for is the calltoaction class? maybe it is in conflict with those settingsand by the way: these aren’t 1/3 columns ? ;)
August 10, 2018 at 11:16 am in reply to: Lightbox functionality no longer working with latest Enfold update #995905so he must have a reason to implement a header.php in the child.
I use it f.e. to insert some extra div after wrap-all id like:<div class='mega-bg'></div>
to use it as a global overlay if f.e. mega-menu is active.
so if you like – you can post here your “old” header.php – but please use the code tag above
and we may see what has been additional inputAugust 10, 2018 at 10:32 am in reply to: Onepager: change h2 title color on focus when scrolling #995894perfect!
I don’t know where your h2-green class is ( maybe on the heading alb element) – then you have to select it via : ( .h2-green h2 )i got a bit different way if he likes to reverse the change on scrolling up and down:
add_action('wp_footer', 'scroll_up_down_change', 9999); function scroll_up_down_change() { ?> <script> (function($) { var element_to_animate = $('.h2-green h2'); element_to_animate.waypoint(function(direction) { if (direction === 'down') { $(this.element).css('color', 'red'); } }, { offset: '30%' }); element_to_animate.waypoint(function(direction) { if (direction === 'up') { $(this.element).css('color', 'green'); } }, { offset: '30%' }); })(jQuery); </script> <?php }you can see it here on some h3 headings: https://webers-testseite.de/datenschutzerklaerung/
August 10, 2018 at 8:53 am in reply to: Onepager: change h2 title color on focus when scrolling #995858maybe we can use the already implemented waypoints script.
I think he likes to change the color of a h2 when it comes to a specific distance f.e. to top.
We had those “animations” triggered in this way when it comes to viewport. And i guess this is made by waypoints.
So perhaps we don’t need any additional script to handle it and use avia_waypoints functionAugust 9, 2018 at 6:58 pm in reply to: Lightbox functionality no longer working with latest Enfold update #995667The better has always been the enemy of the good.
By default, there is no header.php in the child theme.
By the way did you have installed a child-theme and work with it?August 9, 2018 at 4:27 pm in reply to: Lightbox functionality no longer working with latest Enfold update #995578you can upload a copy of the original header.php (that one you have downloaded) to your child theme folder via ftp.
But there must have been a reason that you have a child theme header.php. Of course you have to know these entries in order to have the desired changes in the new header.php as well.well if these are separated widgets your can adress them separatly by their ID or widget-count or widget name etc. – but without a link it is hard to say what it is in your case.
August 9, 2018 at 11:53 am in reply to: Onepager: change h2 title color on focus when scrolling #995402but this will be a function that will depend on scroll and resize. Be carfully with it -because this mostly goes to bad performance.
$(window).on(‘resize scroll’, function() { //Code here });you can see here a littel code-pen demo: https://codepen.io/BoyWithSilverWings/pen/MJgQqR
you see that there is a function defined isInViewport
-
This reply was modified 7 years, 3 months ago by
Guenni007.
hm isn’t the ava_after_content only for the loop – so if you have a blog style or look to a category list then the widget would be there.
but on a single-post there is no hook ava_after_contentPlease Ismael – correct if i’m wrong
btw. Rgrant74 – you have to create on appearance widgets the widget on Enfold Child Custom Widget Area – add widget area.
Your code is only to define the place where it is inserted.Maybe you can use a different hook for that – but you have to style that of course for your needs:
add_action( 'ava_before_footer', 'enfold_widget_before_footer_for_single_post' ); function enfold_widget_before_footer_for_single_post() { if(is_single()){ dynamic_sidebar( 'after-post' ); } }and if you only wants it for single posts (not for portfolios):
add_action( 'ava_before_footer', 'enfold_widget_before_footer_for_single_post' ); function enfold_widget_before_footer_for_single_post() { if(is_singular(post)){ dynamic_sidebar( 'after-post' ); } }to have the same dimensions as your content – look to your settings and add it for that widget-area to your quick css:
f.e.:.single #main .widget { max-width: 1310px; margin: 0 auto; padding: 0 50px; }August 9, 2018 at 10:17 am in reply to: How is it possible to show the names of menu sub items in the header? #995347you can use a filter for it – or use a header-widget but
without seeing your site and logo it is hard to give exact settings for you.you can choose on caption “attach two buttons”
the second button has the class: avia-slideshow-button-2
so if you like to preserve opacity and font-size you can do that:.avia-slideshow-button-2 { background-color: rgba(250,0,0,0.5) !important; }on choosing the button-color red f.e. in caption tab – the font-size changes a bit and the opacity is gone
August 9, 2018 at 7:37 am in reply to: How to remove post navigation only on posts with fullscreen sliders? #995265Sorry but this is more or less for the developers :
the more I think about the topic I come to the conclusion that Kriesi also confuses the nomenclature here.
Fullscreen Slider has the class: avia_sc_slider_fullscreen –
the fullwidth Slider has the class: avia_sc_slider_full.
Although it writes in the code ( dont display if a fullscreen slider ) clear fullscreen slider in functions.php above, the code only checks against avia_sc_slider_fulland i definitly think that this is something which should be seen by Günter – because i believe it should be implemented too in the next update !
It makes sense to also hamper sidenavigation on fullscreen sliders on default_________________
Something to the developers
Edit: to my opinion on that code: avia_post_nav
the code is not totaly correct with the brackets too in the if clause//dont display if a fullscreen slider is available since they overlap if((class_exists('avia_sc_layerslider') && !empty(avia_sc_layerslider::$slide_count)) || class_exists('avia_sc_slider_full') && !empty(avia_sc_slider_full::$slide_count) ) $settings['is_fullwidth'] = true;as far as i understood the code the post-nav should also be displayed if only one slide is present – only if there are more than one slide the post-nav should be hampered.
But it does not work even with original code on full-width sliders.this seems to be the right bracket story including fullscreen-slider check – but it does not work for count too:
//dont display if a fullscreen slider is available since they overlap if( ( class_exists('avia_sc_layerslider') && !empty(avia_sc_layerslider::$slide_count) ) || ( class_exists('avia_sc_slider_full') && !empty(avia_sc_slider_full::$slide_count) ) || ( class_exists('avia_sc_slider_fullscreen') && !empty(avia_sc_slider_fullscreen::$slide_count) ) ) $settings['is_fullwidth'] = true;So my dear Dev Günter with the same first name – here you have to look over it.
or does a single (full-width or full-screen) slide has a count too?-
This reply was modified 7 years, 3 months ago by
Guenni007.
August 8, 2018 at 3:52 pm in reply to: How to remove post navigation only on posts with fullscreen sliders? #995024I could have sworn that this also applies to full-screen slider.
To avoid overlapping here, that would also make sense. – but i think we can do it via the filter: avia_post_nav_settings too.you can see on enfold-functions.php:
if(!function_exists('avia_post_nav')) { function avia_post_nav($same_category = false, $taxonomy = 'category') { global $wp_version; $settings = array(); $settings['same_category'] = $same_category; $settings['excluded_terms'] = ''; $settings['wpversion'] = $wp_version; //dont display if a fullscreen slider is available since they overlap if((class_exists('avia_sc_layerslider') && !empty(avia_sc_layerslider::$slide_count)) || class_exists('avia_sc_slider_full') && !empty(avia_sc_slider_full::$slide_count) ) $settings['is_fullwidth'] = true;this should be the normal behavior too: //dont display if a fullscreen slider is available since they overlap
By the way – i guess that role attribut are only warnings – so ignore them – because on wai aria (Accessible Rich Internet Applications) usage is good standard. And for my opinion it is more important to have these roles in a html document than to fullfill w3c validity.
-
This reply was modified 7 years, 2 months ago by
-
AuthorPosts

