Forum Replies Created
-
AuthorPosts
-
September 27, 2018 at 11:25 am in reply to: Custom caption title and content frames on full-width easy slider #1015224
the creator of your example page: https://carboncredentials.com/
this page is an enfold page too. so with the help of developer tools of your browser you can see all sources used there.
And because he didn’t use the merging of Enfold – the css and js files are separated files.
So i look for what he had done – and the most rules from him are in custom.css.But this is not necessary – i did for a test these settings into my quick css input field.
by the way he had for the small screens some rules to hide f.e. the caption p tags:
@media only screen and (max-width: 767px) { .caption_framed .slideshow_caption .avia-caption-content p, .avia-caption .avia-caption-content p{ display: none; } .caption_framed .slideshow_caption .avia-caption-title, .avia-caption .avia-caption-title{ width: auto; padding: 10px 20px; line-height: 22px; } }
One thing to ask here – i see that for the footer there was a compatibility update fix in: helper-compat-update.php
(enfold / includes / admin)
Do i have to set this two for the new column rows?My thought was that there weren’t any older second row footers to transform to the newer Enfold versions – so that I can leave that adjustment out.
You should know me well enough now. Of course I agree with that. That’s why I made my own topic out of it.
But even if I had had more time, I certainly wouldn’t have created a new color set for it ( and a new footer id ). I’m also not sure if this would have been possible with a child theme method alone. So now it has all settings of the normal footer.
And it’s more or less a solution that even beginners can work out.a realy good 1,2,3 solution :https://kriesi.at/support/topic/adding-custom-social-icons-3/#post-934964
;)The real good documentation is here and the solution too: https://kriesi.at/documentation/enfold/social-share-buttons/#gist85414748
so you can even take a coloured png file for that !
or you can take one of these: https://www.google.com/search?q=Google+Plus&client=firefox-b&source=lnms&tbm=isch&sa=X&ved=0ahUKEwi-h67lptndAhUHyaQKHT5YAB0Q_AUIDSgE&biw=1722&bih=1117
September 26, 2018 at 7:48 pm in reply to: Masonry Gallery: Show Image Title as Lightbox Title #1014965have you a link for us?
If it is not your site – is there a enfold demo page that shows what you like to do?i open a new topic for interesting people soon …
for those who misunderstand the topic too – like me. https://kriesi.at/support/topic/second-widget-line-in-footer/-
This reply was modified 6 years, 9 months ago by
Guenni007.
you can insert before or after normal footer widget area !
use these hooks in child-theme functions.php
add_action( 'avia_before_footer_columns', 'enfold_over_footer_widget_area' ); function enfold_over_footer_widget_area() { dynamic_sidebar( 'before-footer' ); } add_action( 'avia_after_footer_columns', 'enfold_under_footer_widget_area' ); function enfold_under_footer_widget_area() { dynamic_sidebar( 'after-footer' ); }
then goto widget area and create new widget areas called: either before-footer or after-footer
you can then pull in these new widget areas some shortcodes like:[av_one_half first] [av_heading heading='Left Heading' tag='h3' style='blockquote modern-quote' ][/av_heading] [av_textblock ] Left 1/2 Content [/av_textblock] [/av_one_half] [av_one_half ] [av_heading heading='Right Heading' tag='h3' style='blockquote modern-quote' ][/av_heading] [av_textblock ] Right 1/2 Content [/av_textblock] [/av_one_half]
see results here on my test page: https://webers-testseite.de/
little tip: restrict widget
you can set on widget area where to show ( or if it is less work where not to show the widgetSeptember 26, 2018 at 4:35 pm in reply to: Custom caption title and content frames on full-width easy slider #1014857Well that is an enfold page – and that nice creator has no merging!
so it is a bit easier to look what he had done.
most of the rules are in his custom.css :/* SLIDER STYLES */ .slideshow_caption{ width: 55%; padding: 50px 0 50px 50px; } .slideshow_inner_caption { width: 50%; } .caption_framed .slideshow_caption .avia-caption-content p, .caption_framed .slideshow_caption .avia-caption-title, .avia-caption .avia-caption-content p, .avia-caption .avia-caption-title{ background: rgba(255, 255, 255, 1); margin: 0; padding: 20px 30px; line-height: 22px; text-align: left } .caption_framed .slideshow_caption .avia-caption-content p, .avia-caption .avia-caption-content p{ background: rgba(255, 255, 255, 0.9) !important; font-size: 18px; width: 100%; } .caption_framed .slideshow_caption .avia-caption-title, .avia-caption .avia-caption-title{ width: 100%; font-size: 28px; line-height: 32px; } .avia-slideshow-dots a{ border-radius: 0; border: 1px solid #FFFFFF; background: none; margin: 0 2px; } #top .avia-slideshow-button{ border-radius: 0; text-transform: none; font-size: 14px; font-weight: 400; } .caption_framed .slideshow_caption .avia-caption-content p, .avia-caption .avia-caption-content p { line-height: 24px }
but i think the first rule you don’t need – the inner_caption makes it.
see result here: https://webers-testseite.de/slideshow-with-captionstyling/
Borlabs Cookie ist wirklich eines der wenigen, die wie ich finde dem Gesetz genügen.
Es blockiert ( wenn man es will ) die komplette Seite zunächst mit einem Dark Overlay und dem Consent Fenster.
Die Seiten zum Lesen der Datenschutzhinweise bzw. dem Impressum kann man freigeben.
Trotzdem auch da glaube ich muss man noch Opt-In Verfahren setzen ( wie dies Enfold ja für GoogleMaps gemacht hat ) auch für die Videoeinbettung etc.
Wie sowas gehen kann siehst du zB hier (rechts in dem Flyout zB die Youtube Filme) : https://webers-testseite.de/naeger/September 25, 2018 at 5:29 pm in reply to: Boxed content in grid row with fullwidth background #1014311it is always better to see a page than a screenshot.
if you got a grid-row – you can force it to be the same way as a normal container.
I use this often when i want to have nested containers.give to the grid-row a custom class: grid-notfull
do this to your functions.php of your child-theme:function grid_layout_notfull(){ ?> <script> (function($){ $('.av-layout-grid-container.grid-notfull' ).wrap( '<div class="main_color notfullsize"></div>'); $('.notfullsize').css({"clear": "both", "width": "100%" , "float": "left" , "position": "static" , "min-height": "100px" }); $('.grid-notfull').css({"max-width": "1310px", "margin": "0 auto" , "padding": "0 20px"}); })(jQuery); </script> <?php } add_action('wp_footer', 'grid_layout_notfull');
you have to adjust this line to your settings:
$('.grid-notfull').css({"max-width": "1310px", "margin": "0 auto" , "padding": "0 20px"});
( the padding depends on the inner padding of the grid cells (on default it is 30px – so to come to the 50px left right … )
you see what it does: it wraps the grid-container with a div that has the attributes of a color-section.
it has on that the background-color on default from main_color – you can overwrite that with cssget rid of the u _ it is indicated by the \
.testclass:before { content: "\e801"; font-family: "ifb_custom_font3"; }
September 25, 2018 at 2:30 pm in reply to: Close popop/modal using back button without changing url #1014192I’m not sure what you want to achieve.
Do you have a link where I can have a look?do you mean by back button the darkend background besides the lightbox?
there are alot of parameters you can set – but i have no clue what you try to achieve.
http://dimsemenov.com/plugins/magnific-popup/documentation.html#keyyou can f.e. influence the
closeOnBgClick
by : false ( Close the popup when user clicks on the dark overlay )have you got a link for us?
September 25, 2018 at 2:25 pm in reply to: IconBox custom code link has code for a different element #1014188i am a participant here like you, and i actually look regularly at the posts i have responded to, but sometimes contributors also take a lot of time to modestly express their positive or negative contribution. ( In most cases, however, only negative feedback is given. )
That was not the case with you now, but there was a positive feedback, so I thought the case was done.September 25, 2018 at 12:59 am in reply to: Parallax bug on Background Images (With Pictures) #1013943try to refresh all the caches – and in case you are merging css and js files (as in Enfold – Performance – these settings are enabled ) scroll down – there is “Delete old CSS and JS files?” and mark that field and save all changes.
September 25, 2018 at 12:53 am in reply to: IconBox custom code link has code for a different element #1013941this is something i really miss about the board software here: private messages.
this would be very easy to solve if he could send me a messageSeptember 25, 2018 at 12:41 am in reply to: IconBox custom code link has code for a different element #1013940i don’t know how this could happen ???
Please download the iconbox again.September 25, 2018 at 12:14 am in reply to: Change H2 to H1 Titel at Fullscreen Slider – current version of Enfold #1013928these edited Alb elements gave you the ability to set up the h tag selection in the Alb element itself.
If you want alway to replace all headings the whole site you can use this for replacing tagsfunction replace_tags_with_tags(){ ?> <script> (function($) { function replaceElementTag(targetSelector, newTagString) { $(targetSelector).each(function(){ var newElem = $(newTagString, {html: $(this).html()}); $.each(this.attributes, function() { newElem.attr(this.name, this.value); }); $(this).replaceWith(newElem); }); } replaceElementTag( '.avia-slideshow.av_fullscreen h2.avia-caption-title' , '<h1></h1>' ); }(jQuery)); </script> <?php } add_action('wp_footer', 'replace_tags_with_tags');
this code preserves all original attributes of the tag you want to replace and tranform it to the new surrounding tag.
you can add more than this in the code semicolon separated
just add it in this manner:replaceElementTag( 'tag to replace' , '<new tag></new tag>' );
-
This reply was modified 6 years, 9 months ago by
Guenni007.
September 24, 2018 at 11:58 pm in reply to: Change H2 to H1 Titel at Fullscreen Slider – current version of Enfold #1013921you can not find the shortcodes – child-theme folder it has to be created by you.
read carefully: https://webers-testseite.de/edited-enfold-alb-elements/
so all you have to do is to create a folder called : „shortcodes“ in your child-theme folder
and upload the downloaded files to that folderand you can see on top the folder structure.
that is why the code you have to insert to your functions.php of your child-theme indicates the folder placement:
add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1); function avia_include_shortcode_template($paths){ $template_url = get_stylesheet_directory(); array_unshift($paths, $template_url.'/shortcodes/'); return $paths; }
you see it is a folder directly in the child-theme folder
September 24, 2018 at 7:22 pm in reply to: What is the correct size px by px for a video fallback image #1013765what do you believe could the answer be when your video got a16/9 aspect ratio? ;)
a good approximation might be: 281px
September 24, 2018 at 6:41 pm in reply to: concerning to resize functions and fullwidth logo #1013746thanks – can be closed.
September 24, 2018 at 12:49 pm in reply to: concerning to resize functions and fullwidth logo #1013577yes – Yigit
can you tell me the mentioned above:by the way : there must be an included debounce or throttle function on Enfold – how could we use it – for example with that function here?
is it that on avia.js ? : $(window).on( ‘debouncedresize’, function (e) {September 23, 2018 at 12:10 pm in reply to: concerning to resize functions and fullwidth logo #1013296ok i put in the off (‘click’) :
( The smartresize is a debounce function i created for not always fireing)
by the way : there must be an included debounce or throttle function on Enfold – how could we use it – for example with that function here?
is it that on avia.js ? :$(window).on( 'debouncedresize', function (e) {
function transfer_link_to_logo_container(){ ?> <script type="text/javascript"> (function($) { var theLink = $('.logo a').attr("href"); $(window).smartresize(function () { if ($(window).width() > 767) { $(".av-logo-container").addClass("clickme"); $(".av-logo-container").on("click", function(){ window.location.href = theLink; }); } else { $(".av-logo-container").removeClass("clickme"); $(".av-logo-container").off('click'); } }).resize(); })(jQuery); </script> <?php } add_action('wp_footer', 'transfer_link_to_logo_container');
___________________________
to whom it may be interesting – this is my little debounce function:
Credits goes to : Paul Irishfunction add_debounce_function(){ ?> <script> (function($,sr){ var debounce = function (func, threshold, execAsap) { var timeout; return function debounced () { var obj = this, args = arguments; function delayed () { if (!execAsap) func.apply(obj, args); timeout = null; }; if (timeout) clearTimeout(timeout); else if (execAsap) func.apply(obj, args); timeout = setTimeout(delayed, threshold || 250); }; } jQuery.fn[sr] = function(fn){ return fn ? this.bind('resize', debounce(fn)) : this.trigger(sr); }; })(jQuery,'smartresize'); </script> <?php } add_action('wp_footer', 'add_debounce_function');
September 23, 2018 at 8:39 am in reply to: concerning to resize functions and fullwidth logo #1013234i tried wiht var theLink outside the if clause and onload – no way
i tried different codes like:function transfer_link_to_logo_container(){ ?> <script type="text/javascript"> (function($) { $(".av-logo-container").addClass("clickme"); $(window).on('load resize', function() { if ($(window).width() > 767) { $('.av-logo-container').click(function(){ window.location=$(this).find('.logo a').attr('href'); return false; }); }; }); })(jQuery); </script> <?php } add_action('wp_footer', 'transfer_link_to_logo_container');
it works on load but on resize the event which is set on wider screens does not go away on resize.ok – now i see : the image that goes to the lightbox is on that case the image on av-horizontal-gallery-link
so it might only need to change the title on that :
$('img.av-horizontal-gallery-img').each(function(){ var lin = $(this).attr('alt'); $(this).next('.av-horizontal-gallery-link').attr('title',lin); });
this line
$(this).attr('title',lin);
is obsolete – and only for hovering the highlighted horizontal gallery image needed
thanksit works in so far all ok. But i wonder why the last line is neccessary:
This works on gallery as i often use it :function gallery_title_fix(){ ?> <script> (function($){ $(window).load(function() { $('.lightbox-added img').each(function(){ var lin = $(this).attr('alt'); $(this).attr('title',lin); }); }); })(jQuery); </script> <?php } add_action('wp_footer', 'gallery_title_fix');
why this line:
$(this).next('.av-horizontal-gallery-link').attr('title',lin);
did the trick and on gallery this is not needed?
Anyway it runs now.this is my ALB setup for the example page:
on your headline rotator – there is on top a tab “Animation” :
there you can choose Rotation Animation: and then typewriter.
On default there was a not so nice transition – i changed it in alb element – but it seems to work with css as well..av-marked-text .av-rotator-text-single { background-color: transparent !important; }
to get the carret bigger:
.av-caret .av-rotator-text-single:after { border-right-width:8px; padding-left: 15px }
is there a way to style the horizontal gallery a bit nicer on small screens?
edit : i did it by showing the horizontal gallery only on screens larger than 768px
on screens smaler there will be a masonry instead.i can see it too!
by the way – if you open your svg file with a good text-editor (notepad++ on pc – or sublime-text on mac)
and you add something to your “head” section of the svg :preserveAspectRatio="xMinYMin meet"
so there will be:
<?xml version="1.0" encoding="utf-8"?> <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 220 61" style="enable-background:new 0 0 220 61;" preserveAspectRatio="xMinYMin meet" xml:space="preserve">
and get rid of the generator comment – does not need that info on web ;)
then your svg shrinks to top left position – now it will go to the right side on shrinking.
i changed on headline_rotator.js the line 83ff to :
//mark text _self.$current.css('background-color', 'transparent');
i think this would be a better look
-
This reply was modified 6 years, 9 months ago by
-
AuthorPosts