Forum Replies Created

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • in reply to: WebP images and the lightbox #1222184

    Thanks Guenni007! It works perfect, just like you described.
    Many thanks!
    Jan

    in reply to: WebP images and the lightbox #1221912

    Hi,
    as suggested in this thread (https://kriesi.at/support/topic/proposal-for-improvement-of-the-lightbox-script/), .webp extension is missing.
    I looked into the mentioned file (themes/enfold/js/avia-snipped-lightbox.js) and I think, in the most current version, it has to be added in line 151.
    Is it possible to place this file into the child-theme and change it there?
    Best regards,
    Jan
    Edit: If I change the mentioned line to this:
    autolinkElements: ‘a.lightbox, a[rel^=”prettyPhoto”], a[rel^=”lightbox”], a[href$=jpg], a[href$=png], a[href$=gif], a[href$=jpeg], a[href$=webp], a[href*=”.jpg?”], a[href*=”.png?”], a[href*=”.gif?”], a[href*=”.jpeg?”], a[href$=”.mov”] , a[href$=”.swf”] , a:regex(href, .vimeo\.com/[0-9]) , a[href*=”youtube.com/watch”] , a[href*=”screenr.com”], a[href*=”iframe=true”]’,
    Then the lightbox is working fine with webp.

    • This reply was modified 3 years, 11 months ago by JS-at-Envato.

    Hi Victoria,

    this fixed the display error. But do you have an idea, why it was not working any more in the default?
    I did not have to include some custom css with Enfold prior 4.2.

    Jan

    If you check the ccs on my page and compare it to the css on the demo page then you’ll see that this part is missing:

    background-image:-webkit-linear-gradient(-45deg, #4678ae 25%, #689acf 25%, #689acf 50%, #4678ae 50%, #4678ae 75%, #689acf 75%, #689acf);background-image: -moz-linear-gradient(-45deg, #4678ae 25%, #689acf 25%, #689acf 50%, #4678ae 50%, #4678ae 75%, #689acf 75%, #689acf);background-image: linear-gradient(-45deg, #4678ae 25%, #689acf 25%, #689acf 50%, #4678ae 50%, #4678ae 75%, #689acf 75%, #689acf);background-size: 10px 10px;

    And this is the part which creates the stripes.

    Jan

    To be more precise:
    The general animation is working, but the stripes are not displayed, although they are all set as “striped” for the Progress Bar Coloring!
    If I change the color to something else than “Theme color” then the stripes are shown.
    The stripes are not shown, when the color is set to “Theme color”.
    This was perfectly working before the Update to Enfold 4.2.

    Sorry for the confusion!

    Jan

    Hi Victoria,
    it looks just like on your screenshot.

    For testing, I have change the “Balkenfarbe” from “Theme Farbe” to “Blau” for the first progress bar. As a result, the first bar shows the animation.
    I’ve remained the second, third and fourth bar just like it was with the “Balkenfarbe” == “Theme Farbe”. And these bars don’t show the animation any more.

    If you check the css on my page for second, third and fourth bar, it differs from the css which is in the demo page (https://kriesi.at/themes/enfold-app/). Although it is the same colour setting.

    Somehow the enfold.css is not correctly generated any more after the update to 4.2. Before, all progress bars looked exactly like in the demo page.

    Jan

    @Yigit: Did you have a look yet?

    That is the CSS from the demo page:
    .main_color .av-striped-bar .theme-color-bar .bar{background: #4678ae;background-image:-webkit-linear-gradient(-45deg, #4678ae 25%, #689acf 25%, #689acf 50%, #4678ae 50%, #4678ae 75%, #689acf 75%, #689acf);background-image: -moz-linear-gradient(-45deg, #4678ae 25%, #689acf 25%, #689acf 50%, #4678ae 50%, #4678ae 75%, #689acf 75%, #689acf);background-image: linear-gradient(-45deg, #4678ae 25%, #689acf 25%, #689acf 50%, #4678ae 50%, #4678ae 75%, #689acf 75%, #689acf);background-size: 10px 10px;}

    And that is the CSS from my page:
    .main_color .av-striped-bar .theme-color-bar .bar{background: #4678ae;}

    Both taken from enfold.css.

    Jan

    Login data added.

    Hi Yigit,
    I’m aware of the setting.
    The difference between the demo an my page ist this:

    My page:
    .main_color .av-striped-bar .theme-color-bar .bar
    none

    The demo page:
    .main_color .av-striped-bar .theme-color-bar .bar
    linear-gradient(-45deg, rgb(70, 120, 174) 25%, rgb(104, 154, 207) 25%, rgb(104, 154, 207) 50%, rgb(70, 120, 174) 50%, rgb(70, 120, 174) 75%, rgb(104, 154, 207) 75%, rgb(104, 154, 207))

    Both taken from enfold.css.

    I’ll set up a login for you, so you can have a look.

    Jan

    Hi Yigit,
    they used to look like this with the striped bars:
    https://kriesi.at/themes/enfold-app/

    I’ve just change the first bar to another color. Then the stripes display again.

    Jan

    • This reply was modified 6 years, 4 months ago by JS-at-Envato.
Viewing 11 posts - 1 through 11 (of 11 total)