Forum Replies Created

Viewing 30 posts - 2,761 through 2,790 (of 11,513 total)
  • Author
    Posts
  • in reply to: Host Web Font yourself … some info #1364659

    so my resulting recommendation is:

    • upload the normal font via Custom Font Manager –
    • upload the corresponding variable font manually via ftp and
    • use a manually set @import rule.

    on Quick css set the css in the above manner – with the @supports option.
    f.e. on that heavy weight champion : roboto flex:

    @font-face {
      src: url('/wp-content/uploads/avia_fonts/type_fonts/RobotoFlex-variable.woff2') format('woff2-variations');
      font-family:'Roboto Flex';
      font-style: normal;
    }
    in reply to: Host Web Font yourself … some info #1364658

    contrary to my expectations, a variable font also seems to be uploadable through the Custom Font Manager.

    The resulting enfold @import rule, however, does not comply with the recommendations for such fonts. So you should probably specify the font-weights for variable fonts in a way that min and max values are included. So e.g. for Quicksand this would be :

    @font-face {
        font-family: 'Quicksand Variable';
        font-weight: 200 700;
    	src: url('../fonts/Quicksand-VariableFont_wght.woff2') format('woff2');
        font-display: swap
    }

    however, it is integrated as:

    @font-face {
        font-family: 'Quicksand Variable'; 
        src: url('../fonts/Quicksand-VariableFont_wght.woff2') format('woff2');
        font-weight: 400;
        font-style: normal;
        font-display: swap
    }

    i don’t know if that will end in the wanted Usage of the fonts.

    _
    so if you try to use variable fonts :
    i recommend to upload the variable font separatly from the corresponding normal font each in an extra zip file .
    so you will have then in Custom Font Manager:

    because you will then have the possiblilty to set in your quick css a fall-back option if the browser does not support variable fonts:
    for example:

    #top #wrap_all .av-special-heading-tag {
        font-family: 'quicksand', sans-serif;
        font-weight: 400;
    }
    
    @supports (font-variation-settings: normal) {
        #top #wrap_all .av-special-heading-tag {
          font-family: 'quicksand-variable', sans-serif;
          font-variation-settings: "wght" 525;
        }
    }

    you see there are other defintions to set the css rules for variable fonts.
    ____________

    By the way, if you want to know what the variable font brings to the table (layout features), you can read about it under : https://wakamaifondue.com by uploading the variable font file via drag&drop to that circle.

    Not All Variable Fonts have all layout options: you can see on : https://v-fonts.com/
    that there are big differences ( see Roboto – or Helvetica Now )

    in reply to: "Hi, xyz" #1364491

    – just to prevent misunderstandings – like you, I’m a participant here – not a moderator – I do this because I’ve had a high learning effect myself by asking questions and solving problems. If you go back in my “Enfold Vitae”, I too occasionally asked simple questions. However, I was always grateful when the moderators or sometimes even the developers of the theme explained why something works the way it does – and even better where in the source code to look for the solution. so furthermore I wish you much success for your wordpress project.

    no – not now – sorry

    in reply to: "Hi, xyz" #1364470

    well, if the questions are asked precisely, you can also answer precisely. Unfortunately, it is not clear from your question where the hi, xyz appears. A screenshot would help. ( on my installation there is: Howdy, nickname )

    What is your answer to the question: “What happens if you log out? ;)” Do you see any topbar then?
    so only logged in users see that topbar!

    _____

    Has reading and learning gone out of fashion?

    PS: Precise because I follow the old principle:
    “Don’t give a starving man a fish. Give him your fishing rod.”

    of course you can always chew code snippets here. and that would be it – but does that help you to find your own solutions for the next problem?

    just put his code name it f.e. prg_patterns.php therefore you had to start that codesnippet of him by a leading <?php
    – and upload it to your child-theme/shortcodes folder.
    if you haven’t allready this littel snippet in your child-theme functions.php – insert it :

    function avia_include_shortcode_template($paths){
      $template_url = get_stylesheet_directory();
          array_unshift($paths, $template_url.'/shortcodes/');
      return $paths;
    }
    add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1);

    see doku to have own alb elements

    see example in the footer area with links to impressum and datenschutz

    https://enfold.webers-webdesign.de/impressum/#footer

    i just edited his code a bit to have on form element classes to style the form output better:

    /* form output */
    ob_start();
    ?>
    	<?php if( $atts['newtab'] == 'true' ): ?>
    	<form class="prg newtab" method="POST" target="_blank">
    	<?php else: ?>
    	<form class="prg" method="POST">
    	<?php endif; ?>
    		<button class="noLink" type="submit" name="prgpattern" value="<?php echo $redirect_slug; ?>"><?php echo $atts['title']; ?></button>
    	</form>
    <?php
    return ob_get_clean();

    then i can set for those forms:

    #top form.prg {
      display: inline-block;
      margin-bottom: 0;
    }
    
    #top form.prg .noLink {
      border: none;
      font-size: inherit;
      color: inherit;
      background-color: transparent;
    }
    
    #top form.prg .noLink:hover {
      color: gold;
      cursor: pointer;
      transition: all 0.5s ease
    }

    by the way – this page here – https://tobier.de/prg-pattern-in-wordpress-implementieren/ works so far for manually set links.

    but it is interesting to see how it could be possible to deliberately mark links in such a way that they run through the PRG pattern (Post, Redirect, Get).
    Because yes – everyone has somehow in his footer area links that are actually only there to meet legal requirements.

    hm – first of all – as far as i know the bots of the crawlers will not follow submit buttons – thats the trick on prg patterns. So a search form like yours would not be affected by the “linkjuice” issue anyway.

    Is that an Enfold Search ALB element you put on the page? Because I don’t get a “link element” there in my DOM anyway:

    (click to enlarge the image)

    And even the search results beneath that form – do not have a rel : nofollow

    So now my question regarding your Enfold version in which this occurs.

    Edit: Ok now i see – this is the magnifier glass on top besides the navigation …
    It is only that link that opens the search input form – But doesn’t it even make sense to set a nofollow at this anchor for SEO reasons?

    in reply to: "Hi, xyz" #1364460

    What happens if you log out? ;)

    But even when logged in, you can turn off this toolbar ( which stretches across the entire width ) under your user account .
    This should make it easier for you to access important editor functions ( see left : new pages / posts / etc ). However, this toolbar has a certain height, and this is sometimes not included in the distances to be set. Especially if you want to adjust the padding-top of #Main on mobile devices it is advisable to disable this toolbar temporarily.

    In principle, only the php content would have to be included, and the links would have to be assigned the class prg, or do I understand it wrong? A hidden redirect form could be placed in a footer widget area or in a hidden header widget area.

    by the way i do not see on my istallations – that an internal Link got rel nofollow neither on my pages nor on search results ( ajax or page ).

    in reply to: Upload Font #1364390

    did you see that sticky post: https://kriesi.at/support/topic/loading-google-fonts-locally-for-gdpr-compliance/
    and with more ( – maybe too much ) information on: https://kriesi.at/support/topic/host-web-font-yourself-some-info/
    do you want to upload all font-weights? (300, 400, 600, 700) and italic font-styles as well?

    in reply to: jquery – uncaught type error #1364281

    https://kriesi.at/support/topic/jquery-uncaught-type-error/#post-1363477 the script is linked to the not minified script.

    in reply to: Host Web Font yourself … some info #1364199

    Sorry didn’t see your topic. Your post is just a day before mine there. I have overlooked. PS: Try the Transfonter.

    in reply to: Google Fonts im Theme switch off #1364198

    bitte – ich möchte ungern zweimal das gleiche schreiben müssen. Daher lies den Link durch.

    Für dich sind jetzt nur noch die beiden unteren Bilder relevant.

    Hast du eines der Code Snippets im child-theme functions.php eingebunden?
    z.B

    function my_output_google_webfonts_script( $activate ){
      return false;
    }
    add_filter( 'avf_output_google_webfonts_script', 'my_output_google_webfonts_script', 10, 1 );
    in reply to: Google Fonts im Theme switch off #1364185

    sorry – dann musst du warten bis ein Mod sich damit beschäftigt.
    Private Content ist für Participants natürlich nicht einsehbar.

    in reply to: Google Fonts im Theme switch off #1364180

    hier lesen (lange ausführliche Version) : https://kriesi.at/support/topic/host-web-font-yourself-some-info/
    kannst aber auch den kurzen Weg nehmen und : Downloaden
    ( hier habe ich aus performance Gründen nur ttf , woff und woff2 drin.)
    das zip file lädst du dann über Import/Export : Custom Font Manager hoch

    in reply to: Important change request for avia_google_maps_api.js! #1364163

    By the way : Borlabs provides a free download around this topic.
    https://de.borlabs.io/borlabs-font-blocker/

    but i had to test now – However, I’m afraid that if I allow Maps, it will allow the fonts after all. Which is an academic question whether it makes sense to block the font and allow the other maps functions.

    in reply to: My website tagline is incorrect. #1364152

    I’m afraid then you’ll have to allow one of the mods here access to your wordpress.
    You can leave the access data in the private content field.

    in reply to: Remove Left & Right Cell Padding For Grid Row ONLY on Mobile #1364139

    be more precise in your description. Describe the layout in a little more detail. It is hard to speculate what was set as the basis to this screenshot.
    So this is a grid-row? with only one cell? In it a 1/1 container? etc. pp

    btw:
    why don’t you use relative paddiing values – your are not forced to set px values. Try f.e.: 10%
    so you got 150px padding at 1500px container width – and 30px on 300px container width.

    in reply to: My website tagline is incorrect. #1364137

    on Settingspage of Yoast SEO you can set it for the whole site

    – or even better do it on each page separately.
    Open your homepage in editor mode – below the Layout there will be for each page/post a yoast seo section ( if not see on top of that window there is a slide out (screen options) click – there you can mark “Yoast SEO”
    there you can insert a SEO Title and a meta description

    in reply to: Horizontal gallery enlarge/lightbox on click #1363963

    Sometimes you can’t see the forest for the trees. I also tried scripting it through jQuery first and then generating a custom Magnific Popup for it.
    It was quite easy due to the class (av-active-gal-item) located only at the highlighted element, to open the lightbox using the whole area of the image. Since the corresponding button (icon) was in the pseudo-container, it is easy to hide it in this case.

    off Topic: can you have a look on : https://enfold.webers-webdesign.de/smudgedesign/#horizontal-gallery
    your initial topic is closed – so i could not inform you about my solution.

    in reply to: Horizontal gallery enlarge/lightbox on click #1363946

    try this in quick css
    (if you only like to have that on some horizontal galleries – then you had to give to that alb element a custom-class – and adjust the selectors.)

    the trick is to have on the active item the anchor at whole container width and height. So the active click region will be the full image. The before content in this case will be not seen.

    .av-horizontal-gallery {
      overflow: visible !important
    }
    
    #top .av-horizontal-gallery-wrap.av-active-gal-item {
      box-shadow: 0px 0px 10px #aaa
    }
    
    #top .av-horizontal-gallery-wrap.av-active-gal-item .av-horizontal-gallery-link {
      position: absolute;
      top: 0;
      left: 0;
      display: block;
      height: 100%;
      width: 100%;
      transform: scale(1);
    }
    
    .av-horizontal-gallery-wrap.av-active-gal-item:hover .av-horizontal-gallery-link {
      opacity: 0;
      transition: none !important;
    }
    
    #top .av-horizontal-gallery-wrap.av-active-gal-item .av-horizontal-gallery-link:before {
      content: " ";
      position: relative;
      top: 0;
      left: 0;
      display: block;
      height: 100%;
      width: 100%;
    }

    see on: https://enfold.webers-webdesign.de/smudgedesign/#horizontal-gallery

    i haven’t tested yet if it works with touch on mobile devices …

    in reply to: enfold google fonts deaktivieren #1363873

    Preliminary remark : one of these snippets above had to be in your child-theme functions.php.
    ( i do not know if it is enough only to choose custom fonts to suppress google font support for enfold )

    first i think the Enfold Custom Font Manager did not support variable fonts. – unfortunately.
    i guess you have to load them manually via @font-face.

    second – hope you have choosen your Font Manager fonts by checking them at the bottom of that drop-down list. “Uploaded Fonts”

    third – the advanced layerslider has its own google support. Check please on Advanced Layerslider Settings – if google fonts are deactivated.

    next: where did you download that font-files

    may i see that concerning website – to inspect what could be the reason.

    in reply to: Bullet point customization #1363780

    Aber viel einfacher als ein kleines css in das quick css zu setzen geht es wirklich nicht. oder?

    in reply to: Duplicator "Error 500 – Internal server error" #1363777

    kannst du beschreiben wie? Es ist schon interessant dann zu wissen was es letztendlich war.

    in reply to: hamburger menu, desktop and mobile #1363774

    you can insert images to menus by opening on dashboard the menus.
    Choose your main menu and insert again on top another home item – open that item with that little arrow besides each item and insert on label :
    <img class="burger-logo avia_image" src="/wp-content/uploads/logo.png" />
    the classes here are not necessary but makes it easier to select the item later.

    to have this “menu logo ” not in the normal desktop menu view you can do now:

    #avia-menu .only-burger  {
      display: none !important;
    }

    see on active burger on : https://webers-testseite.de/

    in reply to: menu at the bottom #1363694

    do not forget to colorize the active burger:

    .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:#a81010;
    }
    in reply to: menu at the bottom #1363689

    if you like to have the burger without distance to the bottom set the padding-bottom to zero:

    .av-burger-menu-main.menu-item-avia-special {
      position: fixed !important;
      bottom: 0;
      left: 50%;
      -webkit-transform: translateX(-50%);
      transform: translateX(-50%);
      margin-bottom: -3px;
      padding: 10px 10px 0;
      z-index: 1001 !important;
    }
Viewing 30 posts - 2,761 through 2,790 (of 11,513 total)