Forum Replies Created

Viewing 30 posts - 5,371 through 5,400 (of 11,491 total)
  • Author
    Posts
  • kannst du mal das hier ausprobieren: https://kriesi.at/documentation/enfold/icon/#troubleshoot
    Meist werden die Hoster wohl eine Apache Server haben, deshalb wäre wohl dann die erste Lösung angebracht.
    die .htaccess Datei ( mit dem . vor dem namen und ohne Dateityp) befindet sich im Root Verzeichnis deiner Installation.
    Die Ftp Programme zeigen nicht immer in den Standardeinstellungen diese versteckten Dateien an. Das kann man in den Einstellungen aktivieren. ( bei filezilla ist das über: Server/Auflistung versteckter Dateien erzwingen).
    Normalerweise sieht so eine Standard .htaccess Datei in etwa so aus:

    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # END WordPress

    da fügst du dann bitte nichts dazwischen ein sondern ausserhalb dieser Anweisung gerne auch drüber:

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

    bitte richtig verstehen nur als beispiel , was bei dir also drin steht könnte anders aussehen – bitte nicht verändern – nur den Code hinzufügen

    in reply to: Transition speed in slider ALB. #1208864

    thanks Ismael -but it wasn’t so much a question of whether it would work this way, but rather if it would be a useful setting that could be included in one of the next updates. The best way to do this is to have an input array in the sliders.
    I can work it out now – but then I would have to consider repeating it every time I update.

    in reply to: JS Anweisung im head platzieren #1208211

    Versuche mal das hier in deiner Child-Thema functions.php:
    Pass nur auf, deine Anführungszeichen waren nicht geeignet zur Übernahme in die functions

    function add_script_to_head(){
    ?>
    	<script type="module" src="XXXXXX"></script>
    <?php
    }
    add_action('wp_head', 'add_script_to_head');
    in reply to: Transition speed in slider ALB. #1208095

    i will try that !
    how about the influence on transitionSpeed via child-theme functions.php ?
    The animation method and intervall can be influenced the way above. – why not the speed

    in reply to: Theme is shaking a lot in Safari #1207932

    :lol – btw: this is only seen if you use the high resolution magic mouse. –
    in that moment my magic mouse is not charged – so i use a logitech wheel mouse – no effect is seen ???
    however – the workaround on top is a good solution –
    i change now the setting for the testpage.

    • This reply was modified 5 years, 2 months ago by Guenni007.
    in reply to: i need to have social icons in footer not in socket #1207824

    try:

    #footer .social_bookmarks {
        display: inline-flex;
    }

    and if you like to get rid of the border and colorize the icons to white:

    #top #footer .social_bookmarks li {
        border-right: none !important;
    }
    
    #top #footer .social_bookmarks li a {
        color: #fff !important;
    }
    in reply to: enfold single page copy between enfold websites #1207803

    Enable the debug mode for Enfold: https://kriesi.at/documentation/enfold/intro-to-layout-builder/#debug-mode

    After that you got under each page/post generated with the Advanced Layout Builder an additional field with all the shortcodes enfold generates for the page content.

    You can copy/paste the whole thing and tranfer to another enfold installation – same way : create that new page – goto advanced layout builder and paste that code to the analog field – save page.
    _____________
    Or for newest enfold:
    save that page as template ( give to it a unique name ).
    Go to Enfold Options: Import/Export – Export Layout Builder Templates –
    This file could be imported on the other installation. You will then have under templates these saved pages.

    Thats why i asked for the layout – it is possible to change the headings tag on all these without having edited ALB elements.
    but i had to know the selectors to give advice.

    • This reply was modified 5 years, 2 months ago by Guenni007.
    in reply to: Home page (very) long to load #1207630

    A lot of people use the 100% jpg option which is not necessary.
    On Photoshop i use 35 til 55% jpgs – depends on the motive. For contrast rich photos the 35% is often ok. for monochromatique or fine gradients ( like skin tones ) there must be a bit more.

    Are you familiar with using developer tools?
    Then please have a look what classes you do have on article

    On the article we have the layout type
    multi-big
    single-small
    single-big
    blog-grid
    bloglist-simple
    bloglist-compact
    bloglist-excerpt

    in reply to: H1 Tag on Pages #1207540

    Maybe it’s because it’s classic editor that I don’t see the special heading area?

    ;)

    These Headings are made by Classic Editor like … and not via Advanced Layout Builder (ALB) – these settings for Headings only exist if you are using the Advanced Layout Builder

    in reply to: Theme is shaking a lot in Safari #1207474

    I can’t see your page – but I guess your background images are set to “cover” and the “background attachment” is set to fixed.
    There are known problems with the background image display with Safari on Desktop-Macs.

    to the mods: The best way to see the effect is to quickly switch from scrolling up and down on such backgrounds.

    For mobile phones these wallpapers are set to : Scroll anyway.

    But since the position: fixed for divs is not as buggy as the background-attachment: fixed is the trick to replace exactly that.

    So try for color-sections : give a custom-class to your color-section f.e.: bg-fixed

    then place this code to your quick css:

    .bg-fixed {
      clip-path: inset(0 0 0 0);
      background-size: 0 !important;
    }
    
    .bg-fixed:before {
      background-image: inherit !important;
      background-repeat: no-repeat;
      content: "";
      position: fixed;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      background-size: cover;  /*** depends on your wanted settings ***/
      will-change: transform;
    }

    see here: https://webers-testseite.de/background-fixed/

    by the way this workaround for background-images of flex_cells works too.
    but it might be better to style it a bit different – f.e. background-size: contain

    See on that test-page home: https://webers-testseite.de
    I deleted on that home page the background-size: 0px for the attachment fixed image – so you see both images !
    the jittering one is the background-attachment: fixed !
    Later i will reinsert that rule to have a non buggy home page again.

    • This reply was modified 5 years, 2 months ago by Guenni007.
    in reply to: Home page (very) long to load #1207345

    Well first on my end it works a little bit faster. but your slider has images with aprox 500kb and some 900kb – allthough they have smaller dimensions (1200px x 800px)
    see here if these are optimised for web f.e. with photoshop:
    https://webers-testseite.de/sblanc/

    Do you realy see a difference ?

    See here main reasons for it: https://gtmetrix.com/reports/www.sblanc.com/Fub9rGGG

    • This reply was modified 5 years, 2 months ago by Guenni007.
    in reply to: H1 Tag on Pages #1207204

    on your page : https://www.moneyprodigy.com/allowance-for-kids/
    the whole content seems to be part of one post / portfolio made with classic editor ( articles gave the hint here that it is content of a post)

    These Headings are made by Classic Editor like

    and not via Advanced Layout Builder (ALB) – these settings for Headings only exist if you are using the Advanced Layout Builder Element : Headings
    like you did on your homepage with: “Money Prodigy Manifesto” etc.
    by the way i wouldn’t use more than ONE h1 per page.
    Maybe i’m oldfashioned and the rule is a : “The Pre HTML5 Single <h1> Tag Rule”

    in reply to: No Options to change Heading Font Size for Mobile #1207050

    these settings are only seen if you choose the modern style!

    if you like to have the look alike of standard style to modern headings ( bold and with border to the right )
    Take the modern left style and give to those headings a custom-class f.e: standardlook

    .standardlook .av-special-heading-tag {
      font-weight: bold !important;
      float:left !important;
    }
    
    body .av-special-heading.standardlook .special-heading-border {
        display: block;
    }
    
    .standardlook .special-heading-inner-border {
        opacity: 0.3;
        filter: alpha(opacity=30);
    }

    the default value of opacity is 0.15 (15%) but this seems to be nearby invisibility. ;)

    in reply to: Secundary Menu – no modal possible #1206737

    Ah i see now – add_action(‘wp_footer’, ‘add_lightbox_effect’…

    well these are basic includings in WordPress. ( Hooks and Filters)
    add_action or apply_filters. These are mostly related to the theme or also to WordPress implemented possibilities to change or add settings.
    If you browse Enfold folder content for do_action you can find the hooks you can “hook” into to execute code.
    wp_footer() , wp_head(), wp_loaded() etc. are such points set by WordPress where you can add code.
    And that’s exactly what happens in the case we add a script in the DOM using child-theme functions.php.

    The second part in the statement:
    add_action('wp_footer', 'popup_from_avia2_menu');
    is only the function name – you can write anything you want there – some characters are not allowed ( I avoid umlauts in the german alphabet) or a hyphen ( therefore the underscores ) is not allowed to separate words there.
    This is the repetition of the function name you gave above:
    function popup_from_avia2_menu() {

    have a look to footer.php of enfold at the bottom

    
    	/* Always have wp_footer() just before the closing </body>
    	 * tag of your theme, or you will break many plugins, which
    	 * generally use this hook to reference JavaScript files.
    	 */
    
    wp_footer( );
    ?>
    </body>
    </html>

    _______
    So the functions name is arbitrary. But it should always be used once in the whole code.
    Many of the small snippets here by the moderators are called ava_custom_script or ava_custom_script_mod by default.
    Then using more than one of these snippets would lead to an error message. So I try to give very detailed names that give you a hint what the function does. : popup_from_avia2_menu
    This menu on top is stored in the DOM with the ID: avia2-menu.
    A popup should open from there.

    in reply to: Secundary Menu – no modal possible #1206658

    that function reacts on a given custom class: inline-popups
    every anchor link following that class reacts in that manner.

    But sometimes you have to combine different scripts.
    in this case a class set by:
    mainClass: 'mfp-3d-unfold',
    defines the way a popup opens and closes. – maybe a removalDelay: 500, is set in addition.
    By the way, it’s worth reading through the API of magnific Popup ;)

    in reply to: Secundary Menu – no modal possible #1206214

    Well – as far as i can see it works on : https://gti.wittekopf.net/ with contact.
    that code here: https://kriesi.at/support/topic/secundary-menu-no-modal-possible/#post-1206071 only styles the iframe dimension ( substitute code on the functions. file to: )

    function popup_from_avia2_menu() { 
    ?>
    <script type="text/javascript">
    (function($){
      $(document).ready(function() {
        $('.menu2iframe').magnificPopup({
        	delegate: 'a',
            type: 'iframe',
            iframe: {
                markup: '<style>.mfp-iframe-holder .mfp-content {max-width: 1310px;height:90vh} </style>'+ 
                        '<div class="mfp-iframe-scaler" >'+
                        '<div class="mfp-close"></div>'+
                        '<iframe class="mfp-iframe" frameborder="0" allowfullscreen></iframe>'+
                        '</div></div>'
            }
        });
      });
    })(jQuery);
    </script>
    <?php 
    }
    add_action('wp_footer', 'popup_from_avia2_menu');

    and the other thing in quick css only for hover color and dimension on close button

    in reply to: Secundary Menu – no modal possible #1206071

    maybe you go and scale the iframe in the code above to:
    these are your settings of width from enfold container.

    {max-width: 1310px;height:90vh}
    

    and adjust the hover state of iframe close button

    .mfp-arrow:hover, .mfp-close:hover {
      background-color: #7ec346;
    }
    .mfp-image-holder .mfp-close, 
    .mfp-iframe-holder .mfp-close {
      right: 0;
    }
    in reply to: Secundary Menu – no modal possible #1205963

    On top of that window – there is a flyout menu: “Screen Options” press that button.

    There you are: Choose what you like to have on Menu Options.

    • This reply was modified 5 years, 2 months ago by Guenni007.
    in reply to: Secundary Menu – no modal possible #1205935

    PS : you do not need to have the custom markup – you can use Enfold Predefined Markup. Just get rid of that part:

    function popup_from_avia2_menu() { 
    ?>
    <script type="text/javascript">
    (function($){
      $(document).ready(function() {
        $('.menu2iframe').magnificPopup({
        	delegate: 'a',
            type: 'iframe',
        });
      });
    })(jQuery);
    </script>
    <?php 
    }
    add_action('wp_footer', 'popup_from_avia2_menu');
    in reply to: Secundary Menu – no modal possible #1205928

    you can influence the magnific popup to a given anchor link
    just create your normal top-menu ( avia2-menu) – do not add that addendum ?iframe=true

    give to the list-item you like to open in an iframe a custom class in the menu ( f.e.: menu2iframe )

    add this to your child-theme functions.php:

    function popup_from_avia2_menu() { 
    ?>
    <script type="text/javascript">
    (function($){
      $(document).ready(function() {
        $('.menu2iframe').magnificPopup({
        	delegate: 'a',
            type: 'iframe',
            iframe: {
                markup: '<style>.mfp-iframe-holder .mfp-content {max-width: 80vw;height:80vh}</style>'+ 
                        '<div class="mfp-iframe-scaler" >'+
                        '<div class="mfp-close"></div>'+
                        '<iframe class="mfp-iframe" frameborder="0" allowfullscreen></iframe>'+
                        '</div></div>'
            }
        });
      });
    })(jQuery);
    </script>
    <?php 
    }
    add_action('wp_footer', 'popup_from_avia2_menu');

    if you like – style your own markup
    see here an example page ( right top menu – privacy): https://webers-testseite.de/pureinstall/

    in reply to: Graceful transition for pop up modals #1205887

    Enfold uses the lightbox of Magnific Popup from : Dmitry Semenov

    on its api you can see how to get some animation on it: https://dimsemenov.com/plugins/magnific-popup/documentation.html#animation

    in general the animations are set there via custom-class.
    Here you have some examples on animation: https://codepen.io/dimsemenov/pen/GAIkt

    the only thing is that you had to transform the given css rules of a animation to your quick.css
    f.e. i like the mfp-3d-unfold:

    /* 
    ====== 3d unfold ======
    */
    
    .mfp-3d-unfold {
      /* start state */
      /* animate in */
      /* animate out */
    }
    
    .mfp-3d-unfold .mfp-content {
      perspective: 2000px;
    }
    .mfp-3d-unfold .mfp-with-anim {
      opacity: 0;
      transition: all 0.3s ease-in-out;
      transform-style: preserve-3d;
      transform: rotateY(-60deg);
    }
    .mfp-3d-unfold.mfp-bg {
      opacity: 0;
      transition: all 0.5s;
    }
    .mfp-3d-unfold.mfp-ready .mfp-with-anim {
      opacity: 1;
      transform: rotateY(0deg);
    }
    .mfp-3d-unfold.mfp-ready.mfp-bg {
      opacity: 0.8;
    }
    .mfp-3d-unfold.mfp-removing .mfp-with-anim {
      transform: rotateY(60deg);
      opacity: 0;
    }
    .mfp-3d-unfold.mfp-removing.mfp-bg {
      opacity: 0;
    }

    And is set via child-theme functions.php by:

    function add_lightbox_effect() { 
    ?>
    <script type="text/javascript">
    (function($) {
    $(window).load(function(){
      $('.inline-popups').magnificPopup({
        delegate: 'a',
        removalDelay: 500,
        mainClass: 'mfp-3d-unfold',
        type:'inline',
        midClick: true,
      }); 
      $(document).on('click', '.popup-modal-dismiss', function (e) {  
        $.magnificPopup.close();
      });
    });
    })(jQuery);
    </script>
    <?php }
    add_action('wp_footer', 'add_lightbox_effect');

    the popup-modal-dismiss thing is not needed for that – but if there is a button to go to f.e. an anchor link on the page – it closes the popup with that class.

    you see that for that code a custom-class is set to a parent of the anchor link : inline-popups
    but change it to whatever you like.

    See here an example : https://webers-testseite.de/pureinstall/info/

    in reply to: filter for display menu as icon or text ? #1205753

    yes – so i use it this way:

    function custom_burger_menu_active( $active, $context ){
    	if( is_page(3) ) {
    		return true;
    	}
    	return $active;
    }
    add_filter('avf_burger_menu_active', 'custom_burger_menu_active', 10, 2 );

    can be closed

    in reply to: Getting two burger menus on mid-sized screens #1205323

    i am afraid that your plan to replace the logo with a pixel gif and display a background image instead ( with fake input fields ) will not be successful.
    There is something conceptually wrong!

    Hm or is it a different page you like to edit?
    https://tbwp.hostworks.com/

    You have to come clean with yourself somehow, where you would like to have what information.
    So what about your search fields? Is there any chance the top header is a position you could live with.

    In principle, you could also place a widget in the place where these fields are planned now.
    And have the burger for the main navigation on the left.
    You should clarify this for you beforehand.

    This will solve the double Hamburger for your setting – but the hamburger on the right top is then over the “fake-search-fields”

    
    .av-burger-menu-main.menu-item-avia-special {
      background: #3a5f93;
    }
    @media only screen and (max-width: 1200px) {
      .container.av-logo-container .avia-menu {
        display: none !important;
      }
    }
    @media only screen and (max-width: 989px) {
      #top #header #header_main_alternate {
        display: block !important;
      }
    }
    @media only screen and (max-width: 767px) {
      #top #header #header_main_alternate {
        display: none !important;
      }
      .container.av-logo-container .avia-menu {
        display: block !important;
      }
    }

    next way : https://webers-testseite.de/pureinstall/brodes/
    maybe this is an option too?

    in reply to: Same height column does not work #1205186

    First of all – you gave the box-shadow to the text-block section? Why don’t you use the option on column – there is allready an option for that.

    here is my setting: https://webers-testseite.de/pureinstall/nsgcouk/
    put only these 1/3 columns in one color-section
    give a custom class or ID to the color-section ( i did with ID: flex-section )
    do not choose the equal height option ! ( we make that via flex modell )
    on the right column the text-block : i put the text in a span with custom-class

    then the css for quick css is:

    #flex-section .entry-content-wrapper {
      display: flex;
      flex-flow: row wrap;
      justify-content: space-around;
      align-items: stretch;
    }
    #flex-section .entry-content-wrapper::before, 
    #flex-section .entry-content-wrapper::after {
      display: none;
    }
    #flex-section .entry-content-wrapper .flex_column {
      flex: 1 1 auto;
      min-width: 280px;
      margin-bottom: 50px;
    }
    #flex-section .avia_textblock span {
        display: flex;
    }
    @media only screen and (max-width: 1054px ) {
      #flex-section .entry-content-wrapper .flex_column:nth-of-type(1) {order: 1;}
      #flex-section .entry-content-wrapper .flex_column:nth-of-type(2) {order: 3;}
      #flex-section .entry-content-wrapper .flex_column:nth-of-type(3) {order: 2;}
    }
    

    the flex: 1 1 auto; only makes sence if you reorder like in my example the columns.
    if you do not like to have the second under the two other columns in responsive case change it to: flex: 0 1 auto;

    • This reply was modified 5 years, 2 months ago by Guenni007.

    But as i said the other way to add this in additon to have a nice startpoint for the fixed element:

    Edit
    No the other way is much better – test on your Phone what happens.

    `@media only screen and (max-width: 767px) {
    .page-id-1048 #av_section_1 .flex_column:nth-of-type(2) {
    margin-top: 60px !important;
    }
    .fixed-heading {
    width: 85%;
    text-align:center
    }
    }`

    with your momentan solution is nice too !

    this is only display block/none
    i inserted on the text-block an additional entry:

    @media only screen and (min-width: 768px) {
      .replaced-slogan {
          display: none;
      }
    }
    
    @media only screen and (max-width: 767px) {
      .fixed-heading {
        display: none;
      }
      
      .replaced-slogan {
      padding: 20px 20px 10px;
      background-color: #96c451;
      margin-bottom: 20px
      }
    }

    I completely agree with your wife. That preference should always come first.
    My children are both grown up, so I have a little more time for such activities today.
    Nevertheless, I too would prefer to go out now for a good wine and some music. ;)

Viewing 30 posts - 5,371 through 5,400 (of 11,491 total)