Forum Replies Created

Viewing 30 posts - 2,401 through 2,430 (of 11,696 total)
  • Author
    Posts
  • in reply to: sort the displayed articles by popularity #1402877

    What expresses “popularity”? Comments or post views?
    Do you measure your page views?

    in reply to: “powered by Enfold WordPress Theme” #1402873

    You can find several posts using the search function on how to remove this notice in the footer.
    add to your own notice there : [nolink]

    You can even find it in the documentation ( link ) . If you have a little patience, you will be answered even here friendly and in compliance with netiquette. Even people who have no profit from the theme here – nice and friendly participants like me answer you comprehensively and quickly.
    You can even rewrite this note that is automatically inserted there to your own settings.
    Here is an answer from my side that is not too long ago. : Link
    I wish you another beautiful day. ;)

    in reply to: customize buttons as h1, h2, h3… #1402858

    just to mention it for button-row element :
    to select specifically – it would be nice if these buttons of a button row have a specific selector; and not to handle with nth-child or nth-of-type etc.
    to get this done – here is another child-theme functions.php snippet:

    function id_to_button_row_buttons(){
    ?>
    <script>
    (function($) {
    	$('.avia-buttonrow-wrap').each(function(a){
    		var ButtonRowID = ($(this).attr('id') !== undefined) ? $(this).attr('id') : 'button_row'+(a+1);
    		var that = this;
    		$('.avia-button', this).each(function(i){
    			$(this).attr('id', ButtonRowID+'-button'+(i+1));
    		});
    	});
    })(jQuery);
    </script>
    <?php
    }
    add_action( 'wp_footer', 'id_to_button_row_buttons');

    see in action: https://webers-testseite.de/buttonrow/
    the anchors ( avia-button) will have then each a unique ID

    in reply to: customize buttons as h1, h2, h3… #1402839

    The will is man’s heavenly kingdom.

    you can do that by child-theme functions.php snippet:

    function 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-button-wrap .avia-button.avia-size-x-large .avia_iconbox_title', '<h4></h4>');  
      }(jQuery)); 
    </script>
    <?php
    }
    add_action('wp_footer', 'replace_tags_with_tags');

    you see how it works: all extra large buttons text will be surrounded by h4 tags then.
    to show these h-tags besides the icons – as before you had to set:

    #top .avia-button .avia_iconbox_title {
      display: inline-block;
    }

    and btw: anchors are inline elements – you can wrap other inline elements ( without other anchor tags ) – so if you set the h-tag to show inline-block this is even html valide ;)

    if you only want to replace specific button text : give a custom class to that button – this class will be on the wrapper – so :

    function 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);
            });
          }
          // f.e.: custom-class expresses the h-tag you like to get
          replaceElementTag('.avia-button-wrap.is-h1 .avia-button .avia_iconbox_title', '<h1></h1>');  
          replaceElementTag('.avia-button-wrap.is-h2 .avia-button .avia_iconbox_title', '<h2></h2>');  
          replaceElementTag('.avia-button-wrap.is-h3 .avia-button .avia_iconbox_title', '<h3></h3>');  
          replaceElementTag('.avia-button-wrap.is-h4 .avia-button .avia_iconbox_title', '<h4></h4>');  
      }(jQuery)); 
    </script>
    <?php
    }
    add_action('wp_footer', 'replace_tags_with_tags');

    Or is it the other way round: that a headline tag looks like a button?

    in reply to: Icon Box Giving Me Funky Shapes #1402835

    you have set the articles (.iconbox) to display: flex to center icon and text horizontally .
    But you missed to set a min-width for the icon

    try in quick css:

    .flex_column article .iconbox_icon {
      min-width: 74px !important
    }


    But
    : maybe it is best to not display : flex – because have a look to smaller screens before it breaks to responsive case.

    in reply to: Cannot show copyright at the footer #1402830

    or redefine the backlink by this in your child-theme functions.php:

    /**  new backlink in copyright insertion*/
    function new_nolink(){
    $kriesi_at_backlink = " - <a href='https://your-link'>your link text</a>";
    return $kriesi_at_backlink;
    }
    add_filter("kriesi_backlink","new_nolink");

    Of course, you then had to remove the [nolink] from the copyright input field.

    _____________

    different way to write:

    function my_own_backlink($link){
      $no = "rel='nofollow'";
      $target = "_blank";
      $backlink_url = 'Backlink URL';
      $theme_string = 'Custom Backlink Text'; 
      $link = " - <a {$no} href='{$backlink_url}' target='{$target}'>{$theme_string}</a>";
      return $link;
    }
    add_filter( 'kriesi_backlink', 'my_own_backlink', 10, 1);

    and why not using the icon list in minimal small list view ?
    you can insert different icons , you can set the link to icon and text or only to the icon or text etc. pp.

    why don’t you solve it by just css – and make that “separator” part of the footer itself?
    and if this separator is a big one ( f.e. height 50px ) – just add more padding on top:

    #footer {
      background-size: 100% 50px;
      background-position: 0px 0px;
      background-repeat: no-repeat;
      background-image: linear-gradient(180deg, green 0%, green 25%, blue 25%, blue 50%, purple 50%, purple 75%, orange 75%, orange 100%);
      padding: 65px 0 30px 0;
    }

    Big advantage of that way: if you have a curtain effect on footer – this will be o.k. because no extra calculation is needed – these lines are part of the footer height.

    ____________________
    PS:
    But if you like to make it your way:
    Enfold got a hook for that: ava_before_footer

    add_action('ava_before_footer', function() {
    echo '<div id="de-footer-bar">
            <div class="de-colour green"></div>
            <div class="de-colour blue"></div>
            <div class="de-colour purple"></div>
            <div class="de-colour orange"></div>
        </div>';
    });
    in reply to: Htag Issue #1402600

    yes, that was also the one thing I saw. The empty p-tags. Of course, there must be a reason for this.

    in reply to: Htag Issue #1402530

    can you please make a screenshot – where the extra H3 tag is – or tell us the content of that heading to find that place.

    Sorry – no private messages for me – you had to wait till mods are here.

    if it is your homepage – i see there are different renderings – maybe it is because you host only the 400 – regular font-weight !
    The headings are set to 300 – light font-weight.
    i do not know how they react if they do not find the font-weight used – but i guess that safari will take the fallback font-family then.

    maybe you think of to offer only the variable font for your page – then you will have all font-weights you need.
    ______

    Im übrigen solltest Du eventuell für diese sehr schmalen Screenweiten, die Grid-Cell Paddings von den 100px verkleinern.

    • This reply was modified 2 years, 6 months ago by Guenni007.

    i’m kidding – but what do you mean by “not displayed correctly” – is it a different font-family, font-style, font-weight etc.

    in reply to: Team Page Layout Model. #1402251

    It is not a pre-designed layout!
    Enfold builds up the layouts like a construction kit (modular). You have elements that provide a certain larger structure and can serve as containers for other children containers. At the same time, these parent containers can be used to define backgrounds or separations between sections. ( color-section, Grid-Row, Tab-Sections ). The other layout elements serve to make divisions of this total width. 1/1 , 1/2 etc. pp.
    In the next tab of the Advanced Layout Builder you see content elements. Here you will also find your Team-Member element.
    You simply drag it to the place where you want to place it e.g. in a 1/2 container. etc..
    The third tab contains media elements, two of which are full-width elements – and thus cannot be dragged inside a container (full-width and full-screen sliders).
    Your team page now has some 1/1 containers – then for the first two team members two 1/2 containers and so on.

    after drag&drop all your elements to your layout – you can now begin to style and fill the elements with input.
    F.e. the team-member element – click on the Element itself in your layout – a popup with styling options shows you how you can insert and style it.
    Here again there are tabs that show a meaningful structure of what is being done.

    in reply to: Google maps fullscreen GDPR #1402194

    this is wat i see:

    so first: why did you nested your code inside containers that are no full containers? If you like to have it full-width?
    place a color-section – that is a full-width element – maybe give the wanted height of your map to that section – and place only inside a code-block element – with your shortcode inside. – hope that will help

    I do not see any hint for opt-in !!!

    in reply to: Google fonts und Datenschutz #1402187

    have you realy copy&pasted the snippet above ?

    because – where is the closing (ending) semicolon ?

    by the way – you can delete these comments or place the snippets under these comment.

    in reply to: Enable swipe feature to lightbox? #1402160

    have you checked if it is not activated on default?

    in reply to: Google fonts und Datenschutz #1402115

    BUT : after that – open functions.php on the right side of that window
    do not kill the first line <?php

    on english it is : Appearance – Theme File Editor.
    On default it is visible that option to edit theme files via dashboard – if not – tell us – mayby your security settings or a plugin hampers that option.

    in reply to: Google fonts und Datenschutz #1402013

    as i wrote : Child Theme functions.php

    in reply to: Google fonts und Datenschutz #1401935

    Sorry no private content area for me. I’m participant as you

    Schön – mach doch noch die letzte Color-Section auch in dem dunklen Blau – der Breite Abstand stört ein wenig. Dann kann man auch den Trenner sehen.

    Der weiße Border kommt dann vom:

    .container_wrap {
      border-top-style: solid;
      border-top-width: 1px;
    }

    den schmeiß ich auch immer direkt raus ( also auf border-top: none )

    in reply to: Animated SVGs #1401883

    No Mike

    Hi,
    Sorry I don’t understand, are you saying that uploading the SVG in the media library removes the animation?

    it is the usage as img src that will not do the animation. Inserting it as background the same.

    try in your child-theme functions.php:

    function change_href_from_scroll_top_link(){
    if ( is_page(2077) ) {	
    ?>
    <script type="text/javascript">
    window.addEventListener("DOMContentLoaded", function () { 	
    (function($) {
    	$('#scroll-top-link').attr({
    		'href': 'https://new_link',
    		'title': 'new Title',
    	});
    })(jQuery);
    });
    </script>
    <?php
    }
    }
    add_action('wp_footer', 'change_href_from_scroll_top_link');

    if you got more than one page use array:
    if(is_page(array( 2077, 38147, … ))){

    see test page: https://enfold.webers-webdesign.de/impressum/

    in reply to: Google fonts und Datenschutz #1401865

    Leider ist man damit noch nicht ganz vor Abmahnungen gefeit- die meisten Google Addons ( Tag Manager, Analytics, Youtube , Maps, Recaptcha etc. ) laden mit dem Dienst auch Schriften nach. Man sollte also diese Dienste auf jedenfall so setzen (blockieren), dass immer zunächst ein opt in erfolgen muss. Ohne Zustimmung geht es also nicht. Dann sollte man in seinen Datenschutzhinweisen auch ruhig explizit darauf hinweisen, dass diese Dienste auch Schriften nach laden.
    also z.B.:

    Sollten Sie der Nutzung eines der Google Dienste ( Maps, Recaptcha, Youtube etc. ) zustimmen, so lädt Google eigene Schriften ( Roboto, Google Sans ) nach.

    in reply to: Google fonts und Datenschutz #1401861

    nein – die Fonts die du im Enfold Optionen Dialog : Allgemeines Styling – Schriften wählen kannst, werden dann über Google Server eingeladen!
    Das ist – nicht nur nach meiner Meinung : nicht DSGVO konform.

    Meine Klare Empfehlung daher die Google Fonts die man haben möchte selbst mit dem : Import/Export – Manager für Benutzerdefinierte Schriftarten hochzuladen. Diese Schriften befinden sich dann auch wie oben zur Auswahl auch in dem Drop-Down der Auswahlschriften, sind aber ganz unten in der Liste platziert.

    um noch der Gefahr zu entgegnen auch wirklich keine Google Fonts über Enfold zu laden platziere ich mir in der Child Theme functions.php noch folgendes Snippet:

    function my_output_google_webfonts_script( $activate ){
      return false;
    }
    add_filter( 'avf_output_google_webfonts_script', 'my_output_google_webfonts_script', 10, 1 );

    danach lädst Du dir deinen Font hoch und wählst Ihn dann im Drop Down ( siehe oben an )
    solltest du nur ( Montserrat light, regular, bold benötigen – hier das zip zum Hochladen : Link )

    bei der Montserrat Schrift würde ich die italic fontstyles nicht mit hochladen. Die Browser können ganz gut aus eine regular Schrift eine italic rendern ohne das große Unterschiede zu dem reinen italic Schriftschnitt entstehen. Bei Serifen Schriften sieht das manchmal anders aus, da können sich einzelne Buchstaben schon mal mehr unterscheiden. : Link

    in reply to: Use Gif’s as Icons #1401835

    You can upload gifs to your media library. However, if you insert them into your elements, and you want to keep any animations you may have, you must use the original gif (not a scaled down version).
    The recalculated files will lose the animation.
    Google times after using it as a featured image (animated gif) no recalculation was done and the maximum width had to be considered.

    in reply to: Sitespeed Slow (TTFB +10 seconds) #1401834

    is there a link i can inspect? If you can not make it pubplic than insert the info in the Private Content Area.

    in reply to: replace the h3-Tag for team member with a p-tag #1401801

    or use that filter: avf_customize_heading_settings in your child-theme functions.php
    a lot of enfold alb elements do have that filter implemented

    
    function customize_team_member_heading( array $args, $context, array $extra_args = array()){
      if( $context == 'avia_sc_team' ){
        $args['heading'] = 'p';   
      }
      return $args;
    }
    add_filter( 'avf_customize_heading_settings', 'customize_team_member_heading', 10, 3 );
    in reply to: Enfold Child error!!! #1401799

    next question – have you installed an advanced layerslider standalone plugin?

    The js file is loaded via:
    https://usercontent.one/wp/www.puconsulting.se/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_layerslider/slideshow_layerslider.js
    The style is loaded by:
    https://www.puconsulting.se/wp-content/themes/enfold/config-layerslider/LayerSlider/assets/static/layerslider/skins/fullwidth/skin.css

    in reply to: Enfold Child error!!! #1401795

    First of all – why is it a child theme error ? i do see on your head section only enfold folders – no child
    Next: there are urls in head section not related to your domain : https://usercontent.one/wp/www.puconsulting.se/wp-content/themes/enfold
    maybe this mismatch is causing the troubles.
    Yes it is possible to install wordpress to subfolders of domains. And even as multisite installation – the base referece path is allways the domain you like to see on top in the browser window.
    f.e. – what do you enter as urls for that installation :

    or how did you redirect to your domain?

Viewing 30 posts - 2,401 through 2,430 (of 11,696 total)