Forum Replies Created

Viewing 30 posts - 1 through 30 (of 11,690 total)
  • Author
    Posts
  • if it is the about/leadership page – there is no background-image at all – not even on mobile!

    If you don’t have any content, why use a color section? The easiest option is to use a full-width slider. If you don’t want slider controls, you can adjust the options accordingly.

    but my solution with declaring the background-size: cover and set the color-section height to aspect-ratio of your image will work properly.
    https://webers-testseite.de/hostworks/

    choose your color-section and set for minimum height option your aspect-ratio in percent.
    F.e. your image with 300/2000 means min-height 15%.
    As long as your content inside your color-section does not grow bigger than the 15% height. The bg-image will react responsive, If you have set the bg-image is set to cover the background.

    PS: for small screen you have to get rid of min-height option for color-sections (100px on default)

    in reply to: How to build 1/2 + 2×2 image grid with text overlays #1489981

    and if you like to have then a non full-width grid-row – there are ways to get this …
    see: https://webers-testseite.de/grid-row-alb/

    in reply to: Masonry Blog Posts no longer sorting date correctly #1489978

    The name “masonry” actually implies the desire to fill the available space as best as possible. Depending on the settings (Flexible Masonry) , this can mean that for some screen widths, entries with large heights are better suited to a different location.

    Despite the discontinuation of Sort Order the above setting, Masonry attempts to fill the entire area as well as possible.
    This then leads that entries bigger in height, for example, being inserted differently after all.

    If you try it with the “Perfect Grid” setting, that shouldn’t happen.

    in reply to: 3 lines border options for top header area. #1489879

    that is why i first tried to give you a header solution.
    Then you do not need to add that lines manually to every top section in your content. – and if you got a slider or a gird-row on top no extra solutions are necessary. – But there are different Problems – f.e. what to do when first section got a collered background.

    The separator solution: As part of next section this should not come into conflict with your menu text. Or do you have on other installations an overlapping first section to header area ?
    The problem wil be now – what to do if you got a grid-row or a slider on top.

    in reply to: .scroll-down-link #1489870

    Thank goodness for DeepL — I did take French as my third subject in high school, but that was a good 40 years ago ;)

    #top .ti-widget .ti-controls .ti-next,
    #top .ti-widget .ti-controls .ti-next:after,
    #top .ti-widget .ti-controls .ti-prev:after,
    #top .ti-widget .ti-controls .ti-prev {
      background: none !important;
      border: none !important;
      outline: none !important;
    }
    
    #top .ti-widget .ti-controls .ti-next {
      right: -20px;
    }
    
    #top .ti-widget .ti-controls .ti-prev {
      left: -20px;
    }
    
    #top .ti-widget .ti-controls > div:after {
      font-size: 52px;
      color: #ebebeb;
    }
    
    #top .ti-widget .ti-controls .ti-prev:hover:after,
    #top .ti-widget .ti-controls .ti-next:hover:after {
      color: #2c1175 !important;
    }

    maybe you have allready included some of those rules.

    in reply to: 3 lines border options for top header area. #1489845

    if you like to use it as svg separator you had to use a svg file like that
    https://webers-testseite.de/button-row/
    copy paste the svg code from there.
    Link to the svg: Here

    _____
    Incidentally, you should adjust the fixed header rules for responsive behaviour. ( See it on small screens and scrolling down)

    in reply to: 3 lines border options for top header area. #1489844

    on inserting my code inside developer tools (copy&paste) :

    there you can see both – mine and your existing jpg solution.

    in reply to: .scroll-down-link #1489819

    First – a screenshot would be nice to have. Many misunderstandings could have been avoided beforehand if I had known more precisely what needed to be changed.

    Next: i’m participant as you are, so if there is a message on private content field – i could not see it.

    in reply to: Add buttons to blog posts in grid layout #1489818

    but where does a link like : https://storasoder.se/nojesteaterntestsida/richard-obriens-rocky-horror-show-the-legendary-rock-roll-musical/
    come from – that is the link you must have set.

    in reply to: .scroll-down-link #1489812

    first remove this from your css

    .ti-prev:hover::after, 
    .ti-next:hover::after {
      color: #FFF !important;
      background-color: var(--enfold-header-color-color);
    }

    then:

    #top .ti-widget .ti-controls .ti-next,
    #top .ti-widget .ti-controls .ti-next:after,
    #top .ti-widget .ti-controls .ti-prev:after,
    #top .ti-widget .ti-controls .ti-prev {
      background: none !important;
      border: none !important;
      outline: none !important;
    }
    
    #top .ti-widget .ti-controls .ti-next {
      right: -10px;
    }
    
    #top .ti-widget .ti-controls .ti-prev {
      left: -10px;
    }
    
    in reply to: 3 lines border options for top header area. #1489810

    or a little more elegant:

    #top #header:not(.header-scrolled-full) #header_main {
      box-shadow: none;
    }
    
    #header_main:before {
      content: "";
      position: absolute;
      left: 0;
      top: calc(var(--enfold-header-height) - 150px);
      width: 100%;
      height: 200px; 
      background-image:url("data:image/svg+xml;base64,PHN2Z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NzgyLTQ2LjY3OSwxODUuMTE1LTUzLjgzNXYtMTQuOTljLTIwLjMzMyw3LjE1NS04OS40ODksMzAuNjIyLTE4NS4xMTUsNTMuODM1WiIvPgogIDxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik04MDAsMzkuOTgxYy0yMC4zMzMsNy4xNTUtODkuNDg5LDMwLjYyMi0xODUuMTE1LDUzLjgzNS0xMDUuMTc5LDI1LjUzMS0yNjQuODA0LDU1Ljk2NS00MjcuOTU0LDU1Ljk2NS0xMDIuMTI3LDAtMTYwLjk3LTE3Ljg5MS0xODYuOTMxLTI4LjUyOXYxNy4zMjZjMzAuMDc1LDExLjQ0Miw4OS4yMjgsMjcuMjAyLDE4Ni45MzEsMjcuMjAyLDE2NC44MjUsMCwzMjUuODg0LTMwLjcxMiw0MzEuOTcyLTU2LjQ3Niw4OS4wNC0yMS42MjQsMTU1LjM3LTQzLjQ5MiwxODEuMDk4LTUyLjM4MXYtMTYuOTQzWiIvPgo8L3N2Zz4=");
      background-size: 100% 100%;
      transition: opacity 1s ease-in-out;
    }
    
    #top #header.header-scrolled #header_main:before {
      opacity: 0;
    }
    

    svg with more convex look.

    in reply to: 3 lines border options for top header area. #1489807

    try this
    ( but it looks better if your header does not have shadow )

    use next css code instead

    play with top position – what fits best for you.
    and maybe you set the height of the before pseudo-container to an absolute value ( e.g: height: 120px;) then it will not shrink with the header height.

    in reply to: Animated boxes underneath the video #1489780

    you have choosen for the #av_section_1 a z-index of : 200
    so the z-index of the flex_columns had to be bigger. (300) next – hint
    do not forget to give the outer flex_columns a background-color of #172738

    in reply to: Add buttons to blog posts in grid layout #1489779

    try – and have a look if this fits your needs of “button” look-alike:

    #top .avia-content-slider .slide-entry-wrap {
      display: flex !important;
      flex-flow: row wrap;
      justify-content: space-between;
      gap: 30px;
      
    }
    
    #top .avia-content-slider .slide-entry {
      width: unset;
      flex: 1 1 calc(25% - 30px);
      margin: 0 !important;
      display: flex;
      flex-flow: column wrap;
      background-color: #eee;
      padding: 15px
    }
    
    @media only screen and (max-width:1049px) {
      #top .avia-content-slider .slide-entry {
        flex: 1 1 calc(50% - 30px);
      }
        #top .avia-content-slider .slide-entry a  {
        margin-left: 0;
      }
    }
    
    @media only screen and (max-width:767px) {
      #top .avia-content-slider .slide-entry {
        flex: 1 1 100%;
      }
    }
    
    .slide-content {
      margin-bottom: 60px
    }
    
    .entry-footer {
      width: 100%;
      position: absolute;
      left: 0;
      bottom: auto;
      top: calc(100% - 60px);
      display: flex;
      justify-content:  space-evenly;
      flex-flow: row wrap;
    
    }
    
    .entry-footer a {
      margin-top: 10px;
      display: inline-block;
      padding: 3px 8px;
      transition: all 1s ease;
    }
    
    .entry-footer .read-more-link a {
      background-color: #000;
      color: #FFF !important;
    }
    
    .entry-footer a:hover {
      box-shadow: 0 3px 5px #aaa;
      transform: translateY(-5px) scale(1.03);
    }
    
    .entry-footer .biljetter a {
      background-color: #bf2e11;
      color: #FFF !important;
    }
    
    .entry-footer a path {
      fill: #FFF;
    }

    and check the responsive behaviour aswell.

    in reply to: Add buttons to blog posts in grid layout #1489774

    so if you only like to link if there are biljetservice links on the images above the titles – then take snippet two from this link

    in reply to: Add buttons to blog posts in grid layout #1489773

    if you take the second snippet it will only have two links if the one goes to your juliusbiijettservice pages.

    on the first image in your row – (Snedtänkt) there is the one link and on read-more the other link.

    Here you have it the way it works:
    (click to enlarge the images)

    but on your rockyhorror read-more link and image link are the same ! – so i could not transfer it to the second button .

    Since my backend is in German, I always have to double-check how the elements are named in English.

    in reply to: Add buttons to blog posts in grid layout #1489763

    or if you only like to have those buttons if the link goes to a certain string:

    function custom_entry_link_if_biljetter_link(){
    ?>
    <script>
    (function($){
        $(document).ready(function(){
            const triggerString = "juliusbiljettservice";
            $('.avia-content-slider .slide-entry').each(function() {
                var readMore = $(this).find('.read-more-link'),
                    biljetterLink = $(this).find('.slide-image').attr('href');
                    if (biljetterLink && biljetterLink.includes(triggerString)) { 
                        biljetterButton = $('<div class="biljetter"><a href="'+biljetterLink+'" class="biljett-link">Biljetter<span class="more-link-arrow avia-svg-icon avia-font-svg_entypo-fontello" data-av_svg_icon="right-open-big" data-av_iconset="svg_entypo-fontello"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="15" height="32" viewBox="0 0 15 32" preserveAspectRatio="xMidYMid meet" role="graphics-symbol" aria-hidden="true"><path d="M0.416 27.84l11.456-11.84-11.456-11.904q-0.832-0.832 0-1.536 0.832-0.832 1.536 0l12.544 12.608q0.768 0.832 0 1.6l-12.544 12.608q-0.704 0.832-1.536 0-0.832-0.704 0-1.536z"></path></svg></span></a></div>');
                        $(this).closest('.slide-entry').find('.entry-footer').prepend($(biljetterButton));
                    }
                    $(this).closest('.slide-entry').find('.entry-footer').prepend($(readMore));        
            });
        });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'custom_entry_link_if_biljetter_link');

    in this case only a second link is added if it goes to a page with juliusbiljettservice inside the link

    .entry-footer {
      display: flex;
      flex-flow: row wrap;
      gap: 20px;
      justify-content: flex-start;
    }
    
    .entry-footer a {
      display: inline-block;
      padding: 3px 8px;
    }
    
    .entry-footer .read-more-link a {
      background-color: #000;
      color: #FFF !important;
    }
    
    .entry-footer .biljetter a {
      background-color: #bf2e11;
      color: #FFF !important;
    }
    
    .entry-footer a path {
      fill: #FFF;
    }
    in reply to: Add buttons to blog posts in grid layout #1489761

    if you have on all Images the link to your biljetter you can do it this way.

    for styling the “buttons” you may be able to do this too:
    maybe a custom class on those post-sliders would be a good idea – not to influence all post-sliders

    put this to your child-theme functions.php:

    function custom_entry_link(){
    ?>
    <script>
    (function($){
        $(document).ready(function(){
            $('.avia-content-slider .slide-entry').each(function() {
                var readMore = $(this).find('.read-more-link'),
                    biljetterLink = $(this).find('.slide-image').attr('href'),
                    biljetterButton = $('<div class="biljetter"><a href="'+biljetterLink+'" >Biljetter<span class="more-link-arrow avia-svg-icon avia-font-svg_entypo-fontello" data-av_svg_icon="right-open-big" data-av_iconset="svg_entypo-fontello"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="15" height="32" viewBox="0 0 15 32" preserveAspectRatio="xMidYMid meet" role="graphics-symbol" aria-hidden="true"><path d="M0.416 27.84l11.456-11.84-11.456-11.904q-0.832-0.832 0-1.536 0.832-0.832 1.536 0l12.544 12.608q0.768 0.832 0 1.6l-12.544 12.608q-0.704 0.832-1.536 0-0.832-0.704 0-1.536z"></path></svg></span></a></div>');
                $(this).closest('.slide-entry').find('.entry-footer').prepend($(biljetterButton));
                $(this).closest('.slide-entry').find('.entry-footer').prepend($(readMore));        
            }); 
        });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'custom_entry_link');

    with minimal styling:

    .entry-footer {
      display: flex;
      flex-flow: row wrap;
      gap: 20px;
      justify-content: flex-start;
    }

    it looks this way:

    in reply to: Add buttons to blog posts in grid layout #1489757

    you like to do it this way of the first row – but with two buttons : read-more and the link from your featured-image.
    (Title and featured image do link to your events – like on the grid beneath the “biljetter” Button)

    in reply to: Add buttons to blog posts in grid layout #1489753

    do these buttons have always the same link? or is it an individual link?

    the content-slider element is something different than that what you are using on your page – you are using the post-slider element – so try mikes code
    in The DOM these elements got the classes : avia-content-sllider – so that is my mistake that i believe that you are using th content-slider element.

    try Mikes Solution – did not know why the content-slider.php does not rule that – see next post

    in reply to: .scroll-down-link #1489663

    on google ratings:

    .ti-next:before,
    .ti-prev:before {
      display: none !important;
    }
    .ti-next:after,
    .ti-prev:after {
      display: flex;
      position: absolute;
      justify-content: center;
      align-content: center;
      align-items: center;
      width: 100%;
      height: 100%;
      border-radius: 100%;
      transition: all 200ms ease-out;
      font-size: 24px;
      font-family: "entypo-fontello";
      color: var(--enfold-header-color-color);
    }
    
    .ti-prev:after {
      content: "\E874" !important;
    }
    .ti-next:after {
      content: "\E875" !important;
    }
    
    .ti-prev:hover:after,
    .ti-next:hover:after{
      color: #FFF !important;
      background-color: var(--enfold-header-color-color);
    }
    in reply to: .scroll-down-link #1489662

    try instead:
    these are the bold versions

    function avia_replace_default_icons($icons){
     $icons['svg__scrolldown'] =  array( 'font' =>'svg_entypo-fontello', 'icon' => 'down-open');
     $icons['svg__prev'] =  array( 'font' =>'svg_entypo-fontello', 'icon' => 'left-open');
     $icons['svg__next'] =  array( 'font' =>'svg_entypo-fontello', 'icon' => 'right-open');
     return $icons;
    }
    add_filter('avf_default_icons','avia_replace_default_icons', 10, 1);
    in reply to: .scroll-down-link #1489653

    add to the snippet from above the missing instructions:

    function avia_replace_default_icons($icons){
     $icons['svg__scrolldown'] =  array( 'font' =>'svg_entypo-fontello', 'icon' => 'down-open');
     $icons['svg__prev'] =  array( 'font' =>'svg_entypo-fontello', 'icon' => 'left-open-big');
     $icons['svg__next'] =  array( 'font' =>'svg_entypo-fontello', 'icon' => 'right-open-big');
     return $icons;
    }
    add_filter('avf_default_icons','avia_replace_default_icons', 10, 1);

    after that – we had to see if position had to be adjusted.

    in reply to: .scroll-down-link #1489652

    ok – but even if you like to replace those icons:

    .carousel-slider.arrows-outside .owl-nav svg {
      display: none
    }
    
    .carousel-slider.arrows-outside .owl-nav .owl-prev:before,
    .carousel-slider.arrows-outside .owl-nav .owl-next:before {
      font-family: 'entypo-fontello';
      font-size: 52px;
    }
    
    .carousel-slider.arrows-outside .owl-nav .owl-next:before {
      content: "\E875";
    }
    
    .carousel-slider.arrows-outside .owl-nav .owl-prev:before {
      content: "\E874";
    }

    now the other ones …

    in reply to: .scroll-down-link #1489650

    are these icons – enfold mangaged icons?
    Or do they belong to your carousel plugin or instagram plugin ;)

    in reply to: .scroll-down-link #1489645

    btw. i do not see if you have set this rule yourself ( merged styles ):

    @media only screen and (min-width: 485px) and (max-width: 1023px) {
      .html_av-submenu-hidden .av-submenu-indicator {
        margin-right: 175px;
        opacity: 100% !important;
        font-weight: bold !important;
      }
    }

    the margin-right value causes the icon to be overlaid with the text.

Viewing 30 posts - 1 through 30 (of 11,690 total)