Forum Replies Created

Viewing 30 posts - 6,781 through 6,810 (of 11,794 total)
  • Author
    Posts
  • in reply to: Info : highlight searched items in search results #1114825

    The plugin still works well – you only had to set a rule for the class that will wrap the searched terms.
    f.e.

    .hilite {
      background: #fff67a !important; 
       color: #000 !important; 
    }

    PS : please always use here on board for code the code-block tag – it is easier to test for us by copy paste the codes inside – as you can do now with the code above.

    in head section you can try this in child-theme functions.php:

    add_action( 'wp_head', 'custom_tracking_script' );
    function custom_tracking_script() {
      ?>
    <!– Hotjar Tracking Code for http://www.digitalsuccessguide.com –>
      <script>
    	(function(h,o,t,j,a,r){
    	h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
    	h._hjSettings={hjid:1383965,hjsv:6};
    	a=o.getElementsByTagName('head')[0];
    	r=o.createElement('script');r.async=1;
    	r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
    	a.appendChild(r);
    	})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
      </script> 
      <?php
    }

    this is definitly the right way to embed but if the script isn’t loaded with warnings – you have to check the the code from hotjar

    vielleicht nehmt ihr das jameda blau mit Schatten:

    /***** Textauswahlfarben****/
    ::selection {
        background: #3cb8dd !important; 
        color: #fff !important; 
        text-shadow: 1px 1px 1px #333 
    }
    ::-moz-selection {
        background: #3cb8dd !important; 
        color: #fff !important; 
        text-shadow: 1px 1px 1px #333 
    }

    Die sind schon ausgewählt, nur habt ihr die gleichen Farben dafür wie die Hintergrundfarbe gewählt.
    Ich denke, dass es auch über das Enfold Optionen Menu geht, ich setze hierfür meist dies in die Quick css ein:

    /***** Textauswahlfarben****/
    ::selection {
        background: #E3212F !important; 
        color: #fff !important; 
        text-shadow: none ;
    }
    ::-moz-selection {
        background: #E3212F !important; 
        color: #fff !important; 
        text-shadow: none 
    }
    

    wählt dann euer Farben selbst aus
    (PS : ihr müsst denke ich nach dem Einsetzen des Codes die gemergeten Files löschen : Enfold-Child / Performance / Delete old CSS and JS files? )

    in reply to: Google font is not appearing on site #1114387

    so Aleo is not in the set of Enfold implemented choice.
    Go to the aleo page: https://fonts.google.com/specimen/Aleo

    if you click on “select this font” on top right position there will be on the bottom a slide out window.
    Click on that little dark gray slide out window. Now you see the implementing options.
    You can customize the import options f.e. if you like to have the bold (700) font-style.

    Standard: <link href="https://fonts.googleapis.com/css?family=Aleo&display=swap" rel="stylesheet">
    @import rule:
    @import url('https://fonts.googleapis.com/css?family=Aleo&display=swap');
    or with bold font style:
    @import url('https://fonts.googleapis.com/css?family=Aleo:400,700&display=swap');
    the last rule could be placed f.e. on your child-theme style.css. ( Dashboard / Appearance / Theme Editor )

    after that you can use the font for definitions in quick css as:
    font-family: 'Aleo', serif;
    so f.e.:

    h1 {
    font-family: 'Aleo', serif;
    }

    On GDPR Reasons it might be better to load the font locally.
    Enfold got some Options for that:
    All is said on f.e.: https://kriesi.at/documentation/enfold/typography/#register-additional-google-fonts-for-theme-options

    if you like to have the newly added font in Enfold Font Choice you can do that via a littel snippet for child-theme functions.php:

    add_filter( 'avf_google_heading_font',  'avia_add_heading_font');
    function avia_add_heading_font($fonts)
    {
    $fonts['Aleo'] = 'Aleo:400,700&display=swap';
    return $fonts;
    }
    
    add_filter( 'avf_available_google_fonts',  'avia_add_content_font');
    function avia_add_content_font($fonts)
    {
    $fonts['Aleo'] = 'Aleo:400,700&display=swap';
    return $fonts;
    }

    the font will be on the font list on the bottom of the lists.

    in reply to: Left menu not usable on iPad #1114385

    let the break when it changes to show the hamburger menu start earlier. more than 1024px

    And Ipad is 768px wide on portrait !
    so the media query code can’t grip.

    in reply to: Icons from your Demo ( http://www.entypo.com/ ) #1113219

    And the meaning of : Almost all of those Icons can be selected is now clear enough.
    in mathematics means almost : all but a finite number. ;)

    in reply to: Icons from your Demo ( http://www.entypo.com/ ) #1112894

    with the help of icomoon app i generated a enfold entypo demo :
    these are all used (implemented) icons from enfold.
    https://webers-testseite.de/enfold-entypo/
    a usefull thing is to know the code the icon has.

    in reply to: Icons from your Demo ( http://www.entypo.com/ ) #1112885

    Please Mods correct me if I’m wrong there, but this site is not a demo site of Enfold!
    The demos concerning Enfold can all be found at: http://kriesi.at/themes/enfold-overview/
    However, you can upload your own set using the Enfold options. The best way to do this is to go to the Fontello page.

    Very popular there is Font Awesome’s set, which via Fontello is not quite complete either, but can be used freely.

    in reply to: Limit excerpt in portfolio grid items #1112703

    on default the filter had to work –
    you can try this – maybe it works better:
    for your child-theme functions.php
    don’t see your site so you had to know your selector by yourself : but guess it is right:

    // Excerpt length
    function custom_grid_excerpt(){
    ?>
    <script>
    (function($){
    $(window).load(function(){
        $('.grid-entry').each(function() {
            $(".entry-content").text(function(index, currentText) {
                return currentText.substr(0, 20);
            });
        });
    });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_head', 'custom_grid_excerpt');

    for blog the part in the middle of that function will be:

        $('.post-entry').each(function() {
            $(".entry-content > p").text(function(index, currentText) {
                return currentText.substr(0, 20);
            });
        });

    I don’t see the page you’re referring to – but here in this code you can see in the comments what the font files are for:

    /* allerta-stencil-regular - latin */
    @font-face {
      font-family: 'Allerta Stencil';
      font-style: normal;
      font-weight: 400;
      src: url('../fonts/allerta-stencil-v9-latin-regular.eot'); /* IE9 Compat Modes */
      src: local('Allerta Stencil Regular'), local('AllertaStencil-Regular'),
           url('../fonts/allerta-stencil-v9-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
           url('../fonts/allerta-stencil-v9-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
           url('../fonts/allerta-stencil-v9-latin-regular.woff') format('woff'), /* Modern Browsers */
           url('../fonts/allerta-stencil-v9-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
           url('../fonts/allerta-stencil-v9-latin-regular.svg#AllertaStencil') format('svg'); /* Legacy iOS */
    }

    this will be the highest compatiblitiy .
    If you are only using : woff – supported devices are lower.

    in reply to: Selector for main nav drop-downs #1112589

    best would be to see your site to give advice.

    in reply to: Custom Box Shadow on Column not appearing #1112581

    i do not see your site but a box-shadow is always out of the box. So the containers have to have overflow : visible on that case
    Have a look if a parent-container got overflow: hidden.

    PS: didn’t the columns got that alb option on Border Tab: Column Box-Shadow

    PPS: if you got the custom-class on the flex-column: it is on that container itself so:

    .flex_column.amg-box-shadow {
        box-shadow: 0px 10px 40px -15px rgba(0,0,0,0.65);
    }

    if you gave the custom-class to the surrounding container ( on most cases a color-section) so all columns inside will get the box-shadow:

    .amg-box-shadow .flex_column {
        box-shadow: 0px 10px 40px -15px rgba(0,0,0,0.65);
    }

    try it first without !important

    in reply to: symbol box – own Icons #1112580

    thank you, but i don’t want to create a new (icon)Font, just want to put another ICON in the Top of the box.

    maybe this is a hint to do it: https://kriesi.at/support/topic/custom-icons-blank/#post-1111653

    On that special case i replaced all the existing icons “bell” of entypo-fontello with an uploaded svg file (png).
    The trick is to get rid of the “content” ( data icon of the entypo-fontello) and place a background-image to that container.

    But you can do this once for any entypo-fontello icon ( not to replace all bell icons ) but the method is similar to that method

    May i see your site link?

    in reply to: Code Block Element doesn't handle shortcodes properly #1112523

    Well with borlabs nick and link to borlabs page – i guess he is a developer for borlabs ;)

    can you try this in child-theme functions.php:

    function masonry_title_fix(){
    ?>
    <script>
    (function($){
        $(window).load(function() {
          $('a.av-masonry-entry.lightbox-added').each(function(){
                var lin = $(this).find('.av-masonry-entry-content').text();
                $(this).attr('title',lin);
            });
        });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'masonry_title_fix');

    but you had to choose to show on the gallery both : title and excerpt (that is the entered Caption)
    If you only want to have under the gallery images the title – but on lightbox the caption – just do this to quick css:

    .av-masonry-entry-content.entry-content {
        display: none !important;
    }

    see here: https://webers-testseite.de/gallery/

    in reply to: Adding New Social Profiles Crashes Site #1112282

    But the hint with the double function name can still be internalized, right?
    Especially because some of the snippets offered here often have the name: ava_custom_script

    in reply to: Adding New Social Profiles Crashes Site #1111904

    First : use the code tag to post code here on board. Then we can see if you are using correct Brackets, Quotationmarks etc. pp.
    And: it can be copy/pasted to proove or to insert it where you like.
    Second : A function name should be always unique in your functions.php ! : with your code on top, you violated that rule.
    (But on newer WP Versions the site should crash – it has some warnings on the bottom and does not save the changings – so ? )

    you can shorten your code above to:

    // Register new icon as a theme icon
    function avia_add_custom_icon($icons) {
    	$icons['yelp'] = array( 'font' =>'fontello', 'icon' => 'uf1e9');
    	$icons['tripadvisor'] = array( 'font' =>'fontello', 'icon' => 'uf262');
    return $icons;
    }
    add_filter('avf_default_icons','avia_add_custom_icon', 10, 1);
    
    // Add new icon as an option for social icons
    function avia_add_custom_social_icon($icons) {
    	$icons['Yelp'] = 'yelp';
    	$icons['TripAdvisor'] = 'TripAdvisor';
    return $icons;
    }
    add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);

    your font is named really : fontello ? – so you didn’t enter on top of fontello site a font-name?

    in reply to: Top bar icon alignment #1111853

    you do really mean vertically? The most wanted fix is to center them horizontally.

    in reply to: Custom Icons blank #1111653

    so a bit offtopic: these font-icons are nice to have and a quick way to style buttons etc. with icons. You are alway resticted to monchrom usage.
    So if you only have to work with some or – always the same icons you can replace the inserted icon from entypo-fontello by a png or svg – if you like.
    give a custom-class to the container where you want to replace the icons. —- in my case it is : spezial-icon
    CSS code is a bit different if you got chart or icons
    here i replace that little bell icon – you find the code to insert on hovering the icon on the select field. you will find for the bell: \ue83d
    erase the “u” in it. (by the way the backslash on mac keyboards is on shift+option+7 – on pc there is an extra key for it)
    you have to look what you like to replace

    
    .spezial-icon .av-icon-char[data-av_icon="\e83d"]::before, 
    .spezial-icon .iconlist-char[data-av_icon="\e83d"]::before,
    .spezial-icon .iconbox_icon[data-av_icon="\e83d"]::before {
        content: " ";
        display: inline-flex;
        width: 1.4em;
        height: 1.4em;
        background-size: contain;
        background-repeat: no-repeat;
        background-image: url("//the-path-to-your-image/image.svg");
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50% , -50%);
    }
    
    .spezial-icon .av-icon-char[data-av_icon="/e83d"]::before {
        position: relative;
        top: 0 ;
        left: 0 ;
        transform: none;
    }

    the width and height is set by relative values to the font – so it is synchonized with the font-size of the entypo-fontello font icon.
    Play a bit with these values.

    • This reply was modified 6 years, 5 months ago by Guenni007.
    in reply to: Phone icon requires 'Always load all elements' #1111651

    create a post with the needed elements – which you do not link in your menu – maybe you exclude this post from search.
    Or if you know all of the elements you used – activate them manually

    wäre auch für mich eine große Zeitersparnis.
    Zudem glaube ich, dass es in der Tat aus SEO Gründen wirklich gut wäre hier eine abgestufte Heading Hierarchie zu ermöglichen.

    in reply to: Custom Icons blank #1111555

    just one moment – i had to proove the css
    edit: sorry – is probably too complex to explain here
    you can delete the entry

    no – the code is as i expected it. And the sequence there is like mentioned above.
    i only adjusted the icon-list code to that sequence like in icon-box code and erased that line : $this->iconlist_styling = '';
    For me, this is an overdetermination like mentioned here: https://kriesi.at/support/topic/icon-list-element-issue/#post-1085579

    _______
    But I’m really not a good coder now. I can only compare the source codes and see the differences and logical relationships. Since the icon box was running – I just looked what the difference was to Icon-list in the queries.
    There I saw that just the order is different within function shortcode_handler

    by the way – don’t know if it is important:
    on my customization i now changed back the position of initialisation to enfold former sequence.
    then it works as expected.

    these lines here:

    $this->icon_html_styling = '';
    $this->title_styling = '';
    $this->content_styling = '';
    $this->content_class = '';
    $this->title_class = '';
    $this->iconlist_styling = '';

    comes after the
    extract( shortcode_atts( array( …

    on iconboxes too.

    see here my comment and the discussion :
    https://kriesi.at/support/topic/icon-list-element-issue/#post-1080940
    and
    https://kriesi.at/support/topic/icon-list-element-issue/#post-1085579

    after this 4.5.6 and 4.5.7 comes with both lines (and the missing ones)
    having both in the code comes to conflict with my customizations. Don’t know why

    can you please download again the new file from this page: https://webers-testseite.de/edited-enfold-alb-elements/#icons

    not my code was wrong – ;) there were changings in 4.5.5 to 4.5.7 which results in that fault.

    in 4.5.5. there is not :
    $this->iconlist_styling = ”;
    and that:
    $this->iconlist_styling = $iconlist_styling == ‘av-iconlist-small’ ? “av-iconlist-small” : “av-iconlist-big”;

    there was another post here where i’m asking if it is not doubled here.
    if like in the 4.5.7 it is in that way. My edited alb with this comes into conflict.
    if i erase the first line: $this->iconlist_styling = ''; it works as expected before.

    this seems to come to no conflict with default h4 (fixed) tag but
    for my inserted custom title tag – it seems to be important.

    try the new file: https://pastebin.com/dl/ET7Egx2p

    some words to that plugin. Seems to be a good one. But:
    ask the developer if it is compatible with Enfold – or search the internet for some hints if it is working with enfold.
    This plugin – does it work with its own lightbox script. Can you use both lightbox (magnific popup from Dmitry Semenov) and that of your plugin?
    Etc pp.

    ;)

    https://enviragallery.com/docs/enfold-theme-enviras-automatic-gallery/

Viewing 30 posts - 6,781 through 6,810 (of 11,794 total)