Forum Replies Created

Viewing 30 posts - 5,581 through 5,610 (of 11,482 total)
  • Author
    Posts
  • in reply to: Change slide-entry-title entry-title from h3 to h2 #1182560

    no he hasn’t tried it – but if he – it will be changed to h2!
    i can test it on developer Console.

    in reply to: Import a video with embedded code and adjust the size #1182329

    Why is there a link on your starting thread with loom ? – Edit: ok now i see – i misunderstood your link. This is a kind of explanation video what you like to have.

    in reply to: Coloured caption on hover for single image #1182032

    yes – but now you have two opacities working on hovering. To see the effect better it would be nicer i think if you get rid of the other hover effect.

    in reply to: How to parallax an element through quick CSS? #1182012

    yes you are right – i had to erase the webp test on my test-page and include a throttle function.
    now it runs on chrome and on a ipad mini – but on both too buggy – it maybe a matter of my functions.php on that test-page of more than 2000 lines.

    So i test now ismaels version!

    in reply to: Coloured caption on hover for single image #1181965

    best would be to have a custom-class on the grid-row to be specific on that f.e. : with-colored-overlay

    to have the possibility to change the hover color for each cell you can do that:

    .with-colored-overlay .avia-image-overlay-wrap:after {
      content: "";
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
      opacity: 0;
      transition: opacity 0.5s ease
    }
    
    .with-colored-overlay .avia-image-overlay-wrap:hover:after {
      opacity: 0.6;
      transition: opacity 0.5s ease
    }
    
    .with-colored-overlay .flex_cell:nth-of-type(1) .avia-image-overlay-wrap:after {
      background: red;
    }
    .with-colored-overlay .flex_cell:nth-of-type(2) .avia-image-overlay-wrap:after {
      background: blue;
    }
    .with-colored-overlay .flex_cell:nth-of-type(3) .avia-image-overlay-wrap:after {
      background: green;
    }
    .with-colored-overlay .flex_cell:nth-of-type(4) .avia-image-overlay-wrap:after {
      background: gold;
    }
    .with-colored-overlay .flex_cell:nth-of-type(5) .avia-image-overlay-wrap:after {
      background: yellow;
    }

    without the transitions the effect is ok too – just get rid of both lines

    see example page: https://webers-testseite.de/grid-row-background-image/

    in reply to: How to parallax an element through quick CSS? #1181914

    hm – on your page i wouldn’t call this a parallax effect. Anyway – i did it similar to Ismael but a bit easier to understand.
    See here : https://webers-testseite.de/images-in-motion/

    by the way what plugin is your choice now?

    in reply to: Removing the image rollover arrow from all images on site #1181908

    you can either use:

    .avia_transform a:hover .image-overlay {
        opacity: 0 !important;
    }

    or

    .avia_transform a .image-overlay {
    	display: none !important
    }
    in reply to: Coloured caption on hover for single image #1181892

    yes indeed you didn’t explain it right – you got a grid-row and link not from the image but from the grid-cell.
    This is only an opacity thing and no overlay ! It is styled from grid-row.css:

    body .flex_cell.avia-link-column.avia-link-column-hover:hover {
        opacity: 0.8;
    }

    The link you gave on Top is something totaly different.

    This is perhaps a good alternative for you to show that it is an active linking:

    body .flex_cell.avia-link-column.avia-link-column-hover {
        opacity: 1 !important;
        -webkit-filter: grayscale(100%);
        filter: grayscale(100%);
    }
    
    body .flex_cell.avia-link-column.avia-link-column-hover:hover {
        opacity: 1 !important;
        -webkit-filter: grayscale(0);
        filter: grayscale(0);
    }

    on hovering you get the colored Images – or the other way round have colored images – and on hovering do some filter functions.

    in reply to: Attribute filter problem #1181825

    I think it is only because the shortcode functionality for widgets is not yet unlocked.
    Can you try this in your child-theme functions.php :

    add_filter( 'widget_text', 'do_shortcode' );

    in reply to: Coloured caption on hover for single image #1181817

    You can set this on the image ALB Element itself – if you choose to show the caption only on hover : It is the caption tab to decide:
    click to enlarge

    by the way : if you like to set up a different timing on that ( 4sec is too long but you will better see the effect) – put this to your quick css:

    .av-overlay-on-hover .avia-image-container-inner .av-image-caption-overlay { transition: opacity 4s ease }
    .av-overlay-on-hover .avia-image-container-inner:hover .av-image-caption-overlay { transition: opacity 4s ease }

    it is as said above a matter of opacity setting.
    PPS: you can leave the caption text field empty – if you only like to have color

    in reply to: Border between Section . noit defined but there #1181807

    I could live with it ; – that is the only line to add:
    .container_wrap { border-top: none !important; }

    the 1/1 container is not a full-width container – and the border on the 1/1 container ALB is a Frameborder
    – so to have on top a border full-width it is easier to set it up this way by default and get rid of it via that one-liner.
    Is it realy too much to set this one line of css in your code?

    in reply to: how to edit website title we see on the browser research? #1181798

    Dashboard – Appearance – Customise: Site Identity
    or
    Dashboard – Settings – General: Site Title and Tagline

    in reply to: Logo is not sharp #1181717

    by the way : is it a wanted great padding on top and bottom of the logo?
    The bigger it is – the sharpe it will be rendered

    in reply to: Logo is not sharp #1181714

    The plugin only has the possibility to replace the img tag with inline svg whereever you like it.
    First of all: There is a lot of crap in that svg ( if i create a svg file with illustrator – there is only the creator on top
    The thing is that there is a possibility to test this without the plugin via via child-theme functions.php with:

    // insert svg as logo
    function replace_logo_with_svg() {
    ?>
      <script type="text/javascript">
      (function($) {
        function a() {
          $( ".logo a img" ).remove();
          $.get('http://00247-01.htz-cs06.clickstorm.de/wp-content/uploads/2020/02/EASH-Verlagsgruppe2.svg', function(svg){
            $( ".logo a" ).html( svg );
          }, 'text');
        }
        a();
      })(jQuery);
      </script>
    <?php
    }
    add_action('wp_footer', 'replace_logo_with_svg');

    But with your svg there is a lot of additonal unnecessary informations in it ( adobe things – some image relicts etc. pp)
    your svg is not set to responsive behavior. i put in the svg code : preserveAspectRatio="xMinYMid meet" etc. pp
    look into this svg code ( open with good text-editor like sublime-text on mac or notepad++ on pc or similar ) : https://webers-testseite.de/EASH-Verlagsgruppe2.svg

    if you use that as svg you even don’t need a transparency extra logo – you can fill the paths with a different color on this case:

    .logo a {
      display: inline-flex;
    }
    
    .av_header_transparency .logo svg .sh0 {
      fill: #fff;
      transition: all 0.7s ease
    }
    in reply to: H1 heading on tags/category-./author pages #1181588

    Yes Ismael – but the thing is that i do not know how to use the filter on that case.
    First – it is unclear what context to use – second how to ? The code above does not work!
    So have a look please – or ask Günter how to get it the right way here.
    Thanks

    in reply to: Import a video with embedded code and adjust the size #1181587

    put that in a code-block element:
    <div style="position: relative; padding-bottom: 62.5%; height: 0;"><iframe src="https://www.loom.com/embed/663801139e9a42d2a6b2447435b50b3d" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"></iframe></div>
    see again (now on the right): https://webers-testseite.de/loom-video/

    in reply to: Import a video with embedded code and adjust the size #1181564

    On the right side it is an Image Alb with custom Link :
    https://www.loom.com/embed/663801139e9a42d2a6b2447435b50b3d?autoplay=1&iframe=true

    in reply to: Import a video with embedded code and adjust the size #1181562

    is for you ok – if it is loaded in a lightbox?

    Use Video ALB and put in :
    https://www.loom.com/embed/663801139e9a42d2a6b2447435b50b3d?autoplay=1
    on Lazy Load Videos : Choose “Show in Lightbox”

    see here: https://webers-testseite.de/loom-video/

    in reply to: Logo is not sharp #1181430

    Why do you use an image for that?
    use svg for that (by the way what font was that )

    you can allow the mime-type svg via child-theme functions.php :

    function custom_mtypes( $m ){
        $m['svg'] = 'image/svg+xml';
        $m['svgz'] = 'image/svg+xml';
        return $m;
    }
    add_filter( 'upload_mimes', 'custom_mtypes' );

    or my recommendation is to use that very nice little plugin svg-support

    then you even can use svg inline – not as img src
    there are some css you had to place then – because not all svgs have height – width definitions inside.
    so f.e a width in absolut value had to be set for some browsers.

    in reply to: custom class to html tag … #1181347

    Thanks Mike – can be closed.

    in reply to: Development tab missing on submenu (7.42) #1181328

    just a forgotten array for toggle_container and developer_options_toggle

    in reply to: Set external product link to open in new tab? #1181072

    wrong post – sorry

    • This reply was modified 5 years, 5 months ago by Guenni007.
    in reply to: Development tab missing on submenu (7.42) #1181039

    i have no developer tab too on my avia_sc_submenu ALB

    in reply to: Add caption in lightbox under image in masonry gallery #1181007

    @Ismael : sorry for that!, I fell for that. Of course we had to show the description in the ALB itself as well. Like I did here, and then show or hide it as needed.

    in reply to: Add caption in lightbox under image in masonry gallery #1180904

    by the way – you can place the bottom bar inside the Image – because if you got a lot of text it will sometimes be out of the viewport.
    so look to the example-page above again! This is css for that:

    .page-id-32904 .mfp-bottom-bar {
        top: initial;
        bottom: 40px;
        width: calc(100% - 20px);
        margin: 10px;
        background: rgba(0, 0, 0, 0.4);
    }
    in reply to: custom class to html tag … #1180854

    Thanks Mike – I’ll keep that in mind.
    The reason why I want to do it this way is to make it easier for me when transferring a styled page to a new customer.
    For example, if I think a contact page is finished and good, it is not necessary to go through the whole CSS for the page-id of the contact page, because then the contact page always has the ID: Contact in addition to the page ID.
    All my css is referenced then to #top.kontakt etc. pp.
    _
    And it has the advantage that you can see directly to which page this refers to in the Quick css – without having to look up which page-id the page currently has.

    in reply to: Add caption in lightbox under image in masonry gallery #1180698

    well what i did now:
    give a custom-class to that masonry alb element: lightbox-with-description ( you can adjust this to a more easier class )
    Fill out the description fields –
    I decided to create an own markup for mfp – it is easier to address then with class : mfp-description in the bottom-bar
    Adjust the page id to yours or get rid of that if clause ( think of to delete one of the last curly brackets then on the end )
    Choose on Masonry ALB to show both Title and Description !!! ( i set the description to display: none then to have it only on lightbox )
    https://webers-testseite.de/masonry/

    function popup_masonry_with_description() { 
    if(is_page(32904)){
    ?>
    <script type="text/javascript">
    (function($){
    $(window).load(function(){  
        $('.av-masonry.lightbox-with-description a.av-masonry-entry.lightbox-added').magnificPopup({
        type: 'image',
        image: {
          markup: '<div class="mfp-figure">'+
            '<div class="mfp-close"></div>'+
            '<div class="mfp-img"></div>'+
            '<div class="mfp-bottom-bar">'+
              '<div class="mfp-title"></div>'+
              '<div class="mfp-description"></div>'+
              '<div class="mfp-counter"></div>'+
            '</div>'+
          '</div>',
        },
        mainClass: 'avia-popup mfp-zoom-in mfp-image-loaded',
        closeOnContentClick: false,
        midClick: true,
        gallery: { enabled: true },
        callbacks: {
            change: function() {
                $(this.content).find('.mfp-description').html('<p>'+$(this.currItem.el).find('.av-masonry-entry-content').html()+'</p>');
            },
        },
      }); 
    });
    })(jQuery);
    </script>
    <?php 
    }
    }
    add_action('wp_footer', 'popup_masonry_with_description');

    some css for quick css:

    .page-id-32904  .lightbox-with-description .av-masonry-entry-content.entry-content {
        display: none;
    }
    .page-id-32904 .mfp-description {
      color: #fff;
      width: 85%
    }
    .page-id-32904 div .mfp-title {
      font-size: 24px;
    }
    .page-id-32904 .mfp-description p {
        line-height: 24px;
        margin: 0 !important;
    }
    in reply to: Black and White Images #1180689

    you always have to look for the right selector. On some portfolios ( f.e. Masonry Portfolio Grid ) these images are background-images and no avia-image

    but the transform on hover goes to the same selector:
    on many instances it looks nicer to have the hovered style colored so:

    .avia_desktop .av-masonry-entry .av-masonry-image-container {
        -webkit-filter: grayscale(100);
        filter: grayscale(100);
    }
    
    .avia_desktop .av-masonry-entry:hover .av-masonry-image-container {
        -webkit-filter: grayscale(0);
        filter: grayscale(0);
    }

    PS : The best thing is to familiarize yourself with the development tools of each browser ( most of them have one ) to always find the right selectors. It is not that difficult. Point the mouse to the place you want to investigate, and then click on “investigate” or similar in the context menu (usually the right mouse button).

    in reply to: Change slide-entry-title entry-title from h3 to h2 #1180648

    im looking for a solution with filter of enfold: avf_customize_heading_settings
    maybe a mod can give us advice to use it on that element
    ___________________________

    but this will work fast too with maybe with more specifity if the selectors in that line: replaceElementTag( …) are more “picky”:

    function replace_tags_with_tags(){
    ?>
    <script>
      (function($) {       
          function replaceElementTag(targetSelector, newTagString) {
            $(targetSelector).each(function(){
              var newElem = $(newTagString, {html: $(this).html()});
              $.each(this.attributes, function() {
                newElem.attr(this.name, this.value);
              });
              $(this).replaceWith(newElem);
            });
          }
          replaceElementTag('h3.entry-title', '<h2></h2>'); 
      }(jQuery)); 
    </script>
    <?php
    }
    add_action('wp_footer', 'replace_tags_with_tags');

    by the way – there are css settings for h2 ( f.e. uppercase etc. ) you have to adjust those settings after change
    you can have on that snippet more than one replacement . just add new lines as:
    replaceElementTag('h3.entry-title', '<h2></h2>'); under each other – semicolon separated

    in reply to: H1 heading on tags/category-./author pages #1180646

    So for blog.php the postslider give his part in it so context is : avia_sc_postslider
    but this does not have effect:

    function my_avf_customize_heading_settings( array $args, $context, array $extra_args = array() ){
    	if( $context == 'avia_sc_postslider' ){
    		$args['heading'] = 'h2';			//	change heading from h3 to h1
    		$args['extra_class'] = 'custom-class';		//	add an extra class for styling
    	}
      return $args;
    }
    add_filter( 'avf_customize_heading_settings', 'my_avf_customize_heading_settings', 10, 3 );
Viewing 30 posts - 5,581 through 5,610 (of 11,482 total)