Forum Replies Created

Viewing 30 posts - 4,711 through 4,740 (of 11,513 total)
  • Author
    Posts
  • in reply to: Move Post: date info above post title #1252517

    the one big error is that you do not enter the $(postTitle)
    and to avoid to write always the jQuery instead of $ i do surround the code in this way – so you can use inside normal $ sign:

    <script>
    (function($){	
    	…
    })(jQuery);
    </script>

    and if you are not using any index you can remove that too:
    ( if your selectors are right – try this) :

    function metaAfterTitle(){
    ?>
    <script>
    (function($){	
    	$(".template-blog .post-entry").each(function(){
    		var postTitle 	= $(this).find('.blog-categories.minor-meta');
    		var metaInfo 	= $(this).find('.post-meta-infos');
    		$(metaInfo).insertAfter($(postTitle));
    	});
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'metaAfterTitle');
    in reply to: Problems with Color Sections after Update #1252513

    but the pages you complain about are not normal layout pages. As such the created pages are inside a “container” which is set to 1310px max-width.

    I do not know how you get this markup – maybe you post an image of your layout f.e. of that page please: https://tiptig.com/welding-equipment/
    There must have been a conflict after the update.
    Because if i use the “page content” Element – the markup is different – it inserts the color-section with correct numbering ( or ids) directly to it without creating a div with classes: main_color container_wrap_first container_wrap fullsize
    And my Enfold is on Version 4.7.6.4

    in reply to: Line breaks do not work #1252484

    if you add those tags with custom class they will not be removed!
    <br class="noclear"/>
    same with p-tags

    On Enfold 4.7.6.4 the permanent linebreak seems to exists as a button in the tool-bar
    and it inserts : <br class="avia-permanent-lb" />

    i use for some “extras” this little plugin: https://kriesi.at/support/topic/line-break-not-working-in-front-end/#post-1146117

    in reply to: Special Characters within CODE BLOCKS on 3rd Party Forms #1252196

    i could believe that on normal content these characters maybe break the layout – but on code-block element this should not happen.
    It is just the sense and purpose of such an element to be allowed to use just such characters. I at least, used the possibility to insert shortcodes ( square brackets ) by means of this element.
    Or as described here ( Link ) , to insert a more complex svg with animation via stroke-dasharray and -dashoffset.
    Example ( Link ) (on that case i did insert this as img – but replace it by svg-support with an inline-svg ) but the better way would be to insert it directly with code-block element as svg code.

    in reply to: Code Block ALB Element and insert Code as Content #1252051

    Account and Page inside private content

    in reply to: page builder bug #1251762

    1) And of course there are two opening divs and one closing!

    2) then – if it should be a text-block element you are trying to insert shortcode will be something like:

    [av_textblock size='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' font_color='' color='' id='' custom_class='' av_uid='av-k3unomjx' admin_preview_bg='']…[/av_textblock]

    3) if it has to be a textarea tag – define for the textarea rows and cols:
    <textarea id="ABC" name="ABC" rows="4" cols="50"> … </textarea>

    4) go and get that little plugin from Günter to insert special characters: https://github.com/KriesiMedia/enfold-library/tree/master/integration%20plugins/Enfold/Special%20Character%20Translation
    after that place a textblock element instead and insert it like:
    ###lt###textarea id="CONTACTCF4" name="CONTACTCF4" rows="4" cols="50"###gt### ###lt###/textarea###gt###

    to 4 see here: https://webers-testseite.de/3columns/

    @ Cliffy
    1) the changelog (version.txt) is in the big zip file on Envato (“All files and documentation”) – yes it would be nice to have this file in the “Installable WordPress File only” archive too.

    2) i do always update like this ( https://kriesi.at/support/topic/some-hints-and-advice-to-update-enfold/#post-1056107 ) – so there is always a rollback version.

    3) if you update manually ( by uploading that zip file or via ftp) you can decide when you like to update. It is not necessary to do it on the first day of release – wait till the changelog is here: https://kriesi.at/documentation/enfold/changelog/

    in reply to: How to increase website speed? #1251440

    no – and on wp cache i do not know – but you see on the gtmetrix that it isn’t enabled.
    This could save about 80% bandwidth.

    in reply to: center logo in mobile menu #1251431

    but your link on top is no enfold theme – it is gaia
    So i guess Enfold support is the wrong place to ask?

    for the link ( https://www.urasessence.it/ ) above – and only for small screens :

    @media screen and (max-width:414px) {
      #mobile-bar {
        max-height: 100px;
        height: 100px;
      }
      .breakpoint .logo a img {
        height: 50px !important;
      }
      .logo-container {
        float: none;
        width: 100% !important;
        display: inline-block;
      }
      .logo {
        display: inline-block;
      }
    
      .breakpoint .logo a img.logo-img, #mobile-bar #toggle {
        left: 50%;
        position: relative;
        transform: translateX(-50%);
      }
    } 
    in reply to: How to increase website speed? #1251428

    First of all : enable gzip Compression.
    https://www.giftofspeed.com/enable-gzip-compression/
    Then optimize your images.
    There are different ways to do that. I prefer the htaccess method.
    https://gtmetrix.com/reports/www.closeoutstreetwear.com/s6i1kHKl

    in reply to: Vimeo embed vs Enfold Video element #1251407

    hm i can not reproduce your problems: https://webers-testseite.de/vimeo-embed/

    The left one is enfold video alb.
    And the right one is iframe ( but i prefered the responsive setting – on share button you can see options button on top right)

    ( That testpage is on Enfold 4.7.6.4 and WP5.5.1 )

    have you set any Content Security Policy (CSP) or f.e. a plugin which has set it?
    if you are familiar with developer tools have a look to the Console – if there are blocking rules on vimeo sources.

    in reply to: Avia Builder Element not clickable/draggable in pages #1250850

    i had that last week too. on my end it derives from Yoast SEO Plugin. ( https://kriesi.at/support/topic/yoast-seo-hampers-alb-usage/ )
    The meta box of Yoast SEO lays over the ALB.
    If i read the new changes of the log from Enfold 4.7.6.4 correct:

    tweak: added z-index 10 to #avia-builder and #avia_sc_parser in ALB to fix problem with plugins

    maybe that is correlated to that problem. And should solve that problem without that code beneath

    I solved it via child-theme functions.php ( the new update wasn’t available last week) :

    function admin_head_mod() {
      echo '<style type="text/css">
    	#advanced-sortables { display: inline-block;}
      </style>';
    }
    add_action('admin_head', 'admin_head_mod');

    or

    function admin_head_mod() {
      echo '<style type="text/css">
    	#normal-sortables {z-index: 10}
      </style>';
    }
    add_action('admin_head', 'admin_head_mod');
    in reply to: Yoast SEO hampers ALB Usage #1250600

    i found a solution on that – don’t know why it is on that page only – because i tested it on another installation –
    on that page mentioned above the container for the SEO settings overlaps the top containers
    a :
    this css had to be inserted to admin_head so only functions.php will do the job:

    function admin_head_mod() {
      echo '<style type="text/css">
    	#advanced-sortables { display: inline-block;}
    	#normal-sortables { z-index: 10;}  // this as alternative to above rule
      </style>';
    }
    add_action('admin_head', 'admin_head_mod');

    solved the problem
    Thanks

    in reply to: Partner logos not working #1250360

    Are these images svg’s ? Then there must be a rule for them to have absolute width – not relative. (px)

    in reply to: fontello.woff2 missing from folder? 404 error #1250338

    just to mention: if you got older additional font-icons in your import – the fontello page now generates the woff2 format too.
    it could be solved by extracting the svg font file from your former upload zip file and drag and drop it into fontello page
    “Drag custom SVG icons or SVG font here.”
    activate all your wanted icons and then download it from fontello and upload that new zip file.

    as someone who has been doing internet design for a long time, and someone who started using Photoshop in the early 90s to do image editing would be very interested to see this live at your site. If you don’t want to make it public you can send me a link via e-mail.
    The contact information can be found on my avatar or nick.

    OK – i just asked because i can not reproduce the issue.
    See the bottom of that page : https://webers-testseite.de/gallery/
    This is a gallery with left jpg – right png.
    Click to see the lightbox – allthough this is a big png – there is no darker corner. – no tear ( rupture, torn, crack, rip nor break)
    Yes, you are right – the png is a bit sharper on the preview image of the gallery, but at what price?
    A page with 5-6 png of this dimension would take much longer to load completely. The surfing behaviour of most visitors to a page is such that if a page takes longer than 5 seconds to load, the attention is reduced to zero.

    Maybe off Topic – but you definitly need pngs for that?
    The file size of a png is allmost a few times bigger than jpgs – a 2MB png could be replaced by a better resolution jpg with approx 300kb
    So if you do not need the transparency – why no jpg use?

    Can you share the screenshot in public to see the issue?

    in reply to: Colour section background image mobile responsive issue #1247276

    It is described above and again in the second part:
    Id and class,

    and especially the background had to be set to scroll.

    .bg-fixed {
    	-webkit-clip-path: inset(0 0 0 0);
    	clip-path: inset(0 0 0 0);
    	background-size: 0 !important;
    	overflow: hidden;
    	position: relative;
    }
    
    .bg-fixed:before {
    	content: "";
    	position: fixed;
    	width: 100%;
    	height: 100%;
    	top: 0;
    	left: 0;
    	background-image: inherit !important;
    	background-repeat: no-repeat !important;
    	background-size: cover;       /** or contain - what you need **/
    	background-position: inherit;
    /** will-change: transform;    - only if you have less then 3 images like that ***/
    }
    
    @media only screen and (max-width: 767px) {
      #myid.bg-fixed:before {
        background-image: url(/wp-content/uploads/alternative-image.jpg) !important;
      }
    }
    
    

    There is nothing more I can do than to give a detailed instruction and also show a working test page. If not read carefully, then unfortunately I cannot do more. I will only make instructional films if there is no other way to create clarity.

    in reply to: Ken Burns effect on Full Width Slider #1247075

    Did you try that above code ?
    the above link to my testpage is made with the alb elements –
    ___________________
    Whatever; the advanced layerslider allready has that ken burns implemented.
    Ken Burns is something that influences the background-image – on top of the advanced layout slider you have:

    Press that “Show more options” Button.
    then you see the options for ken burns:

    in reply to: Ken Burns effect on Full Width Slider #1246977

    well on Victorias link the wrapping container in enfold for the images is: avia-slide-wrap

    i would give a custom-class to the slideshow you like to influence – f.e.: kenburns
    then it will be nice if only the active slide is doing that – so when i transpose the code from code pen to enfold classes :

    .kenburns .active-slide .avia-slide-wrap {
      width: 100%;
      height: 56.25vw;
      margin: 0 auto;
      overflow: hidden;
      position: relative;
    }
    
    .kenburns .active-slide .avia-slide-wrap img {
      width: 100%;
      animation: move 20s ease infinite alternate;
      -ms-animation: move 20s ease infinite alternate;
      -webkit-animation: move 20s ease infinite alternate;
      -0-animation: move 20s ease infinite alternate;
      -moz-animation: move 20s ease infinite alternate;
      position: absolute;
    }
    
    @-webkit-keyframes move {
      0% {
        -webkit-transform-origin: center center;
        -moz-transform-origin: center center;
        -ms-transform-origin: center center;
        -o-transform-origin: center center;
        transform-origin: center center;
        transform: scale(1.0);
        -ms-transform: scale(1.0); 
        -webkit-transform: scale(1.0);
        -o-transform: scale(1.0);
        -moz-transform: scale(1.0);
      }
      100% {
        transform: scale(1.2);
        -ms-transform: scale(1.2);
        -webkit-transform: scale(1.2);   
        -o-transform: scale(1.2);
        -moz-transform: scale(1.2);
      }
    }

    don’t know if all cross-browser settings are neccessary today – but i let them stay in the quick css code.
    Important: see ( height: 56.25vw; ) if the width of the slider is 100vw then a 16:9 height will be approx: 56.25vw
    The Code Pen Code only works nice if you have set a hight on that and that should reflect the aspect ratio well.
    So it might be nice to have for Slideshows having a film slide with 16:9 format – the images got the same size on that.
    I have on that testpage images of that format.:
    https://webers-testseite.de/slider-with-kenburns/

    in reply to: Colour section background image mobile responsive issue #1246973

    just create one color-section – give a unique ID to it ( f.e: myid ) and a custom-class : bg-fixed
    there was a unique ID and a custom-class.

    The background should be set to scroll

    – this avoids the creating of an extra parallax container on mobile devices.
    On inserting the custom-class to that input field do it without a dot infront.

    The class is for creating that pseudo container and could be used for different color-sections even on one page.

    The ID is only needed if you want to have different background-images for different screen-width.

    the code above is not for the input filed on that alb.
    It goes to the quick css from Enfold Options Dialog “General Styling”

    in reply to: Sot hyphen in special heading #1246703

    No ! – a linebreak is something different.
    A Softhyphen is a conditional hyphen. It breaks a word if the surrounding place is not big enough – and sets on that case a hyphen.

    You can use &shy and directly after it a semicolon ­ will then have that effect.

    But big disadvantage you will not see the place on the backend if and where you have set it. And i guess on editing that f.e. heading again it will be lost.

    so use Günters little helpful plugin with some extra characters : Advanced Special Characters

    you can open that php and edit it to your needs ( because i do not want to use three # before and after those signs – i changed it only to one )
    and added some special characters – so my translation list looks like this:

    even in code tag it will change the signs – so only an image of it:

    or on pastebin the complete php to put in your plugins directory: Link

    so usage is easy – when using #shy# the soft-hyphen is set and can be seen on backend and is permanent set even on editing the alb again:


    Resultspage: https://webers-testseite.de/special-characters/

    PS: this is very helpfull because if you like to insert signs as greater than or less or equal than etc. The Editor will handle them as a beginning tag – and so sometimes breaks the layout. Try to insert to a table alb element a greater than sign !

    Edit:
    seems to be changed on newest Enfold something that in text-blocks the greater than and similar are no longer miss interpreted now after all

    you really mean mobile devices, and not just narrow screen widths?

    if it is the last option you have on both alb elements in the advanced tab the Element Visibility
    So put them in the same container and:
    for the hotspot mark hide on small / and very small screens – and on the image mark vice versa hide on large and medium sized screens.

    in reply to: Colour section background image mobile responsive issue #1246292

    I would not realize it with two color sections.
    e.g. if you want to navigate to it using anchor link.

    just create one color-section – give a unique ID to it ( f.e: myid ) and a custom-class : bg-fixed
    this custom-class is for all those backgrounds the same only the ID should be unique.
    and for your smaller screens set a css to your quick css to change the background images.
    Set the background-image to scroll !!! to avoid the parallax extra container.

    ( PS: Google search on : background-attachment:fixed and mobile browsers – especially IOS ( iphone, ipad etc).

    My solution to this problem circumvents the background-attachment : fixed by creating a pseudocontainer with a fixed position.:
    This goes to quick css:

    .bg-fixed {
    	-webkit-clip-path: inset(0 0 0 0);
    	clip-path: inset(0 0 0 0);
    	background-size: 0 !important;
    	overflow: hidden;
    	position: relative;
    }
    
    .bg-fixed:before {
    	content: "";
    	position: fixed;
    	width: 100%;
    	height: 100%;
    	top: 0;
    	left: 0;
    	background-image: inherit !important;
    	background-repeat: no-repeat !important;
    	background-size: cover;       /** or contain - what you need **/
    	background-position: inherit;
    /** will-change: transform;    - only if you have less then 3 images like that ***/
    }

    this also goes to the quick css:
    now you only have to set for smaller screens a different background-image by using the unique ID:

    @media only screen and (max-width: 767px) {
      #myid.bg-fixed:before {
        background-image: url(/wp-content/uploads/alternative-image.jpg) !important;
      }
    }

    see result: https://webers-testseite.de/donkey/

    INFO: will-change usage

    in reply to: Remove H1 hyperlink from Blog Post page #1245068

    can you follow that topic you mentioned above – i wrote some comments on that :
    https://kriesi.at/support/topic/remove-huperlink-from-blog-single-post-h1-titles/#post-1245066

    by the way dear mods – i think this should be standard entry for the helper-post-format.php – because it does not make sense the link to the single post itself on that place anyway.

    in reply to: Remove huperlink from Blog single post H1 titles #1245066

    But you like to remove only the link option on single post not on the archive post list?

    You can see here that i inserted a ternery operator on setting the link in the avia_default_title_filter function on helper-post-format.php
    this code here is different to the standard code:

    $output .= is_singular() ? $current_post['title'] : "<a href='".get_permalink()."' rel='bookmark' title='". __('Permanent Link:','avia_framework')." ".$current_post['title']."'>".$current_post['title'];
    $output .= "<span class='post-format-icon minor-meta'></span>";
    $output .= is_singular() ? '' : '</a>';

    so put this to your child-theme functions.php:

    function avia_default_title_filter($current_post){
    	if(!empty($current_post['title']))
    	{
    		$default_heading = is_singular() ? 'h1' : 'h2';
    		$args = array(
    					'heading'		=> $default_heading,
    					'extra_class'	=> ''
    				);
    	
    		$args = apply_filters( 'avf_customize_heading_settings', $args, 'avia_default_title_filter', array( $current_post ) );
    		
    		$heading = ! empty( $args['heading'] ) ? $args['heading'] : $default_heading;
    		$css = ! empty( $args['extra_class'] ) ? $args['extra_class'] : '';
    
    		$output  = "";
    		//$output .= "<{$heading} class='post-title entry-title ". avia_offset_class('meta', false). "'>";
    		$output .= "<{$heading} class='post-title entry-title {$css}' ".avia_markup_helper(array('context' => 'entry_title','echo'=>false)).">";
    		$output .= is_singular() ? $current_post['title'] : "<a href='".get_permalink()."' rel='bookmark' title='". __('Permanent Link:','avia_framework')." ".$current_post['title']."'>".$current_post['title'];
    		$output .= "<span class='post-format-icon minor-meta'></span>";
    		$output .= is_singular() ? '' : '</a>';
    		$output .= "</{$heading}>";
    		$current_post['title'] = $output;
    	}
    	return $current_post;
    }

    and by the way you can change here the tag of the heading on archives and single post on this line above:
    $default_heading = is_singular() ? 'h1' : 'h2';
    this is ternery operator again – if you have a single post it is h1 – else h2

    Maybe this should be the standard on helper-post-format.php – because it does not make sense to link to the post itself

    in reply to: Phone number input does not show ! #1245063

    Well it had to be solved in a different way – but to get rid of the telephone number mismatch you can delete the contact_yg.png
    and upload a new image with same name and correct phonenumber to your media library.
    Then the time pressure is out of the matter.

    in reply to: Video Background loads slow #1244976

    on my end the videos starts quick – yes the selfhosted is faster ( but this is dependent on the traffic of this page ) – but even the vimeo video starts after 1s on my end here.
    What i see on the page with the vimeo video is that the fallback-image is a very large jpg ( first i would crop the image to the aspect ratio of the film 16:9 – then i would compress it more ) this jpg is compresse 232kb big and loaded 14MB – you see on gtmetrix ( https://gtmetrix.com/reports/hebmp.nl/k3qZGK8O ) that this alone loads 614ms.
    And your page has a total page size of 14.4 MB. Maybe the videos are not the reason for slow loading.

    On the first page there is the same issue ( https://gtmetrix.com/reports/hebmp.nl/aYy5cBiw )
    Try to make those images smaller – especially because well over 90% of all visitors to your site will never get to see them anyway.
    After that we will see what happens

    On timings you see that the TTFB ( Time to First Byte ) is over one second – maybe you search for “How to optimize Time To First Byte (TTFB)” and follow some advices there

    in reply to: Add search icon to footer navigation #1244879

    yes – that is standard behavior on enfold – because a lot of mobile users know that a double tap on top of the browser window has the same effect.

    but you can get it back if you overwrite the rule by:
    ( and to shift the button set the bottom and right position for it as you like )

    @media only screen and (max-width:767px) {
    	.responsive #scroll-top-link {
    		display:block !important;
    		bottom: 10px ;
    		right: 20px;
    	}
    }
Viewing 30 posts - 4,711 through 4,740 (of 11,513 total)