Forum Replies Created

Viewing 30 posts - 5,161 through 5,190 (of 11,984 total)
  • Author
    Posts
  • in reply to: Sidebar not displaying on product pages #1255192

    how did you create your layout of the product pages – did you use the enfold layout builder – and did you use color-sections or other full-width elements (grid-row etc.)?

    in reply to: How to prevent text to be copied from website pages #1255092

    give a class to the container that should be “protected” f.e.: nocopy
    or as part of a sentence surround that with a span with that class:

    
    .nocopy *, 
    .nocopy {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    }

    left side with class – right side without: https://webers-testseite.de/abc/

    By the way : right click on that page an choose select all ! ;)
    But if you are familiar with developer tools nothing can really hamper users to select and copy things

    ok – for those who are interested in my interims solution all to child-theme functions.php:

    function custom_colorpicker_colors( array $colors ){
    	$colors = array( '#000000', '#ffffff', '#B02B2C', '#edae44', '#eeee22', '#83a846', '#7bb0e7', '#745f7e', '#5f8789', '#d65799', '#4ecac2', 
    					'#125', '#459', '#78b', '#ab0', '#de3', '#f0f', '#125', '#ab331c');	 // these are the additional colors ( max 11)
    	return $colors;
    }	
    add_filter( 'avf_colorpicker_colors', 'custom_colorpicker_colors', 10, 1 );
    
    function color_picker_styles() {
      echo '<style type="text/css">
        .avia-style .wp-picker-holder {height: 255px !important;}
        .avia-style .wp-picker-holder, .iris-picker {height: 245px !important;}
        .avia-style .wp-picker-holder, .iris-picker {height: 245px !important;}
        .avia-style .wp-picker-holder, .iris-picker.av-iris-picker-rgba {height: 275px !important;}
        .iris-picker-inner, .iris-slider.iris-strip {height: 182px !important;}
        .iris-palette-container {width: calc(100% - 20px) !important;display: flex !important;flex-flow: row wrap;justify-content: flex-start;}
        .iris-picker.av-iris-picker-rgba .iris-palette-container {bottom:42px;}
        .iris-palette {width: 19px !important;height: 19px !important;margin: 1px !important;padding: 0;}
      </style>';
    }
    add_action('admin_head', 'color_picker_styles');

    so if you add this to your child-theme functions.php:

    function custom_colorpicker_colors( array $colors ){
    	$colors = array( '#000000', '#ffffff', '#B02B2C', '#edae44', '#eeee22', '#83a846', '#7bb0e7', '#745f7e', '#5f8789', '#d65799', '#ab331c', 
    	'#125', '#459', '#78b', '#ab0', '#de3', '#f0f', '#125', '#459');	
    	return $colors;
    }	
    add_filter( 'avf_colorpicker_colors', 'custom_colorpicker_colors', 10, 1 );


    and:

    function admin_head_mod() {
    echo '<style type="text/css">
    	.avia-style .wp-picker-holder {
    	  height: 255px !important;
    	}
    
    	.avia-style .wp-picker-holder, .iris-picker {
    	  height: 245px !important;
    	}
    
    	.iris-picker-inner, .iris-slider.iris-strip {
    	  height: 182px !important;
    	}
    
    	.iris-palette-container {
    	  width: calc(100% - 20px) !important;
    	  display: flex !important;
    	  flex-flow: row wrap;
    	  justify-content: flex-start;
    	}
    
    	.iris-palette {
    	  width: 19px !important;
    	  height: 19px !important;
    	  margin: 1px !important;
    	  padding: 0;
    	}
    </style>';
    }
    add_action('admin_head', 'admin_head_mod');

    you can see this:

    with alpha-wrap there must be other settings. but just to brainstorm here a bit – and for discussion starting on that.

    That will be a great thing to have on Enfold Options – General Styling an input field with f.e. 6 additional color palette inputs.

    • This reply was modified 5 years, 4 months ago by Guenni007.

    yes it is possible to change the default color picker palette by a filter –
    and that will be the best way for the moment to have own color-palette. You can have 11 pre-defined colors – black and white shoud be there so 9 could be replaced – put this to child-theme functions.php:

    function custom_colorpicker_colors( array $colors ){
    	$colors = array( '#000000', '#ffffff', '#B02B2C', '#edae44', '#eeee22', '#83a846', '#7bb0e7', '#745f7e', '#5f8789', '#d65799', '#ab331c');
    	return $colors;
    }	
    add_filter( 'avf_colorpicker_colors', 'custom_colorpicker_colors', 10, 1 );

    i’m looking for a method to style that pickerfield by the total length of the picker areas determines the amount of rows added under each other –
    but that script had to be inserted on a special moment – i guess wp-footer is the wrong place for it !

    in reply to: Facebook Icon in Footer #1254587

    if you like to have the same buttons as Enfold offers for the header-top or the socket – you can create your own shortcode for these by putting this to child-theme functions.php:

    function social_bookmarks_shortcode() {
    $social_args = array('outside'=>'ul', 'inside'=>'li', 'append' => '');
    $social = avia_social_media_icons($social_args, false);
    return $social;
    }
    add_shortcode('social-bookmarks', 'social_bookmarks_shortcode');

    then use a text-widget to place the shortcode :[social-bookmarks]
    to have the icons besides each other a bit css is needed:

    #footer .widget .social_bookmarks li {
        clear: right !important;
    }

    The same with share buttons : go to a test-page and style the content element: social share buttons with option “use a custom set”
    go and copy the shortcode from debug mode:
    F.e.:

    
    [av_social_share title='Share this entry' buttons='custom' share_facebook='aviaTBshare_facebook' share_twitter='aviaTBshare_twitter']

    put the shortcode to a textwidget.

    on gdpr ( DSGVO) reasons there is a nice plugin like shariff wrapper will create a widget for it and you can either place the global share buttons or customize them by shortcode f.e.:
    [shariff services="facebook|twitter|mailto" theme="round" borderradius="50"]

    in reply to: Aligning the logo in header with left margin of the page #1254585

    Goto Enfold Options – Header – Header behavior (tab) and look if you got this enabled: “Let logo and menu position adapt to browser window”
    remove that activation

    in reply to: Icon Grid backside links #1254574

    my solution:
    do not use for that the pseudo-content : before !
    make your setting for borders as usual and :
    for borders all this could be a solution

    .avia-icongrid-borders-all li .avia-icongrid-wrapper::before, 
    .avia-icongrid-borders-between li .avia-icongrid-wrapper::before {
        display: none;
    }
    
    .avia-icongrid.avia-icongrid-borders-all {
      border-bottom: 1px solid;
    }
    .avia-icongrid.avia-icongrid-borders-all li .avia-icongrid-wrapper {
      border: 1px solid ;
    }

    for borders between it will be more difficult – we can achieve it by outline but then the whole wrapper must have overflow: hidden – and that will disturb the flip effect to be visible outside.

    in reply to: Icon Grid backside links #1254561

    Responsible for that behavior is the construction of the border via pseudo-container box-shadow and a z-index of that higher than the z-index of the content.

    .avia-icongrid-borders-all li .avia-icongrid-wrapper:before,
    .avia-icongrid-borders-between li .avia-icongrid-wrapper:before {
     content:"";
    …
     z-index:8
    }

    we had to find a solution on that

    Some hints on updating via ftp:
    https://kriesi.at/support/topic/some-hints-and-advice-to-update-enfold/#post-1056107

    I do not replace the enfold folder installed – i rename it and upload the new enfold. So if there are troubles like you have it is just a few steps to get back to your former version.

    in reply to: Icon Grid backside links #1253876

    STRANGE BEHAVIOR : if you choose the border option : on styling tab: “Grid Borders” ( both border options lead to that result )
    the backside links do not work

    can you confirm this with one of your installations?

    in reply to: Icon Grid backside links #1253618

    go on reading with the b-quote

    • This reply was modified 5 years, 4 months ago by Guenni007.
    in reply to: Code Block ALB Element and insert Code as Content #1253222

    There was a hint that ended up in a solution for me:
    https://kriesi.at/support/topic/special-characters-within-code-blocks-on-3rd-party-forms/#post-1253220

    This is the disadvantage of placing installations in subfolders and not thinking that security plugins can of course affect them.

    Can be closed – it is solved

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

    where did you switch Wordfence to learning mode?

    Edit ok i found it – All Options – basic firewall options.
    this hint is good for a problem i got with code block too.

    But what I didn’t think about the firewall is that the installation caused the problems was in a subfolder of another site.
    There Wordfence was installed and activated on that “Parent Installation”
    ( webers-testseite.de and another wordpress in webers-testseite.de/subfolder/ )
    That the installation there also affected the subfolder installation – I didn’t think of that.

    Brilliant tip – Thanks

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

    yes Günter – but that is a very simple insertion.
    But before, even komplex svg could be inserted without trouble. They were not shown on layout preview but layout itself could be seen and could be edited after insertion.

    See home4 on that !
    you can see that the layout isn’t shown on top – so no Editing of the layout could be done – allthough the shortcode is correct.
    The Frontend of that page works!:

    And Enfold Shortcode-Verarbeiter : “Keine Fehler wurden bei der Analyse der Shortcodes erkannt.”

    in reply to: Line breaks do not work #1252736

    That Plugin can help you to have new buttons on that text-editor ( don’t know if it works on block-editor too )
    f.e.:

    in reply to: Line breaks do not work #1252729

    That plugin is if you want to have more than this line-break button – because now Enfold ( or maybe it is a new thing from WP ) shows a button on visible mode:
    can you see this:

    if you click : Enfold will insert the tags itself ( <br class=”avia-permanent-lb” /> ); switch to text mode then you will see what i mean

    in reply to: Move Post: date info above post title #1252569

    If it has to be above the title – change the selector and insertBefore:

    function metaAfterTitle(){
    ?>
    <script>
    (function($){	
    	$(".template-blog .post-entry").each(function(){
    		var postTitle 	= $(this).find('.av-heading-wrapper');
    		var metaInfo 	= $(this).find('.post-meta-infos');
    		$(metaInfo).insertBefore($(postTitle));
    	});
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'metaAfterTitle');
    in reply to: Move Post: date info above post title #1252568

    you can test always – even each functions via Developer Tools and the Console
    just open the concerning page/post and put the pure script to the console and press return.
    see video:
    Vimeofilm

    in reply to: Move Post: date info above post title #1252543

    i am a participant like you, and thats why i could not read private content area and if you prefer to hear it from a mod that needs to be improved in the code then that’s ok for me too.
    You could have just tested the code – it wouldn’t have been that much work.

    in reply to: Move Post: date info above post title #1252533

    not that is the error – the error is in your syntax:

    you Code is :
    jQuery(metaInfo).insertAfter(postTitle);
    and it has to be:
    jQuery(metaInfo).insertAfter(jQuery(postTitle));

    the other mentioned is only stylistic point of view. Instead of using on the whole code jQuery each time a $ is set – you can do it as said above.

    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%);
      }
    } 
Viewing 30 posts - 5,161 through 5,190 (of 11,984 total)