Forum Replies Created

Viewing 30 posts - 3,331 through 3,360 (of 11,531 total)
  • Author
    Posts
  • that part:

    $args = array(
      'post__not_in' => $sticky,
      'orderby' => 'title',   // here you can influence the orderby option of the non sticky post to your needs 
      'order'	=> 'asc',    //  the order of the non sticky posts
      'numberposts' => -1  	 // -1 for all - that number is for the non sticky posts  
      );

    is only for the non sticky posts – and changing the orderby to: ‘title’, ‘rand’, ‘date’, ‘author’, ‘name’, ‘modified’, ‘comment_count’ or ‘menu_order’
    does not work ?

    in reply to: Change responsive behavoir footer widgets? #1347442

    you do not need to set the custom class ! then all grid-rows were influenced.
    Maybe it is necessary to add more selectors to those rules that they overwrite existing ones.
    IDs on that will be very helpful – because they have more weight on that f.e.:

    to differ between the grid-rows with 5 or 6 etc cells you can add the class of them – f.e.:

    #top .av-layout-grid-container {
      display: flex;
      flex-flow: row wrap;
      justify-content: space-between;
    }
    
    #top .av-layout-grid-container .flex_cell.av_one_fourth {
      flex: 0 1 25%;
      width: unset !important
    }
    
    @media only screen and (min-width: 768px) and (max-width: 989px) {
      #top .av-layout-grid-container .flex_cell.av_one_fourth {
        flex: 0 1 50%;
      }
    }
    
    @media only screen and (max-width: 767px) {
      #top .av-layout-grid-container .flex_cell.av_one_fourth {
        flex: 1 1 100%;
      }
    }

    to give better advice it would be helpful to know a link to your site. (Keep in mind though that I’m a participant like you, so I can’t see the private area).

    btw: Be careful not to define overlapping areas. It is a good practice to use even numbers for min-width and odd numbers for max-width.
    you have twice for 620px

    in reply to: Erweiterung Suchfunktion #1347327

    i just changed the code above with an if clause – because it is better to not echo something that does not exist. ;)

    in reply to: Change responsive behavoir footer widgets? #1347323

    PS : there is a little bit of it included now in the columns. If you go to the column alb element and open the first column element in a row – there is on the first tab : Row Settings – Row Screenoptions : there it is if you choose “reverse order” – this will be the row-reverse option.
    If you choose “Individually select positon …” you can set each column in that row what position it got when in responsive case.
    that is the order value. Link

    in reply to: Change responsive behavoir footer widgets? #1347322

    yes – thats it – there is a good article about flexbox model on: css-tricks

    At the core, it is based on declaring a parent container as a flex container. The direct child elements are then the Flex items. These can be assigned various properties. First of all, it is determined at the parent element whether they lie in a row or in a column, whether they wrap when there is a lack of space or not.
    Unfortunately, all direct child elements participate in this procedure – even pseudocontainers, for example – which is why I removed them from the footer via display: none.
    What you have to learn a little bit then are the shortcuts to the individual properties. So in the flex-flow the definition for column/row and wrap/no wrap is united (besides even how to wrap).
    flex on the other hand combines the properties of the items: may grow, may shrink, width of the items.
    etc. etc.

    For a gridrow – i recommend to give the gridrow element itself a custom class – that you can decide if or if not behave like that.
    in my case on my test page it is: grid421
    See: https://webers-testseite.de/alwin-gridrow/

    .av-layout-grid-container.grid421 {
      display: flex;
      flex-flow: row wrap;
      justify-content: space-between;
    }
    
    .av-layout-grid-container.grid421 .flex_cell {
      flex: 0 1 25%;
      width: unset !important
    }
    
    @media only screen and (min-width: 768px) and (max-width: 989px) {
      .av-layout-grid-container.grid421 .flex_cell {
        flex: 0 1 50%;
      }
    }
    
    @media only screen and (max-width: 767px) {
      .av-layout-grid-container.grid421 .flex_cell {
        flex: 1 1 100%;
      }
    }

    can you try this in your child-theme functions.php:

    
    function sticky_posts_first($query, $params) {
    
      $include = array();
      $sticky = get_option( 'sticky_posts' );
    
      $args = array(
      'post__not_in' => $sticky,
      'orderby' => 'title',   // here you can influence the orderby option of the non sticky post to your needs 
      'order'	=> 'asc',    //  the order of the non sticky posts
      'numberposts' => -1  	 // -1 for all - that number is for the non sticky posts  
      );
      $posts = get_posts( $args );
    
      foreach($posts as $post) {
      $include[] = $post->ID;
      }
      if ( !is_sticky() ) {
        $include = array_merge($sticky, $include);
      };
    
      $query['post__in'] = $include;
      $query['orderby'] = 'post__in';
    
    return $query;
    }
    add_filter('avia_post_slide_query','sticky_posts_first', 10, 2);

    but that is only for the enfold blog posts ALB

    PS for those params you can have:
    orderby: ‘title’, ‘rand’, ‘date’, ‘author’, ‘name’, ‘modified’, ‘comment_count’, ‘menu_order’
    order: ‘ASC’, ‘DESC’

    in reply to: Show date before content on blog posts #1347190

    is there a link to the concerning page? Because the style of blog is set in enfold on different ways – f.e. if you choose elegant style or business style etc. – or layout grid etc.

    in reply to: Erweiterung Suchfunktion #1347188

    Wenn du mit einem Child-Theme arbeitest ist das möglich, indem du dir ein child-theme loop-search.php erstellst.
    wenn du das öffnest, siehst du auf Zeile 37 im neuesten Enfold :

    echo "<span class='search-result-counter {$counterclass}'>{$post_loop_count}</span>";
    

    dahinter könnte man platzieren: ( this is edited content here – it is better to avoid placement if there is image )

    $searchimage = get_the_post_thumbnail( $the_id, 'square' );
    if( ! empty( $searchimage ) ) {
    	echo "<a class='slide-image search_image' href='".get_permalink()."'><span class='search-result-image'>{$searchimage}</span></a>";
    }

    wobei hier square durch andere Image-sizes von Enfold ersetzt werden kann ( large etc.)
    Der Rest wäre dann css.
    Dann hast du beides – die Nummerierung und ein featured Image.

    hier wäre die loop-search.php auf Basis von Enfold 4.9.2.1 – : https://pastebin.com/8d1jCDdJ
    platziert würde diese ( ich behalte gerne die original Baumstruktur bei ) im child-theme/includes folder

    schau mal hier: https://webers-testseite.de/?s=portfolio

    __________
    PS :
    das wäre auch mit der ajax Suche möglich – ohne ein extra Plugin.
    ___________

    PPS:
    hier sind mal die image-sizes, die man da setzen kann ( aus functions.php 211ff )

    widget (36x36), 
    square (180x180),
    featured (1500x430),
    featured_large (1500x630),
    extra_large (1500x1500),
    portfolio (495x400),
    portfolio_small (260x185),
    gallery (845x684),
    magazine (710x375),
    masonry (705x705),
    entry_with_sidebar (845x321),
    entry_without_sidebar (1210x423),
    • This reply was modified 3 years, 3 months ago by Guenni007.

    Danke für die Rückmeldung. ;)

    in reply to: Change responsive behavoir footer widgets? #1347132

    i prefer to have first 2 / 2 columns – then in a row – please try in your quick css:
    i do not see private content area so you had to play with that min-width value yourself:

    @media only screen and (min-width:620px) and (max-width: 989px) {
      #top #footer .container {
        display: flex !important;
        flex-flow: row wrap;
        justify-content: space-between;
      }
      
      #top #footer .container:before, 
      #top #footer .container:after {
        display: none
      }
      
      #top #footer .container .flex_column {
        flex: 0 1 45%;
        margin: 0px  !important;
        width: unset !important
      }
    }
    in reply to: Absolute Sticky Sub Menu on Mobile Devices #1347120

    you can try this in additon to existing codes ( change the values or add – if not there )

    
    #top .av-subnav-menu {
      flex-wrap: wrap;
      padding: 0;
      justify-content: center;
    }
    
    @media only screen and (max-width: 767px) {
      .responsive #top #wrap_all .container {
        width: 95%;
        max-width: 95%;
      }
    }
    

    on small screens like iphone 5 (320px – it will end in a two line sub-menu:

    there is only missing a better media-query setting. It does not work between 620px and 990px

    in reply to: Full size image in lightbox #1347119

    yes with gallery it works this way – but on Ismaels link ( besides the == ) for slideshow it does not work.

    in reply to: Full size image in lightbox #1347075

    thanks – so i had to look inside the function: function shortcode_insert_button() for shortcode!
    But then it is for slideshow: av_slideshow ? Please test the snippet yourself – on my end this will not work under 4.9.2.1
    This clarifies the question – but still not solved ? …

    in reply to: Full size image in lightbox #1346900

    That’s right – I hadn’t considered that. Thanks Günter.
    But now to the context. I can find it by opening the corresponding alb and searching above for the if( ! class_exists( ‘xyz’ ) )

    but on slideshow i had to look into the avia-shortcode-helpers to find the correct context: avia_slideshow the slideshow.php itself got: avia_sc_slideshow

    with gallery i had no clue to get the right context neither avia_gallery nor avia_sc_gallery works.

    So how to determine the right context.
    For gallery images i had to take nikos code without context to work as expected.

    • This reply was modified 3 years, 3 months ago by Guenni007.
    in reply to: Absolute Sticky Sub Menu on Mobile Devices #1346649

    try to read here : https://kriesi.at/support/topic/how-to-make-the-submenu-sticky-on-mobile/#post-1342985

    and see : https://webers-testseite.de/transparent-header/

    It is a hardwork because on my opinion there is an unnecessary css setting to !important. This can’t be overwritten from child-theme – except i got all three concerning files of submenu in the child-theme.

    in reply to: Stroke and text beneath socket #1346648

    But they are in the DOM – only hidden. My solution to look how that container comes to your DOM is better. Just dare to try.

    that is correct. But you see that on my testpage all is ok.
    Did you have on top of your child-theme functions.php that

    <?php
    

    this introduction must remain above!

    in reply to: Stroke and text beneath socket #1346639

    no – Rikard that is an alternative to have that – but offtopic ( for others who like to have this )
    Alan wants to get rid of it – but better is to hamper the building of it than to only set it to display: none

    section#footer {
      display: none;
    }

    but you are using a child-theme or where did you enter that snippet?
    you can see that it is working on my installation : https://webers-testseite.de/portfolio/john-dietz-elektrotechnik/ … and pirol ( i did not change the rest of all portfolios.

    can you try this instead:

    function ava_exclude_current_post($query) {
      // you can use here aswell  :   if(is_single()){ 
      if (is_singular('post') || is_singular('portfolio') ) {   
        $exclude = avia_get_the_ID();
        $query->set( 'post__not_in', array($exclude) );
      }
    }
    add_action('pre_get_posts', 'ava_exclude_current_post');
    in reply to: Stroke and text beneath socket #1346575

    Offtopic:

    PS : if i like to insert something on that position – i would have placed it inside wrap_all container and maybe used the hook: ava_after_footer_output
    because that will work with all footer settings – even with curtain effect – because it will be part of that.

    f.e.: something like this will be more elegant:

    function subsocket_color_set($color_sets){
      $color_sets['subsocket_color'] = 'Subsocket';
      return $color_sets;
    }
    add_filter( 'avf_color_sets', 'subsocket_color_set', 999, 1 );
    
    add_action('ava_after_footer_output', function() {
      echo '<div id="subsocket" class="container_wrap subsocket_color"><div class="container">YOUR HTML CONTENT HERE</div></div>';
    });

    Result: you will have that extra container : #subsocket and you can style it in enfold general styling by an extra styling set : Subsocket ;)

    in reply to: Stroke and text beneath socket #1346572

    But you can have a look if there is a child-theme footer.php via ftp – and post the content from it here.
    Or you can post here the whole content of your child-theme functions.php ( please use on that the code tag here on the forum – that we can better inspect )

    If it is in footer.php there must be something like this under the wrap_all closing div arround line 304

    		echo "<!-- end wrap_all --></div>";
    // maybe that is the insertion:
    		echo '<section id="footer"><div class="container"><div class="row">LilaHaarup.dk / <a href="https://www.facebook.com/lila.haarup" target="_blank">Facebook </a> / <a href="https://www.instagram.com/lilahaarup/?hl=da" target="_blank">Instagram</a></div></div></section>';
    in reply to: Stroke and text beneath socket #1346562

    first: you know best how you put in that additional container under wrap_all.
    Your additonal Container is not part of that #wrap_all (as the enfold #footer is) – and besides that i would not give it the same ID as the Enfold Footer !!! ID’s have to be unique.
    it is a top-border of 5px set on that section#footer:

    
    section#footer {
      border-top: none !important;
    }

    or do you like to get rid of the whole new container – guess you did that insertion via functions.php – or do you have a child-theme footer.php ?

    in reply to: White then dark menu font on scroll #1346561

    First read this please : did you fill in the enfold options on transparency header? or how did you set up your white font on transparency header?
    Dashboard – Enfold Child – Header : “Transparency Options” – there is that setting for : “Transparency Menu Color”

    The default way would be to set the font color options on General Styling : Logo Area Background Colors – and for transparency see above.
    ________
    Have you set a shrinking header? then you can do it page dependent – by using that additional Class on #header : header-scrolled

    #top.page-id-123 .header_color.header-scrolled .main_menu ul:first-child > li > a {
    	color: red
    }

    ok – ich sehe Du hattest es schon als svg vorliegen , wobei meines netter innen benannt ist – du musst dann halt über #Ebene_1 etc adressieren.
    Und bei mir liegt es auch direkt responsiv vor. Ausserdem wird es beim Shrinken nach links oben gehen

    https://webers-testseite.de/wp-content/uploads/Patrik-Beneke.svg

    Ah PS: wenn du dein Enfold aktualisierst, dann wird das Logo als inline svg geführt – erst dann ist das mit dem css Zugriff möglich.

    Hallo Patrik – zunächst : geht es um deine Homepage?
    Dein Logo dort verlangt geradezu nach der Umsetzung als svg File. Vorteil: svgs sind vektorbasiert; somit beliebig vergrößerbar / und auch eben verkleinerbar ohne Qualitätsverluste.
    Deine Schrift ist wohl eine Avenir und die zwei Striche sollten auch schnell in Illustrator gesetzt sein.
    Weiterer Vorteil : als nunmehr inline svg könntest du diese Striche bei sehr kleinen Screenweiten sogar verschieben.
    https://webers-testseite.de/pb-logo/
    Schieb mal das Browserfenster kleiner als 767px dann siehst du was ich meine. Es ist eben dort im svg addressierbar über css

    yes you are right – that setting influences not only the button but also:

    #top #wrap_all .avia-slideshow-button, #top .avia-button, .html_elegant-blog .more-link, .avia-slideshow-arrows a::before {
      border-radius: 50px;
    }
    

    so you can set for those an extra rule in your quick css:

    #top .avia-slideshow-arrows a::before {
      border-radius: 5px;
    }

    the #top selector will ensure that the rule will be overwritten but these rules from slideshow_fullsize.css will be untouched

    #top .av_slideshow_full.av-control-default .next-slide:before{
    	border-top-right-radius: 0;
    	border-bottom-right-radius: 0;
    }
    
    #top .av_slideshow_full.av-control-default .prev-slide:before{
    	border-top-left-radius: 0;
    	border-bottom-left-radius: 0;
    }
    in reply to: Image looking pixelated.. #1346410

    guess the main reason on that is that you are using the parallax effect on that background.
    For a parallax effect the image is set to cover a much bigger parallax container – that is ( similar to background-attachment: fixed ) a fundamental thing. ( The parallax container had to fill the whole screen height – and only a part of it is visible)
    on that background – there is no cropped image used – as you can see in the dom – but compare both dimensions:
    (click to enlarge)

    ______


    @nikko
    : is it a new filter : pre_option_image_default_size – i can not find it in enfold 4.9.2.1
    is it a wordpress filter?

    in reply to: Fullwidth Easy Slider change caption to Modern H3 #1346218

    I have tried putting the code in a few places, on the Fullwidth Easy Slider element, on the Content of the first slider and in the General Styling Quick CSS but the caption is still heavier than the rest.

    And you realy think of the custom-class to place?

    Now: on topic you are only talking about sliders – now you like to influence all headings?
    if you realy want to style all H3 that way try :

    #top #wrap_all .all_colors h3 { font-weight: 300 !important }
    

    but on heading alb element the font-weight is 400 on modern style so maybe you try 400

    in reply to: How to make text font size different #1346217

    First – is it too hard to copy&paste an url from the browser? And post it above?
    http://43.134.194.96/wp-content/uploads/2022/03/20220327181440.png

    now: what effect do you mean?

Viewing 30 posts - 3,331 through 3,360 (of 11,531 total)