Forum Replies Created

Viewing 30 posts - 5,611 through 5,640 (of 11,871 total)
  • Author
    Posts
  • here is the css code for stretching the caption background as you have before on the other slider:
    if you do only like to have it on that slider : give a custom class to the slider in my example: stretch-caption

    .avia-slideshow.stretch-caption {
        box-shadow: 0 0 25px -5px #000;
        background: #fff !important;
    }
    
    .stretch-caption .caption_framed .slideshow_caption .avia-caption-content p, 
    .stretch-caption .caption_framed .slideshow_caption .avia-caption-title, 
    .stretch-caption .avia-caption .avia-caption-content p, 
    .stretch-caption .avia-caption .avia-caption-title {
      background: transparent;
      color: #fff !important
    }
    
    .stretch-caption .avia-caption {
      bottom: 0;
      left: 0;
      width: 100%;
      background-color: rgba(0,0,0,0.6);
    }

    you have set on your css :

    .entry-content-wrapper div li {
        text-indent: 0;
        position: relative;
        left: 20px;
    }

    this influences the slideshow li’s too. because the images are in li containers the whole slideshow is an unordered list !

    but on the slideshow they had to be in an absolute positioning

    so get rid of that code – and style your list with :

    .avia_textblock li {
        padding-left: 20px;
        list-style: inside;
    }

    that shifts your list on the left a bit more to the right.

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

    i guess there must be changed something with the this._stopSlideshow(); in slider.js.
    see f.e. line 347ff in slider.js

    It seems that the slideshow – allthough it is set to ininite loop stops and then starts again.
    You see this on the caption titles best. Inbetween the slideshow the captions are faded very smooth – but from last to first they look like they started a new slideshow.
    but I can’t figure out why sliding works with these settings and fading doesn’t

    well first it is not the enfold silder : soliloquy-slider
    guess it is hard to say from the team here.

    why don’t you use the Enfold Simple Slider instead?
    You can have a very similiar Outlook of that
    I wouldn’t make such a long list as in slider 1 but you can style it like slider 2 on my example:
    https://webers-testseite.de/simple-slider/

    ____________
    Die Anpassung für den Caption Hintergrund sage ich dir dann wenn du es übernehmen möchtest.
    ich nehme mir mal kurz deine Bilder raus und setze Sie ein. Dann kannst du vergleichen.
    du sparst dir dadurch das laden eines zusätzlichen Plugins, welches überhaupt nicht nötig ist. Das bringt auch Performance Vorteile.
    Die Bilder ersetze ich dann sobald du es gesehen hast.

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

    hm :

    have you tried that on top:

    add_filter('avf_logo_link','av_change_logo_link');
    function av_change_logo_link($link){
      if ( is_user_logged_in() ) {
          $link = "https://yousio.com/activity"; 
      }
      if ( !is_user_logged_in() ) {
          $link = "https://yousio.com/"; 
      }
        return $link;
    }

    maybe you set the wordpress setup wrong – because i do not see any difference on the homepage and the activity page ( yes i’m not logged in)
    when klicking on the activity button in your menu. If there is a difference there migth be two different pages ! ?

    what did you declare as frontpage ( if it is the activity page then it is clear )

    Yes i can see that there is different pages ( different page-ids ) but the content seems to me identical.
    I see only different sidebars. But they do change on reload too.

    in reply to: Design & Pic effect #1216710

    just a bit like this on both:

    #top .social_bookmarks {
      margin: 0;
    }
    
    .fallback_menu + .social_bookmarks {
      padding-left: 9px;
    }
    
    #header_main::before {
        content: '';
        position: absolute;
        left: auto;
        top: 50%;
        transform: translateY(-50%);
        background-color: #fff;
        border: 14px solid #d1b1a7; 
    }
    
    #header_main::before {
        width: 145px;
        height: 40px; 
        right: 5px;
    }
    
    @media only screen and (max-width:767px) {
        #header_main::before {
          width: 140px;
          height: 30px; 
          right: 20px;
        } 
    }
    
    @media only screen and (max-width:479px) {
        #header_main::before {
          width: 50px;
          height: 30px; 
          right: 5px;
        } 
    }
    in reply to: Design & Pic effect #1216708

    have a look what happens if we add a pseudo container to header_main:

    #header_main::before {
        content: '';
        position: absolute;
        width: 150px;
        height: 40px; 
        right: 14px;
        left: auto;
        top: 50%;
        transform: translateY(-50%);
        background-color: #fff;
        border: 14px solid #d1b1a7; 
    }

    you had to adjust this in media querries to your needs ( the social bookmarks are gone if the screen is narrow )
    on middle wide screen a height of 30px is enough and on small mobile screens you had to make the width smaller just to surround the burger.

    • This reply was modified 5 years, 6 months ago by Guenni007.
    in reply to: Design & Pic effect #1216704

    first: the burger button is covered by the social bookmarks and because it has a z-index of 150 and your burger has 100
    the active click area of the burger is less than it should. ( only left side is active )

    let the margin left be on default and set the padding lower:

    #top .social_bookmarks {
      margin: 0;
    }
    
    .fallback_menu + .social_bookmarks {
      padding-left: 9px;
    }
    in reply to: Highlight H1 title once #1216700

    Jordan is right – but i would take a color of the shirt as background like: #223256
    or the something of the cap color: #541a26

    And that is really hard to understand?
    is_user_logged_in is if the user is logged in.

    the ! is a not logic

    add_filter('avf_logo_link','av_change_logo_link');
    function av_change_logo_link($link){
      if ( is_user_logged_in() ) {
          $link = "https://yousio.com/activity"; 
      }
      if ( !is_user_logged_in() ) {
          $link = "https://yousio.com/"; 
      }
        return $link;
    }

    but for not logged in users this is normal behavior so you might get rid of the default setting:

    add_filter('avf_logo_link','av_change_logo_link');
    function av_change_logo_link($link){
      if ( is_user_logged_in() ) {
          $link = "https://yousio.com/activity"; 
      }
        return $link;
    }

    try yourself.

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

    Try this:

    add_filter('avf_logo_link','av_change_logo_link');
    function av_change_logo_link($link){
      if ( is_user_logged_in() ) {
          $link = "url1"; 
      }
      if ( !is_user_logged_in() ) {
          $link = "url2"; 
      }
        return $link;
    }
    in reply to: Design & Pic effect #1216538

    The css code comes to quick css – but read carefully – there is a custom-class to set for a parent-element of the images.
    If you like every image in a color-section with a link to have that hover style – give the class to the color-section.
    If you only want it for some images give the class to the image alb itself.

    If you like to have that style for Masonry Entries – we had to change the code.

    It was important for me that you understand the procedure and then transfer it yourself.
    So you’ve got two containers, so to speak, lying on top of each other.
    One has a height of 0 and grows in the Y-direction – the other one has a width of 0 and grows in the X-direction.

    If you are not able to transfer it to other containers – tell me – i will help you then –
    it is easier to do it on a live site – so if you can make the page public tell me.

    But take the setting anyway: large gap !

    See Example Page again: https://webers-testseite.de/masonry-4on1big/

    and :) you also have to chew by yourself a little when eating.
    In other words – adjust it to your needs now ( media query break points or spacing ) i set up now a 3px ( on default large gap is 6px )

    in reply to: Alt for transparent header image #1216395

    by the way – don’t know why now two filter can change the alternate logo now ( f.e. for some pages to show a different transparent logo)

    
    function my_custom_attributes_for_alternate_logo($header_filtered){
    	$header_filtered['header_replacement_logo']  = "https://url-to-the-new-logo";
    	return $header_filtered;
    }
    add_filter( 'avf_transparency_logo_data', 'my_custom_attributes_for_alternate_logo' );

    and this still works too:

    function replace_transparent_logo_on_some_pages($header){
        if( is_front_page( ) ){
            $header['header_replacement_logo'] = "https://url-to-the-new-logo";
        }
        return $header; 
    }
    add_filter('avf_header_setting_filter','replace_transparent_logo_on_some_pages');
    in reply to: Alt for transparent header image #1216275

    Wow Thanks!
    here we go:
    besides the alt and title of that image in the media library
    we have now the way to change main logo alt and title via filter:

    /** for main logo these two will do the job ***********/
    function avf_change_logo_title($title) {
       $title = "The new Title is here";
       return $title;     
    }
    add_filter('avf_logo_title', 'avf_change_logo_title');
    
    function avf_change_logo_alt($alt) {
       $alt = "New Alt Text Here";
       return $alt;     
    }
    add_filter('avf_logo_alt', 'avf_change_logo_alt');

    and now we got a new filter: avf_transparency_logo_data
    Guess this must work since Enfold 4.7.4.1:

    function my_custom_attributes_for_alternate_logo($header_filtered){
    	$header_filtered['header_replacement_logo_title']  = 'Alternate Logo Title';
    	$header_filtered['header_replacement_logo_alt']  = 'Alternate Logo Alt';
    	return $header_filtered;
    }
    add_filter( 'avf_transparency_logo_data', 'my_custom_attributes_for_alternate_logo' );

    ps: please correct me if i’m wrong
    this will do the job too – its just a bit different syntax:

    add_filter('avf_transparency_logo_data', function($header_filtered){
    		$header_filtered['header_replacement_logo_title']  = 'Alternate Logo Title';
    		$header_filtered['header_replacement_logo_alt']  = 'Alternate Logo Alt';
    		return $header_filtered;
    }, 10, 2);

    don’t know if $priority and $accepted_args are needed here.

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

    By the way : on Enfold 4.7.5 – it stays the same on fading ( sliding is ok ! )
    The transition last slide to first slide is different. ( on the example page i set it now via alb to 8000ms and autorotation to 10s.

    in reply to: Design & Pic effect #1216196

    To your image hover effect.
    i did a custom-class to a parent container to the image: hoverstyle1

    In this case – if you want different selectors ( like categorie links or portfolio links etc. ) there must be analog css rules.
    The point is to understand what is done – that is a good starting point.
    The “framed on hover” element is styled via pseudo-containers ( before and after) – these containers got a border ( border left/right on after – and border top/bottom on before container )


    these containers itself has no background-color – but borders – and are scaled to zero.
    on hovering these container grow to 100% ( scale(1))

    see result here: https://webers-testseite.de/hover-images/

    here is the css code ( i did set the overlay to display none)

    .hoverstyle1 .image-overlay {
      display: none !important;
    }
    
    /* hover styling images */
    .hoverstyle1 a.avia_image:before, 
    .hoverstyle1 a.avia_image:after {
      content: '';
      position: absolute;
      top: 10px;
      right: 10px;
      bottom: 10px;
      left: 10px;
      -webkit-transition: all 0.5s ease;
      -ms-transition: all 0.5s ease;
      transition: all 0.5s ease;
      pointer-events: none;
      background: transparent;
      width: auto;
      height: auto;
      z-index: 10;
    }
    
    .hoverstyle1 a.avia_image:before {
      border-top: 2px solid #fff;
      border-bottom: 2px solid #fff;
      -webkit-transform: scaleX(0);
      -ms-transform: scaleX(0);
      transform: scaleX(0);
    }
    
    .hoverstyle1 a.avia_image:after {
      border-left: 2px solid #fff;
      border-right: 2px solid #fff;
      -webkit-transform: scaleY(0);
      -ms-transform: scaleY(0);
      transform: scaleY(0);
    }
    
    .hoverstyle1 .avia-image-overlay-wrap:hover a.avia_image:before, 
    .hoverstyle1 .avia-image-overlay-wrap:hover a.avia_image:after {
      -webkit-transform: scale(1);
      -ms-transform: scale(1);
      transform: scale(1);
    }
    • This reply was modified 5 years, 6 months ago by Guenni007.
    in reply to: Transition speed in slider ALB. #1216078

    Last Attempt – i think it is very obvious that the slide effect works good – and even the transition between slide3 to slide1 is equivalent to the others.
    But with fading there is a different speed ( from 1 to 2, and 2 to 3 this is preselect 10s : very smooth blending )
    but on the transition 3 to 1 it looks totaly different:

    Video

    or does he like to : A way to change any Fullwidth Easy Slider Caption Title to H1 from inside WP?

    the filter : avf_customize_heading_settings is now in newest enfold only in the av-helper-slideshow.php
    I thought it was on former versions in each slider type.
    So i only found a way to influence the whole default_heading tag by this in your child-theme functions.php:
    It only changes the default_heading – if you have set a custom heading tag ( see posting of mine before with the image) it will not overwrite that.

    function my_avf_customize_heading_settings( array $args, $context, array $extra_args = array() ){
    	if( $context == 'avia_slideshow' ){
    		$default_heading = ! empty( $dev_tags['heading_tag'] ) ? $dev_tags['heading_tag'] : 'h1';
    		$args['heading'] = $default_heading;					
    		$args['extra_class'] = $dev_tags['heading_class'];	
    	}
      return $args;
    }
    add_filter( 'avf_customize_heading_settings', 'my_avf_customize_heading_settings', 10, 3 );

    i did not see a way to use this filter only for the full-width slider
    if you only like to influence the default_heading on fullwidth easy slider you can have your own
    child-theme slideshow_fullsize.php
    and change on line 810 to:
    'theme_default' => 'h1',

    in reply to: Change columns number from child functions.php #1216055

    Such a question is exactly the reason why I am also happy to answer questions here as a fellow participant. It is a challenge and i will learn the most from it. If a customer shows up and expresses exactly such a wish, I don’t stand there and won’t know what to say.
    So thank you from my point of view, too.

    in reply to: Change columns number from child functions.php #1216042

    Yes the pipe will have the “or” in the if clause.
    That will work! – i’m only unsure if i had to insert that global $posts and if there is a more elegant way for the syntax.

    in reply to: prev, next arrows on portfolio and posts #1216015

    Well Mike – i guess he likes to have it fixed.
    But this would only be usefull if the footer itself does not take away a big part of the screen height.
    On some installations i have my #socket set to fixed – but this is only approx 100px.

    in reply to: Change columns number from child functions.php #1215884

    can you try this – don’t know if this is the correct way to use this filter but it might work in combination with blog-grid style
    just check for context: archive , index, tag

    add_filter('avf_post_slider_args', function($atts, $context){
    	global $posts;
    	if($context == 'index') { $atts['columns']  = 4;}
    	return $atts;
    }, 10, 2);

    why not simple:
    just create a masonry gallery with set up for 4 columns.

    guess this is self-explanatory: https://webers-testseite.de/masonry-4on1big/

    btw: if you have 5 additional images in there – you can change the code to :

    .masonry41 .av-masonry-entry:nth-of-type(5n) {
      width: 100% !important;
    }
    
    .masonry41 .av-masonry-entry:nth-of-type(5n) img {
      width: 100% !important;
      height: auto;
    }
    in reply to: Farbe von Waffelmenü/ Waffle menu color #1215879

    do you mean this here – that is called hamburger – because it looks a littel bit like a burger

    this to quick css:

    .header_color .av-hamburger-inner, 
    .header_color .av-hamburger-inner::before, 
    .header_color .av-hamburger-inner::after {
        background-color: #db0d0d !important;
    }
    in reply to: prev, next arrows on portfolio and posts #1215416

    sorry – wrong posting

    in reply to: nav bar and background issues #1215409
    #main, .main_color, .html_stretched #wrap_all,
    .avia-msie-8 .av_header_sticky_disabled#header {
      background-color: transparent !important;
    }

    but with background-attachment: fixed you will have some troubles on OS X Safari Systems.
    see here: https://kriesi.at/support/topic/theme-is-shaking-a-lot-in-safari/

    The trick will be to have a pseudo before container with same background-image and to set the whole pseudo container to position : fixed then.

    Look to the differece on a safari browser on scrolling fast with or without that:

    #top {
      clip-path: inset(0 0 0 0);
      background-size: 0 !important;
    }
    
    #top:before {
      background-image: inherit !important;
      background-repeat: no-repeat;
      content: "";
      position: fixed;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      background-size: cover;
      background-position: right center;
      will-change: transform;
    }
    
    #main, .main_color, .html_stretched #wrap_all,
    .avia-msie-8 .av_header_sticky_disabled#header {
      background-color: transparent !important;
    }
    
    .main_color {
        z-index: 5 !important;
        position: relative;
    }

    you had to know your page id ( in my example here page-id-3 ) of this page
    and if the header scrolls away – it does not make sence to have shrinking too – so
    put this to your child-theme functions.php:

    add_filter('avf_header_setting_filter', 'avf_header_not_sticky', 50, 1);
    function avf_header_not_sticky($header_settings) {
    	if ( is_page(3) ) {
    		$header_settings['header_sticky'] = "";
    		$header_settings['header_shrinking'] = "";
    	}
    	return $header_settings;
    }

    if you have more than one page where you like to change it just set the if clause to an array f.e.:
    if ( is_page( array( 3, 18, 303, 500 ))) {

    in reply to: content elements as jump links? #1215404

    if you are at the actual Enfold Version – you have on each Column its own Advanced Tab : Developer Settings.
    There you can insert a unique ID.
    But for just a unique CSS selector you do not need IDs – you can use classes as well.

    on Fullwidth-Easyslider : Content-Tab (first tab) – click on one image to go to the slide option window.
    Go to “Advanced Tab” ( Third tab ) – there you have the option to switch for each slide to a heading tag you want.

Viewing 30 posts - 5,611 through 5,640 (of 11,871 total)