Forum Replies Created

Viewing 30 posts - 8,371 through 8,400 (of 11,707 total)
  • Author
    Posts
  • in reply to: Header #944881

    ja weil der schatten “falsch” angelegt ist
    bei Schattenwurf in eine Richtung wird der 4 Wert meist mit negativen Vorzeichen verwendet:
    deshalb siehe meinen Vorschlag oben der wirft nur in Y-Richtung nach unten einen Schatten – eventuell ist !important wichtig:
    Lass also die Einstellung ruhig drin und nimm stattdessen das ins Quick css

    .av_minimal_header_shadow {
        box-shadow: 0 5px 12px -8px rgba(0, 0, 0, 0.8) !important;
    }
    in reply to: "Less than" sign < in title or text crashes the icon list #944873

    hm – i recognized that behavior too on reediting some textblocks –
    or very often in headings from some alb elements f.e. inserting a softhypen – after reediting that alb again it is lost.

    maybe the avia_ampersand function could redefine some special characters
    f.e. i do allways want to have non-breaking dashes :

    add_filter('avia_ampersand','non_breaking_hyphens');
    function non_breaking_hyphens($content)
      {
        $content = str_replace("-","&#8209 ;",$content); 
        return $content;
    }

    maybe this could help

    add_filter('avia_ampersand','translate_signs');
    function translate_signs($content)
    {
        $content = str_replace("<","<span class='special_amp'>&#60 ;</span>",$content);    
        $content = str_replace(">","<span class='special_amp'>&#62 ;</span>",$content); 
        $content = str_replace("&#60 ;","<span class='special_amp'>&#60 ;</span>",$content);    
        $content = str_replace("&#62 ;","<span class='special_amp'>&#62 ;</span>",$content); 
        return $content;
    }
    

    Lol : Boardsoft changes it immediately :

    so remove the space to the semicolon

    • This reply was modified 7 years, 6 months ago by Guenni007.
    in reply to: Edit "All" Category Title #944866

    you have downloaded that predefined child-theme by Kriesi (link above) http://bit.ly/enfold-child
    Upload that best is ftp to the themes folder.
    After that it should be shown in Appearance – Themes.
    Here you can activate it – goto your Enfold-child – Options page – Import/Export and import the parent theme settings.

    if there is something misssing you alway can reactivate Enfold make some backups ( f.e. the same page but Export Theme Settings File)

    in reply to: 3 section footer showing as 1 row on mobile (responsive) #944858

    deminish the 29.333 etc to f.e. 29.2%
    (100-2×6):3 = 29,333333 but borders and other settings could be responsible that it does not fit with the exact value

    and as allways it might be an important necessary:

    @media only screen and (max-width: 767px) {
    #footer .av_one_third {
        margin-left: 6% !important;;
        width: 29.2% !important;;
    }
    #footer .av_one_third.first {
        margin-left: 0 !important;;
    }
    }

    or maybe you make it for very small screens as it is set by Enfold – and let the space in between abit smaller:

    @media only screen and (min-width: 480px) and (max-width: 767px) {
    #footer .av_one_third {
        margin-left: 4% !important;;
        width: 30.5% !important;;
    }
    #footer .av_one_third.first {
        margin-left: 0 !important;;
    }
    }
    in reply to: A problem with importing own .zip icons #944857

    have you installed any security plugin? Some of them have mime type restrictions – so you had to allow zip files.

    in reply to: Header #944735

    wo kommt das padding-top von main her – hast du das gesetzt ? da steht inline css
    das ist der Wert 152 nimm doch mal 149px

    und eventuell definierst du den Header Schatten ein wenig anders :

    .av_minimal_header_shadow {
        box-shadow: 0 5px 12px -8px rgba(0, 0, 0, 0.8);
    }
    in reply to: Edit "All" Category Title #944651

    get familiar with child-theme it is so easy and nearly all snippets to adjust something in Enfold are for child-theme use.
    https://kriesi.at/documentation/enfold/using-a-child-theme/

    in reply to: Header #944645

    Lösche deinen Browser Cache und eventuell vorhandene Caching Plugins.
    ich sehe jetzt kein rot mehr

    in reply to: Header #944642

    it comes from background-color of main and a top-padding.
    Don’t know if you have set this by yourself.

    What have you set on Enfold – General Styling – Main Content – Default background-color : #ff0000

    set it to white : #ffffff

    in reply to: Edit "All" Category Title #944634

    that is the code here on board which normaly is used to do this. But i tried a few seconds ago.
    But i’m working on a German WordPress with Enfold maybe this only goes with editing the lang files.
    I guess the substitution is made but the translation to german is the same.
    So i suppose that on english sites this will work perfect – the filter still exists in enfold.

    in reply to: Edit "All" Category Title #944622

    insert this to your functions.php of your child-theme

    add_filter('avf_portfolio_sort_first_label','new_first_label');
    function new_first_label() {
    $first_item_name = "smething-you-like-instead-of-all";
    return $first_item_name;
    }

    if you have different pages with different “All” settings you must use if-clauses

    Edit: Aha – seems to work not any more- i have a look if this filter exists anymore

    • This reply was modified 7 years, 6 months ago by Guenni007.
    in reply to: Google font is not displayed in the selection menu #944618

    on Enfold Options – general styling – fonts there are both heading and content
    the newly added fonts are at the bottom of the list. If not – please show me your code you have inserted

    in reply to: Header #944617

    Dear Faserschmeichler – i show you now an image of my son and you tell me his name!

    But now seriously – how should I judge from a screenshot – clearly I can guess until it clicks – but it is unprofessional. Looks to me like a border-bottom or top

    in reply to: small seperator in menu? #944614

    and it is indeed the enfold menu you see.
    Sometimes it is forgotten to define a menu as main menu.

    If you done that – a link would be nice

    Why did you change floating behavior of logo?

    i think this will look better – aquidistant from the border with hamburger sign:

    @media only screen and (max-width: 767px) {
    	.responsive #top .logo {
    	display: block !important;
    	float: !important;
    	}
    	.responsive #top .logo img {
    	max-height: 120px !important; 
    	height: 120px !important; 
    	}
    }

    And: PPS: the slider is still visible on very small screens when the fallback image is shown

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

    sorry my fault :

    /* MOBILE LOGO */
    @media only screen and (max-width: 767px) {
    	.responsive #top .logo {
    	display: block !important;
    	}
    	.responsive #top .logo img {
    	max-height: 120px !important; 
    	height: 120px !important; 
    	}
    }

    But your very long menu should switch to hamburger a bit earlier. It overlaps the logo on f.e. ipad landscape

    on my browser all is nice – with what kind of device you are looking to the dev. site ?

    ok on firefox with developer test devices – i see the problem:

    can you please replace your rule with:

    /* MOBILE LOGO */
    @media only screen and (max-width: 767px) {
    .responsive #top .logo {
        display: block !important;
        max-height: 120px !important;
        height: 120px !important;
    }
    }

    afterwards we see how to optimize the sizes

    this here is a very general replace script and easier to adjust for code beginners:

    function replace_tags_with_tags(){
    ?>
    <script>
      (function( $ ) {
    	$(document).ready(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('h3.widgettitle', '<h4></h4>');
    			replaceElementTag('.avia_textblock h2', '<h4></h4>');
    	 });
      }(jQuery)); 
    </script>
    <?php
    }
    add_action('wp_footer', 'replace_tags_with_tags');

    you see here in this part – you can add more replacings separated by semicolon:

    replaceElementTag('h3.widgettitle', '<h4></h4>');
    replaceElementTag('.avia_textblock h2', '<h4></h4>');

    for you only the first line is important
    replaceElementTag('h3.widgettitle', '<h4></h4>');

    But : That should always be the last solution. It is always better to set the right values directly when creating an element.
    But i do not have yet an idea to influence that register-widget-area.php via child-theme – i do not see a filter f.e. that fits – maybe a mod knows a child-theme handling of that.

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

    by the way i noticed that the subfolders are not necessary.
    I tested it on a playground of mine – when you put it directly in shortcodes folder it will work too.

    the widget tiltle setting to h3 is in : includes/admin/register-widget-area.php

    you can use in functions.php of your child-theme :

    Edit : better take the general replacement instructions – easier to understand

    • This reply was modified 7 years, 6 months ago by Guenni007.
    in reply to: Datepicker #944555

    Witzigerweise ist es bei deutsch Sie mit zurück übersetzt

    in reply to: Datepicker #944553

    Bist du Vertraut mit dem Bearbeiten von lang files?
    diese Übersetzung für Prev. ist recht unglücklich gewählt.
    das ganze befindet sich im de_DE.po file im lang ordner .

    Empfehlenswert ist zB das Plugin: https://de.wordpress.org/plugins/loco-translate/
    welches einem die Möglichkeit bietet die Übersetzungen zu bearbeiten.

    ich mache das immer “zu Fuß” mit po-edit und lade mir die files dann in mein Child-Theme zurück
    dort habe ich dann im child-theme einen unterordner : lang den ich für meine Übersetzungsfiles heranziehe.
    Das kann man in der functions.php des child-themes so veranlassen:

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

    thats nice – but without a live link it does not work – to decide from a screenshot it is not possible.
    i had to see the dom structure and to be able to simulate changings on developer tools

    if you like to have that too: https://webers-testseite.de/edited-enfold-alb-elements/#icons

    But be carefull : New Enfold has its shortcodes about icon-box and icon list now in subfolders – and the hierarchical structure had to be preserved
    so the downloaded files comes to
    icon-list.php to child-theme/shortcodes/iconlist
    icon-box.php to child-theme/shortcodes/iconbox

    in reply to: Open Sans Font #944483

    Yes, you are right, but many of the users run into this misunderstanding here. Then the topics are: “why can i not use the added font for my icon-titles via quick css …” etc. pp.
    the quick and dirty solution is to go to advanced styling and set for example for a H6 the added font as font-family – this will activate the font as well.

    in reply to: Youtube video aspect ratio displaying incorrectly #944334

    If you want simple solutions, you have to be satisfied with simple requirements.

    I would have liked it if you had answered. As you have achieved now – because I like to learn from other solutions. Finally, we tried to find a solution. Since a final report on your part should already be possible.

    Sorry – no private links can be seen by me – i’m still a Participant as you
    my avatar/nick gives you contact info – so feel free to email me.

    your topic is about easy-slider isn’t it?
    What icons ?
    On that page there are also other alb elements with edited settings but you like to have the sliders ?

    it is i think a nice and noob secure description.

    1) create a subfolder in your child-theme folder called shortcodes
    2) place this in your 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;
    }

    3) download the zip file and unzip it and upload all 4 files to that subfolder
    4) you can see what is new on sliders ( on easy slider see here :
    5) now you can choose what h tag you like to have and what font-size it got
    6) see on testpage that there is a h1 heading in one easy-slider slide.

    • This reply was modified 7 years, 6 months ago by Guenni007.
    in reply to: Fatal error adding Google Font #944208

    Or whereever (line xy) you have loaded the other font combine those rules to one:

    And by the way:

    The font added through this code can be found at the bottom of the list ( not sorted in alphabetical order )

    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';
    $fonts['Roboto'] = 'Roboto:300,400,700';
    $fonts['Open Sans'] = 'Open Sans:400,400i,600,600i,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';
    $fonts['Roboto'] = 'Roboto:300,400,700';
    $fonts['Open Sans'] = 'Open Sans:400,400i,600,600i,700,700i';
    return $fonts;
    }
    in reply to: Fatal error adding Google Font #944205

    if you add more than one font please do all fonts ( different names ) in one rule together or
    rename that function

    On that:

    add_filter( 'avf_google_heading_font', 'avia_add_custom_heading_font');
    function avia_add_custom_heading_font($fonts)
    {

    after add_filter – the first is the filter name and the second is function name
    as long as function names are corresponding – the name could be whatever you like so this will work too.

    A function needs to be on definition something unique. So if you have allready included another font in line 17 this goes to that error.
    And now your are a lucky guy – because on former WordPress Versions this causes a white screen of death.

    ________________

    Next Thing: What do you think should happen here – the first line is absolutely superfluous

    Same font – same font style

    $fonts[‘Didact Gothic’] = ‘Didact Gothic:400,700’;
    $fonts[‘Didact Gothic’] = ‘Didact Gothic:400,700,400italic,700italic’;

    so this might be enough to add:

    add_filter( 'avf_google_heading_font', 'avia_add_didact_gothic_heading_font');
    function avia_add_didact_gothic_heading_font($fonts)
    {
    $fonts['Didact Gothic'] = 'Didact Gothic:400,700,400italic,700italic';
    return $fonts;
    }
    
    add_filter( 'avf_google_content_font', 'avia_add_didact_gothic_content_font');
    function avia_add_didact_gothic_content_font($fonts)
    {
    $fonts['Didact Gothic'] = 'Didact Gothic:400,700,400italic,700italic';
    return $fonts;
    }

    you see if functions name are corresponding it will work
    The conflict comes from using the function name twice

Viewing 30 posts - 8,371 through 8,400 (of 11,707 total)