Forum Replies Created

Viewing 30 posts - 9,511 through 9,540 (of 11,187 total)
  • Author
    Posts
  • 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’);

    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 7 years, 11 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 7 years, 11 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 7 years, 11 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/

    so here are my icon-list and icon-box shortcodes : you can choose what title tag it has (h1 to h6)
    Download. it makes no sense to choose in a list the h1 (a h1 should be unique per page) so there is only h2 to h6 possible)

    but see : https://kriesi.at/support/topic/add-changes-in-config-templatebuilderavia-shortcodes-in-childtheme/#post-765982

    • This reply was modified 7 years, 11 months ago by Guenni007.

    that is to complex the line in the code : array_unshift($paths, $template_url.'/shortcodes/');
    gives the folderstructure :

    just a folder “shortcodes” (or in case to replace a script “js” ). and in it the files – but as i described above since 4.0.3 this “half-worked”
    The new files are loaded to dashboard – appearance – editor. but the changings of those files has no influence.
    When i overwrite the original by the new one – changings take place. So i’m now a bit helpless too!

    • This reply was modified 7 years, 11 months ago by Guenni007.

    i solved this – download go ahead.

    • This reply was modified 7 years, 11 months ago by Guenni007.

    see here – this code above is in child-theme functions.php – and you see it is loaded to editor list! but there is no influence of h3 here.
    It stayes h4 till the original file is overwritten. (Click on image to zoom)

    does that code work anymore? because allthough the the new shortcodes are seen in Dashboard Editor the changings have no influence any more – if i overwrite the original file it works as Krzysztof said

    i have installed on that testinstallation Enfold 4.0.3

    • This reply was modified 7 years, 11 months ago by Guenni007.

    how do you garantee that the child-theme shortcode was taken?

    i hold the same structure when i want to replace a shortcode.
    So my subfolder is the same name (shortcodes) in Child-Theme folder and than i put in functions.php of child-theme the following:

    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;
    }
    in reply to: Import Style of Enfold 2017 Demo #765584

    Download of textfile (gezipped) https://webers-testseite.de/kokon/Enfold-theme-2017.zip

    • This reply was modified 7 years, 11 months ago by Guenni007.

    Well i try to give the .container a class if it contains a .avia-video class:

    this to functions.php in child-theme

    function add_video_style(){
    ?>
    <script type="text/javascript">
    (function($){
    	$(window).load(function() {
    		if ($(window).width() < 480) {
    			$('.container').has('.avia-video').addClass('video-test');
    
    		} else {
    			$('.container').has('.avia-video').removeClass('video-test');
    		}
    	})
    	$(window).resize(function() {
    		if ($(window).width() < 480) {
    			$('.container').has('.avia-video').addClass('video-test');
    
    		} else {
    			$('.container').has('.avia-video').removeClass('video-test');
    		}
    	})
    })(jQuery);
    </script>
    <?php 
    }
    add_action('wp_footer', 'add_video_style');

    with:

    .container.video-test {
        max-width: 100% !important;
        width: 100% !important;
    }

    but i can not select specifically the other containers adjacent to avia-video
    as Rikard said: In this case you have other content in the same container so it would make that content go full width as well.

    in reply to: some extra classes for hover states on enfold #764875

    oh – wow – thanks ismael – works like a charm!

    Sorry for my late reply. – i do work on a different installation now. But this is great – Thanks

    in reply to: Opening Burger Menu on hover #764781

    in avia.js on line 1765 there is the burger_wrap.click(function(e)

    to change it to hover by : burger_wrap.hover(function(e) is simple but does not bring the solution.
    So it does not work yet : It opens than but on leaving the (close button ) it closes immediately.

    • This reply was modified 7 years, 11 months ago by Guenni007.
    in reply to: Opening Burger Menu on hover #764756

    if you manage that – you can try to insert this to your functions.php of child-theme:

    function add_touch_fix(){
    ?>
    <script>document.addEventListener("touchstart", function(){}, true);</script>
    <?php
    }
    add_action('wp_footer', 'add_touch_fix');

    on pads and phones it will give you a click-function by touchstart.

    first of all – do you have any caching or minifying tools installed. Because on my firebug i do not see the usual structure of css.

    if i do a “live edit” in my firebug:

    in reply to: Display a scroll down arrow #764145

    Without your site i stop support from me now.
    Sorry – as you now can see – the scroll down button goes to the maximum bottom of all. Because the ID : fb_root is the last ID in all Enfold pages/posts (its just before body closes after all scripts)

    Maybe you have set the submenu to be a sticky one – so it is indeed at the top of the sceen. I have on the example page set it to not be sticky.
    So look what happens than.

    on your site it is in firefox osx the same thing.
    btw : You have a shift of the header element when scrolling down – is this normal enfold behavior of header not visible until you scroll down ?

    the top value of that button is for the hide button to much:

    #advanced_menu_hide {
        top: 40px;
    }

    and for me it was a bit strange to see content under the mobile nav. :
    if you place that code the hide button was imediately visible – you only have to shift it to the right place – see above

    #mobile-advanced {
        height: 100% !important;
    }
    • This reply was modified 7 years, 11 months ago by Guenni007.

    did you proof if it is there but not visible?
    sometimes it is simple a background-color problem. (on default it is the statusquo for that zoom-glas icon – white on white)

    .av-burger-overlay-active #top #wrap_all #menu-item-search a, .av-burger-overlay-active #top #wrap_all #menu-item-search a:hover {
        color: #fff;
    }

    try to insert this and have a look :

    .av-burger-overlay-active #top .av-hamburger-inner, .av-burger-overlay-active #top .av-hamburger-inner::before, .av-burger-overlay-active #top .av-hamburger-inner::after {
        background-color: #0088bd !important;
    }

    please again the code to htaccess is:

    <FilesMatch "\.(ttf|otf|woff)$">
    <IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin "*"
    </IfModule>
    </FilesMatch>

    in contrast to your input (first you lost the first line now again one line is missing):

    <FilesMatch “.(eot|ttf|otf|woff)”>
    Header set Access-Control-Allow-Origin “*”
    </FilesMatch>

    and i don’t know if the place is the right one
    do not insert code there – this is htaccess entry by wordpress itself – try this here:
    btw: mod_headers.c is different to mod_rewrite.c !

    <FilesMatch "\.(ttf|otf|woff)$">
    <IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin "*"
    </IfModule>
    </FilesMatch>
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    in reply to: Display a scroll down arrow #763790

    if so here is the code goes to functions.php of your child-theme:

    function scroll_to_bottom() {
    ?>
    <a class="avia_pop_class" href="#fb-root"><div title="scroll to bottom" class="scrolldown"></div></a>
    <span class="avia_hidden_link_text">Scroll to bottom</span>
    <?php
    }
    add_action('ava_main_header' , 'scroll_to_bottom');

    this here goes to quick css:

    a .scrolldown {
        left: 2px;
        position: absolute;
        top: 2px;
    }
    
    a:hover .scrolldown:before {
        background-color: #fff;
        border: 1px solid #ebebeb;
        color: #000000;
        opacity: 1
    }
    
    a .scrolldown::before {
        content: "\e873";
        border: 1px solid #aaa;
        color: #999;
        font-family: entypo-fontello;
        font-size: 24px;
        font-weight: bold;
        height: 40px;
        line-height: 40px;
        position: absolute;
        text-align: center;
        width: 40px;
        transition: all 0.5s ease-out 0s;
    }
    • This reply was modified 7 years, 11 months ago by Guenni007.
    in reply to: Display a scroll down arrow #763788

    well now see here first – is this the thing you like to have ( top left position)
    https://webers-testseite.de/kokon/pages/faq/

    (do not look to the logo – it is a next trial an error thing of my testings)

    click on that little arrow

Viewing 30 posts - 9,511 through 9,540 (of 11,187 total)