Forum Replies Created

Viewing 30 posts - 9,781 through 9,810 (of 11,475 total)
  • Author
    Posts
  • in reply to: Columns within a column #768690

    from your screenshot – why is it necessary to have the additional 1/4 columns ?
    You can place under the images in the same column new content.

    if it is less space between them place a sparator between (whitespace )

    in reply to: Different logo for mobile AND different pages? #768661

    yes – Thanks that is right syntax – sorry – so here is for copy / paste the whole correct code:
    (btw. it works without semicolon too – but better is to have the correct way)

    function avia_custom_mobile_logo(){
    if(wp_is_mobile()){
    ?>
     <script>
    jQuery(".logo img").attr("src", "http://kriesi.at/wp-content/themes/kriesi/images/logo.png");
     </script>
    <?php
    }
    }
    add_action('wp_footer', 'avia_custom_mobile_logo');
    in reply to: Different logo for mobile AND different pages? #768502

    maybe it is only because you have now two functions with the same name ;)

    add_filter('avf_logo','av_change_mobile_logo');
    function av_change_mobile_logo($logo){
        if(wp_is_mobile() ) {
        $logo = "http://kriesi.at/wp-content/themes/kriesi/images/logo.png";
        }
        return $logo;
    }

    but i would try this code instead:

    function avia_custom_mobile_logo(){
    if(wp_is_mobile()){
    ?>
     <script>
    jQuery(".logo img").attr("src", "http://kriesi.at/wp-content/themes/kriesi/images/logo.png")
     </script>
    <?php
    }
    }
    add_action('wp_footer', 'avia_custom_mobile_logo');
    in reply to: search result .po file #768499

    kannst du überhaupt etwas in das Suchfeld eingeben?
    Ich komme erst garnicht dazu
    kannst du mir mal dein de_DE.po bereitstellen?
    Dann schau ich da mal rein.

    in reply to: Google reCAPTCHA and Enfold Contact Form #768493

    I use contact form 7 and reCaptcha from Google – if my customers definitly want to have more security – all you need is both keys from Google.
    The Form is easy implemented in Advanced Layout Builder by shortcodes.

    in reply to: tab-section question #768195

    Well thanks Andy for your input. You can close the thread.
    The link shows how i managed it – but with css solution only. the difference between the normal behavior of tab-section an mine is that alll images of the tab-heading stayes visible. Normally the tab-titles were centered arround the active title and the rest if bigger than screenwidth goes to off-screen.

    yes – seems to be gone – that was a pity

    in reply to: Where to put translation files? #767987

    yes please – use this new snippet:

    function overwrite_language_parent_theme_files() {
        $lang = get_stylesheet_directory().'/lang';
        return $lang;
    }
    add_filter('ava_theme_textdomain_path', 'overwrite_language_parent_theme_files');

    yes that is the way – a copy to child-themes/shorcodes folder and than edit this copy.

    if they are in child-theme folder they will not be overwritten – but you are right if there are fundamental changings in a shortcode of an updated Enfold Parent Theme you won’t come into joy of these new features, because Enfold will than load the child-theme shortcode.
    But! usually there might be new shortcodes (as now Tab-Section) but very unlikely changings to existing shortcodes.

    • This reply was modified 8 years, 3 months ago by Guenni007.

    on line 443 of icon-list.php there is the code:

    $title_el = "h4"; change it to $title_el = "h3";

    save the icon-list.php and upload it to your child-theme/shortcodes folder (on Enfold 4.0.3 the overwriting of shortcodes through child-theme files does not work as before – it is on 4.0.4. ok again) so put in child-theme functions.php :

    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;
    }

    but ! i don’t know if allready placed iconlist will change than to h4. Definitly new placed or edited will do.

    in icon-box.php you could choose the h1 but in the list all listpoints get that h1 – so a multiple h1 on page.
    But it is easy to add this option as you know. just add in that array the h1 option

    "subtype" => array("H1"=>'h1',"H2"=>'h2',"H3"=>'h3',"H4"=>'h4',"H5"=>'h5',"H6"=>'h6')

    in reply to: German translation misses time units for countdown timer #767942

    on enfold dokumentation there is a different code to that i know before – and the new one works:

    function overwrite_language_parent_theme_files() {
        $lang = get_stylesheet_directory().'/lang';
        return $lang;
    }
    add_filter('ava_theme_textdomain_path', 'overwrite_language_parent_theme_files');
    in reply to: Enfold 4.0.3. a bit buggy #767934

    ok in theme dokumentation there is a new snippet but i renamed it a bit to be clearer what it does:

    function overwrite_language_parent_theme_files() {
        $lang = get_stylesheet_directory().'/lang';
        return $lang;
    }
    add_filter('ava_theme_textdomain_path', 'overwrite_language_parent_theme_files');

    all mods are (an me for long time too) prefer those codes at the beginning.
    The code here works now with new 4.0.4. definitly ! – so forget the other two (former common advices)

    in reply to: How can I change the subtitle text under a menu item? #767685

    on that slide-out window you see that you can mark f.e. css-classes. so than you can give each Menu Point an own custom class etc.

    in reply to: How can I change the subtitle text under a menu item? #767682

    well – it is there but you don’t know how to get it:

    sorry i have only german GUI of WP
    on top right window-corner there is a little button- press it. on yigits image its called screen options

    than you can choose what options are seen in editor mode ( mark description ). under the red line you see the slide-out window

    Click on image to zoom

    • This reply was modified 8 years, 3 months ago by Guenni007.
    in reply to: search result .po file #767669

    ich habe das eben ausgeführt, bei mir geht es immer weiter. Überprüfe mal die Eingabe. – oder hast du absichtlich dort einen
    Umbruch <br> bzw <br/>. eingefügt

    in reply to: Google Fonts einfügen in Enfold Child Theme #767655

    neuerdings gibt es wohl auch schon ein word-spacing. (Wortabstände) mit genügend großer Browsersupport Unterstützung
    http://caniuse.com/#search=word-spacing

    in reply to: Google Fonts einfügen in Enfold Child Theme #767650

    für sowas gibt es natürlich Css anweisungen.

    Du kannst aber auch dieses “Erweitertes Styling” nutzen in den Enfold Optionen.
    Oben neben dem Blauen Feld suchst du dir die Überschirften aus, die du bearbeiten möchtest: also entweder zB alle H1, H2, H3. etc.
    oder eben explizit nur die H2
    dann kannst du da schonmal vieles voreinstellen:
    Schriftfarbe
    Hintergrundfarbe
    Font Size
    Zeilenabstand
    Schriftart
    Font Weight
    Text Transform

    weiteres muss du dann via css einstellen zB letter-spacing (Zeichenabstand) etc.

    in reply to: Google Fonts einfügen in Enfold Child Theme #767594

    wenn damit gemeint ist, dass du die im Enfold Options Dialog als Text Font und als Überschriften-Font nutzen kannst habe ich mir immer die @import rules von google notiert – also zB:

    @import url(‘https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300i,400,400i,700,700i&#8217;);

    Das hinter dem Gleichzeichen von family entspricht dem was du als Code benötigst (ohne Plus Zeichen)
    das im Code unten in der eckigen Klammer nach $fonts ist nur die Bezeichnung in der Liste

    sollten da bei Google Plus Zeichen zwischen den Font-Wörtern stehen, dann werden die durch Leertaster ersetzt.
    Folgenden Code dann in die functions.php deines Child Themes

    add_filter( 'avf_google_heading_font',  'avia_add_heading_font');
    function avia_add_heading_font($fonts)
    {
    $fonts['Source Sans Pro'] = 'Source Sans Pro:300,300i,400,400i,700,700i';
    return $fonts;
    }
    
    add_filter( 'avf_google_content_font',  'avia_add_content_font');
    function avia_add_content_font($fonts)
    {
    $fonts['Source Sans Pro'] = 'Source Sans Pro:300,300i,400,400i,700,700i';
    return $fonts;
    }

    Danach finden die Schriften sich am Ende der Liste (also nicht alphabetisch einsortiert) bei Enfold Optionen Fonts.
    Wenn es nur darum geht die Schriften im Quick Css zu nutzen dann reicht die Einbindung via css mit der @import oder mittels der Link Beziehung.

    in reply to: bug on enfold 4.0.3 #767530

    shortcodes are now (4.0.4.) ok but. see here: https://kriesi.at/support/topic/enfold-4-0-3-a-bit-buggy/

    in reply to: Enfold 4.0.3. a bit buggy #767420

    on 4.0.4. the other problems seems to be ok again.
    shortcodes in child-theme folder shortcodes are accepted and do work with there changes!

    langfiles in lang folder of child-themes are still not welcome !

    • This reply was modified 8 years, 3 months ago by Guenni007.
    in reply to: German translation misses time units for countdown timer #766899

    Allthough this is an old thread – maybe someone find this thread.

    German Translation is to all others a unique case!
    We have in German a formal speech and vor You we use in this case “Sie” –
    and we have an informal case with You = “Du” if we are familiar with person.
    So if you choose Deutsch on Dashboard Settings (since WP 4 the wp_lang part in wp-config should not be in there)
    WP will take the “Du” Version de_DE_formal.po
    if you choose the explicite different Version “Sie” it will take the normal de_DE.po Version

    in reply to: Where to put translation files? #766896

    i allways use poedit and it works great – do not forget to mark that setting (sorry on my german Wp i only see:) “MO Datei beim Speichern automatisch erstellen” should be something like that: “Allways create a MO file automatically when saving” And do upload both files
    On Enfold if you use a Child-Theme you can use this in functions.php of child theme :
    and than put in your lang files in the folder Enfold-Child/lang (Same structure as in parent theme ) (i found this from Ismael9

    add_action('after_setup_theme', 'avia_child_lang_setup');
    function avia_child_lang_setup() {
    	remove_action('after_setup_theme', 'avia_lang_setup');
    	$lang = get_stylesheet_directory() . '/lang';
    	load_theme_textdomain('avia_framework', $lang);
    }

    i used this code:

    add_action('after_setup_theme', 'avia_lang_setup');
    function avia_lang_setup()
    {
    $lang = get_stylesheet_directory()  . '/lang';
    load_child_theme_textdomain('avia_framework', $lang);
    }

    But : i now have to proove it if it will work – because sinse Update to Enfold 4.0.3 i have a lot of troubles with those codes replacing Original Files in Enfold Parent Theme. (php shortcodes and javascript files) see here: Link

    • This reply was modified 8 years, 3 months ago by Guenni007.
    in reply to: search result .po file #766895

    German has an extra input – if you choose formal “Sie” or informal “Du”

    Eigentlich sollte das Problem gelöst sein, ich glaube per default nimmt Enfold zunächst die Du – Variante
    welche hast du denn Verändert ? de_DE_formal.po oder de_DE.po

    Schau mal was Du im Dashboard – Einstellungen – Sprache der Webseite ( das wp-lang im wp-config sollte es nicht mehr ab WP 4 geben) eingestellt hast – wie gesagt ich glaube bei Deutsch ist die Du Variante gewählt und erst wenn du explizit “Sie” wählst nimmt er das normale de_DE.po !

    btw: bitte natürlich die miterstellen mo-files auch hochladen.

    in reply to: Info : concerning to hacked by sa3d hack3d #766893

    Meanwhile the 4.7.3 WP solved that Problem. This is a bit older thread of mine – but yigit please have a look at : https://kriesi.at/support/topic/bug-on-enfold-4-0-3/

    in reply to: How to have the entire site with justified text? #766367
    .avia-content-slider .slide-entry-excerpt {
        text-align: justify !important;
    }

    if you recognize some strange endings or bad breakings – have a look to Plugin : Hyphenator

    Edit: hm – same code as Yigit. But on my firebug it seem to work.

    try this:

    .slide-entry-excerpt.entry-content {
        text-align: justify !important;
    }
    • This reply was modified 8 years, 3 months ago by Guenni007.
    in reply to: Please contribute and translate Enfold #766278

    to translate lighter on font-weight in “hell”. on german. :lol ;)
    schmaler oder dünner träfen eher

    bold steht ja auch für “fett”

    in reply to: How to have the entire site with justified text? #766275

    i think you only gave it to p tags
    to expand to all texts (including headers etc) this will look horrible

    so try this in quick css:

    ​.avia_textblock, p {text-align: justify !important; }

    but i think all inline css aren’t overwritten !

    in reply to: tab-section question #766225

    thanks Victoria for your input – i’m often brainstorming in my topics i started. you can see result here on the link above.
    But that solution is a css one – the script tries still to center active tab heading. You can diminish screenwidth – than you can see the effect.

    Sorry : try again please Download
    and for the moment overwrite the original file in Enfold Folders

    see. Resultpage: https://webers-testseite.de/kokon/elements/icon-list/

Viewing 30 posts - 9,781 through 9,810 (of 11,475 total)