Forum Replies Created

Viewing 30 posts - 6,391 through 6,420 (of 11,898 total)
  • Author
    Posts
  • in reply to: Full screen slider display #1143347

    so now it works – but now you have to remove the screen rules for those sliders – because on ipad 768px no slider is seen.
    the padding and navigation we will adjust after that.

    in reply to: Full screen slider display #1143346

    i do not see effects- both snippets are in the functions.php as single snippets.
    maybe you had to clear all cachings if you use a caching tool.

    But you have to be aware that an ipad is a mobile device too !

    in reply to: Full screen slider display #1143337

    no i see that you are taking the one and shift it over the header – but these two functions are working a little on the same thing.
    But the one is waiting til the document is ready – so the other one could not do what it has to do.

    Try this : Backup your child-theme functions.php.
    Then delete both rules – mine and the one that insertBefore Header rule
    i mean this one here:

    (function($){
        $(document).ready(function($){
            var is_mobile=false;
            if($('.responsive #scroll-top-link').css('display')=='none'){is_mobile=true;}
            if(!is_mobile){$("#main > .avia-fullscreen-slider").insertBefore("#header");}
        });
    })(jQuery);

    and insert instead this one

    function only_one_slider(){
    if( is_page(2) ) {  
    ?>
    <script>
    (function($){
        $(document).ready(function(){
            $('html.avia_mobile #fullscreen_slider_1').remove();
            $('html.responsive.avia_mobile #scroll-top-link').css( "display", "none");
            $('html.avia_desktop #full_slider_1').remove();
            $('html.avia_desktop #fullscreen_slider_1').insertBefore("#header");
        });    
    })(jQuery);
    </script>
    <?php
    }
    }
    add_action('wp_footer', 'only_one_slider');

    we will see then if it works.

    in reply to: Full screen slider display #1143322

    but i think we had to combine these two functions in one.
    you have to have the full-screen slider before header on desktop case and full-width slider is removed
    on mobile case there is always the full-width slider – full-screen slider is gone.

    in reply to: Full screen slider display #1143305

    ok – now i got it.
    first – there is over the header a full-screen slider too! Did you insert this via functions.php? – and a header widget?

    Edit: ok i see the insertBefore on your functions.php

    maybe put my code above too in a document ready option:

    function only_one_slider(){
    if( is_page(2) ) {  
    ?>
    <script>
    (function($){
        $(document).ready(function(){
            $('html.avia_mobile #fullscreen_slider_1').remove();
            $('html.avia_desktop #full_slider_1').remove();
        });    
    })(jQuery);
    </script>
    <?php
    }
    }
    add_action('wp_footer', 'only_one_slider');

    and we see then whats happening

    in reply to: Multiple Locations Design #1143250

    i would do it with image caption – because in the responsive case the text is always at the image itself.
    if you do it with 1/2 containers and shift the container below to overlay the image above the responsive case brings an unwanted order:
    see here above the image-caption solution on top ( 2images)
    https://webers-testseite.de/guenni/multiple-locations/
    below is the thing with 4 1/2 containers.

    for the image-caption solution i gave to the image a custom-class: caption-out-of-image

    .caption-out-of-image .av-image-caption-overlay {
        height: auto;
        width: 80%;
        left: 50%;
        transform: translateX(-50%);
        top: 50%;
        border: 3px solid #fff;
        box-shadow: 3px 3px 5px #666;
    }
    
    .av-overlay-hover-deactivate.caption-out-of-image .avia-image-overlay-wrap:hover .av-caption-image-overlay-bg {
        opacity: 1 !important
    }
    
    @media only screen and (max-width: 767px) {
      .caption-out-of-image .avia-image-container-inner {
          margin-bottom: 120px !important;
      }
    }

    you have to adjust the margin-bottom on responsive case to your needs aswell the value of the overlay width.
    PS: i will try to make it with text under image in the same container – if this works better in the third color-section

    • This reply was modified 6 years, 3 months ago by Guenni007.
    in reply to: How to create a floating area with contents? #1143234

    so you got a 1/1 container – and that should be the sticky container – but what isn’t sticky then besides it?
    Show me what you’re up to with a sketch.

    Or is it that behavior you like to have ( see sub-menu) : https://kriesi.at/themes/enfold-2017/elements/sub-menus/

    in reply to: Full screen slider display #1143230

    can you please resent your E-Mail – perhaps it is gone to spam filter of my mail-washer.

    in reply to: Using a layout builder template as desktop nav #1143065

    you can not insert a section!
    a [av_section] is a color-section – and that you can’t insert into a header container.

    try this and look if it works – it is only one centered button:

    add_action('ava_main_header', function() {
    echo do_shortcode("[av_one_full first  margin='0px'  row_boxshadow_width='10' padding='0px' column_boxshadow_width='10' background='bg_color'  background_position='top left'][av_button label='seems to work' link='manually,# your homepage' link_target='' size='medium' position='center'  icon_select='yes-right-icon' icon_hover='aviaTBicon_hover' icon='ue812' font='entypo-fontello' color='theme-color' custom_bg='#444444' custom_font='#ffffff'][/av_one_full]");
    });

    after that replace that function and see where the inserted goes to:

    add_action('ava_after_main_menu', function() {
    echo do_shortcode("[av_one_full first  margin='0px'  row_boxshadow_width='10' padding='0px' column_boxshadow_width='10' background='bg_color'  background_position='top left'][av_button label='seems to work' link='manually,# your homepage' link_target='' size='medium' position='center'  icon_select='yes-right-icon' icon_hover='aviaTBicon_hover' icon='ue812' font='entypo-fontello' color='theme-color' custom_bg='#444444' custom_font='#ffffff'][/av_one_full]");
    });
    in reply to: Full screen slider display #1142984

    Yes but i could do things for you only since Monday – my doughter has birthday party today.

    in reply to: Sticky sub-menu disappears until scrolling and has gap #1142959

    Yes Nikko an please report on how to do it with a child-theme header solution. I got this trouble on some pages too, that the fixed sub-menu is on load not visible

    in reply to: Partner/Logo grid style #1142933

    You’re welcome

    in reply to: masonry gallery issue when mage is open #1142918

    i think this is one reason Kriesi does not have overflow-y: hidden on html when lightbox is open.
    maybe you take better ismaels advice to completely overlay the background – so you don’t see if it is scrolling or not.
    Or work a lot with fixed positioning.

    This way: without the overflow-y snippet

    /*** these next two rules seems to be obsolete now  - tests are still running****/
    .mfp-zoom-out-cur {
        height: 2000vh;
        overflow: hidden;
    }
    
    .mfp-bg {
        height: 2000vh !important;
    }

    try first only with these rules :

    .mfp-zoom-in.mfp-ready.mfp-bg, .mfp-zoom-in.mfp-ready .mfp-preloader {
        opacity: 0.8;
    }
    
    .mfp-content {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50% , -50%);
      overflow: hidden;
    }
    
    .mfp-arrow {
      position: fixed
    }
    
    .mfp-wrap + #wrap_all {
      position: fixed
    }
    
    img.mfp-img {
      max-width: 70vw;    /*** 80vw still works   ***/
      padding: 10px 0 !important;   /*** i would do a padding here - looks nicer ***/
    }
    

    guess this is an elegant method – and it works with all browser i guess
    maybe we had to put it in media query only for desktop browsers – i had to look what happens to mobile devices.

    • This reply was modified 6 years, 3 months ago by Guenni007.
    in reply to: Partner/Logo grid style #1142917

    Give to the partner logo element a custom class: special-borders
    Choose that element without border
    the images have to be the same dimensions.

    @media only screen and (min-width:768px) {
      .avia-logo-element-container.special-borders {
        overflow: hidden !important;
      }
    
      .avia-logo-element-container.special-borders .slide-entry {
        outline: 1px solid #666;
      }
    
      .avia-logo-element-container.special-borders .avia-content-slider-inner {
        margin-right: -1px;
      }
    }
    
    @media only screen and (max-width:767px) {
      .avia-logo-element-container.special-borders .slide-entry {
        outline: none;
        border:  1px solid #666;
      }
    }

    Result: https://webers-testseite.de/guenni/partner-logo-element/
    the ouline-width could be thicker !

    the 150% belongs to the surrounding container. So if header-height was first set to 100px then 150% is a max-height of: 150px.
    on his own website there is a header-height of 64px – so 150% are 96px.

    the overflow: visible end up in a logo that is bigger than its surrounding container and is visible over it.
    So thats my comment – it depends on header-height.

    So for shrinking headers the height in relative Values is important. The max-height is the starting point.

    https://webers-testseite.de/cynthia/unite4-2/
    my header there is set to 160px
    because i want to start with a logo img height of 350px. the The height must be set to: 350:160 = 219%

    in reply to: Thumbnail size in galleries #1142827

    ich kann dir leider keine Garantie geben. Wenn du früher die 450px hattest wäre es gut wenn du das als Maß für entweder das neue Format oder eben square austauscht.
    Um ein Regenerieren der Thumbnails kommst du dann wohl nicht rum. Wie gesagt ich habe gute Erfahrungen mit “Force Regenerate Thumbnails” gemacht.

    Diese Snippets hier zeigen dann die Vollauflösung Bilder in der Lightbox. Wenn du in deinen Quellcode guckst, dann siehst du dort 1030px x ??? als Quellimage. Mit den o.a. Snippets würde also dann 1280px oder eben die Auflösung des geuploadeten Bildes gezeigt werden.

    in reply to: masonry gallery issue when mage is open #1142798

    this is a hard to find a device independent solution.
    with the above code it has the negativ jumping scrollbar issue on MAC

    in reply to: masonry gallery issue when mage is open #1142767

    BUT: this could solve the problem on PC –
    but then it is on MAC

    in reply to: masonry gallery issue when mage is open #1142759

    I can look at your page on 3 browsers here under Mac.
    In none of them the problem is there!

    In Enfold you have set the slight magnification effect on the images in hover – that doesn’t cause the page to “jump” for me either. – I know the phenomenon from before, but I haven’t seen it for a long time.

    Where do you look at your pages in IE10 or Edge? and PC / Windows10
    Aha – now i’m on my PC and there it is. Maybe a margin-right will do the trick on PC

    try instead :

    add_action('wp_footer', 'no_background_scroll_on_lightbox_open');
    function no_background_scroll_on_lightbox_open(){
    ?>
    <script type="text/javascript">
    (function($) {
        function a() {
          $('body').on('click', '.lightbox-added', function() {
            if($('.mfp-bg').length >= 1) {
              $('html').css({
              "overflow-y": "hidden",
              "margin-right": "17px",
              });
            } 
          });
          
          $('body').on('click', function() {
            setTimeout( function() {
              if($('.mfp-bg').length == 0) { 
                $('html').css({
    			  "overflow-y": "scroll",
    			  "margin-right": "0px",
              });
              }
            },500);   
          });
        }
      a(); 
    })(jQuery);
    </script>
    <?php
    }
    • This reply was modified 6 years, 3 months ago by Guenni007.
    in reply to: Full screen slider display #1142714

    under my nick or avatar there is all info you need

    in reply to: masonry gallery issue when mage is open #1142706

    thanks –
    when does the problem come up for you?
    with the lightbox open – or when the lightbox is closed?

    With the lightbox open – it’s the way I want it: the background doesn’t scroll away – there is no scrollbar visible on the right.

    When the lightbox is closed : I have to scroll down to get to the content – then the scrollbar appears.
    But that depends on the browser too! Firefox does not show it on scrolling – chrome does – safari too.
    You can always have the scrollbar displayed regardless of whether a content is smaller or larger than the page height.

    in reply to: Not able to add rel='nofollow' attribute in outgoing links #1142696

    The link provided – and the answer here: Link
    does not belong to javascript.

    it’s an assessment of whether a nofollow makes sense from both perspectives.
    Google and other (there are still some) search engines consider only noopener and noreferrer rels as advisable.
    Who wishes good SEO rankings, should probably want to profit from the links to good other sites – right?
    Therefore please explain to me what the benefit of a rel nofollow is.
    I always like to learn.

    in reply to: masonry gallery issue when mage is open #1142689

    only moderators can see private content – so wait til mods are here. Sorry without the page i could not help you

    in reply to: Using a layout builder template as desktop nav #1142645

    why do you need the dynamic sidebar option?
    but i think the error is too because of the section – it is a fullwidth container with a lot of preset css

    try with the content of your section – here in the code

    add_action('ava_main_header', function() {
    echo do_shortcode("[av_one_full …] … [/av_one_full]");
    });

    maybe a different hook is better for you: ava_after_main_menu
    this places the inserted code directly after main menu ( :lol as the title says )

    see here in action – i just take the code of the buttons from that page: https://webers-testseite.de/buttons/
    btw: nice idea to have an extra styling for nav. – maybe with the button-row element.

    in reply to: masonry gallery issue when mage is open #1142633

    i have to see the site – to give you better instructions.
    the scrollbars in the lightbox should not be affected – how would you show then all the content if it is bigger than lightbox window.
    the scrollbar in the background is gone on opended lightbox by that code above ( overflow-y : hidden) – on closing the lightbox it must be there.
    see website in iframe f.e: https://webers-testseite.de/my-website/

    in reply to: Not able to add rel='nofollow' attribute in outgoing links #1142604

    on next update ( the 4.6.2. beta) has this feature allready on external links the rel noopener and noreferrer are added – that makes sense
    the nofollow ? does it make sense

    read here for example: https://searchenginelaws.com/seo/what-is-rel-noopener-noreferrer-tag/
    Links made ineffective with rel=”nofollow” do not help to improve the search engine ranking of the target page. Pagerank is also not inherited.
    and:

    in reply to: previous / next links on single posts #1142593

    Off topic – by the way Ismael: it maybe a nice thing if the “read-more” ($permalink) button will not be part of the excerpt. Because f.e. on influencing the_excerpt length the read-more link is cut-off.

    _________

    PS : i tried that on single.php and single-portfolio.php and had no luck on that. Where to place this best?

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

    without a link to the live page – it’s hard to give concrete advice.
    see comment above: i’m participant as you
    if you are not willing to make the link public – then you have to wait for mods help.

    in reply to: Portfolio issues #1142583

    first: where does that rule come from? ( child quick css line 5 and 408)

    #top .grid-sort-container .media-library_sort {
        display: none;
    }

    get rid of that rule and you will see 9 videos and 4 Elements on the other page

    in reply to: Not able to add rel='nofollow' attribute in outgoing links #1142582

    ;). sometimes the description belongs to the solution as well as the given code.

    In the solutions I offer here from time to time there is often something about : set the custom-class : abc etc. pp.
    This will be overlooked in general.

    this here was my solution – but someone here on board (cg) told me that a jQuery insertion of these attributes has no effect on bots…etc. (and the reasoning immediately made sense to me.)
    https://kriesi.at/support/topic/enfold-button-nofollow-shortcode/#post-1108256

Viewing 30 posts - 6,391 through 6,420 (of 11,898 total)