Forum Replies Created
-
AuthorPosts
-
July 19, 2021 at 1:40 pm in reply to: Masonry Grid – Mobile – Get rid of margins (not image spaces) to make truly 100% #1310733
Great. Smush was the plugin that made the problems.
Thank you!
July 16, 2021 at 11:45 am in reply to: Masonry Grid – Mobile – Get rid of margins (not image spaces) to make truly 100% #1310385Hi 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, 4 months ago by Onlineplaner.
Thank you for your help!
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?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,
RolfI 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
RolfHi 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, 5 months ago by Onlineplaner.
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?
This reply has been marked as private.Hi Rikard,
sorry for the delay – http://christianschwager.ch.tiberius.sui-inter.net/startseite-volle-hoehe/
Help appreciated.
Best regards
Rolf
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, 9 months ago by Onlineplaner.
-
AuthorPosts