Forum Replies Created

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • Great. Smush was the plugin that made the problems.

    Thank you!

    Hi Theme Enfold,

    I have a problem with the Blog Masonry onLoad. When the masonry loads, there are huge spaces below the different entries. s. printscreen and link in private content.

    When I scroll down after a while, (maybe once it had the time to load everything) it seems to reorder and it looks good. Also if I change screen width or click on a filter it settles to what it should look like.

    Do you have an idea how to fix this?

    All effects also Lazy Loading are turned off.

    • This reply was modified 3 years, 5 months ago by Onlineplaner.
    in reply to: Direct link to masonry category #1306735

    Thank you for your help!

    in reply to: Direct link to masonry category #1306035

    I put back the old code for the customer to see. It seems to work now. Thank you.
    Do you know how to set a default category as selected?

    in reply to: Direct link to masonry category #1305836

    Thank you for answering.

    I replaced the function with your new one, but unfortunatly it now does not have anything selected anymore. Not even if I reload the page.

    Please try for yourself.

    I also didn’t find a way to set a default preselected category in the masonry code.

    That might be a help too.

    Best regards,
    Rolf

    in reply to: Direct link to masonry category #1305764

    I turned off the Lazy Loading and migrate jQuery setting and know when I land on the page there is nothing selected. When I reload the page it works.

    How do I add a click event listener to the menu items manually?
    Best Regards
    Rolf

    in reply to: Masonry blog element – Nothing showing! #1303452

    Hi Enfold support team,

    I use the plugin GS Team to show and filter team members in different categories.

    Unfortunatly I get an error.

    Is there a way to fix this? I would like to carry on using both the plugin as well as the theme.

    Best regards

    • This reply was modified 3 years, 6 months ago by Onlineplaner.
    in reply to: direct link to masonry category #1303391

    Hi Ismael,

    this doesn’t work here. If I call the link with var psort=entwicklung the filter item is not active. Only if I reload the page it becomes selected.

    Is there a way to fix this?

    in reply to: Full screen slider #1077743
    This reply has been marked as private.
    in reply to: Full screen slider #1075977

    Hi Rikard,

    sorry for the delay – http://christianschwager.ch.tiberius.sui-inter.net/startseite-volle-hoehe/

    Help appreciated.

    Best regards

    Rolf

    in reply to: Shortcode color section #1058190

    Hi Enfold team,

    I managed to solve this by adding functions to child theme function.php and some css and a custom field in the page

    In case someone needs to do the same. Here is the code I used.
    Add to functions.php of child theme:

    add_shortcode( 'page_title', 'page_title_sc' );
    add_shortcode('field', 'shortcode_field');
     
    function shortcode_field($atts){
         extract(shortcode_atts(array(
                      'post_id' => NULL,
                   ), $atts));
      if(!isset($atts[0])) return;
           $field = esc_attr($atts[0]);
           global $post;
           $post_id = (NULL === $post_id) ? $post->ID : $post_id;
           return get_post_meta($post_id, $field, true);
    }
    
    add_shortcode('thumbnail','thumbnail_in_content');
    function thumbnail_in_content( $atts ) {
    global $post;
    return get_the_post_thumbnail_url( $post->ID );
    }

    Add to content in the color section of the header template page:

    <h1>[page_title]</h1>
    <p>[field "Subtitle"]</p> (Create a custom field with the name Subtitle)

    and css in header template

    <style type="text/css">
    #top #wrap_all #main .avia-no-border-styling {
    background-repeat: no-repeat;
    background-image: url([thumbnail size=full]);
    background-attachment: scroll;
    background-position: center center;
    background-size: cover !important;
    </style>

    Maybe there is an easier solution. But this one did the job for me.

    • This reply was modified 5 years, 11 months ago by Onlineplaner.
Viewing 11 posts - 1 through 11 (of 11 total)