Forum Replies Created
-
AuthorPosts
-
Yes, you solved the problem!
Thank you so much for all your time and effort!This topic can be marked as resolved.
Hi Ismael,
Thanks again.
I added the CSS code snippets and the unwanted extra blocks are gone. Nice!
I also replaced the bit of code in mij functions.php.
On mobile, the correct layout (added Read More texts and correct spacing between masonry brick) still has a delay in loading, around 5 seconds, depending if you are scrolling or not.
The delay seems to be a bit less than before, so that’s very good.Can you please have a look at my entire functions.php file? Maybe there is some code that could be removed or replaced by something better?
I have previously provided login details.
Thanks in advance!Hi Ismael,
This only seems to hide the empy item om the “News” page (https://regenboogalliantie.nl/nieuws/)
The same issue is visible in the masonry element on the page https://regenboogalliantie.nl/nieuws/
And twice on the homepage.
Can you also generate the CSS code to hide the empty block at the other 3 locations?Thanks in advance.
In addition: unfortunately, removing the script from functions.php didn’t solve the original issue on mobile. The “read more” text and correct margins are still added with a delay.
This is the code in the functions.php which I am referring to:
// Verwijder lege masonry items (zonder afbeelding) en herbereken de layout function regenboog_fix_empty_masonry_items() { ?> <script type="text/javascript"> jQuery(document).ready(function($){ var $container = $('.av-masonry'); if ($container.length) { // Loop door alle masonry entries $container.find('.av-masonry-entry').each(function() { // Als er geen afbeelding in de entry staat, verwijderen if ($(this).find('img').length === 0) { $(this).remove(); } }); // Na een kleine vertraging Masonry opnieuw laten rekenen // setTimeout(function() { // $container.isotope('layout'); // }, 300); } }); </script> <?php } add_action('wp_footer', 'regenboog_fix_empty_masonry_items', 100);
When I remove this piece of code, the masonry grid looks like the screenshot in the Dropbox (link in Private Content)
Hi Ismael,
I have tried this, but this doesn’t change anything to the delay in how the layout is shown on the frontend.
Maybe we can try something else?
The reason that the extra JS code is added in the functions.php is that, without it, an unwanted extra “block” is added to the masonry grid layout. All the way at the beginning, an empty block is displayed.
Maybe if you know the solution to that problem, the extra JS code doesn’t need to be added and the other problem (delay in displaying the correct layout) will be solved as well!I don’t see any difference.
I provided new screenshots on Dropbox.
The link is in the private content.Again, my goal is that there is no delay in the steps 1 – 3 happening on the page.
login credentials in private content
September 30, 2025 at 10:12 am in reply to: Margins for masonry grid loading delay on mobile #1489683Thank you Ismael, but that didn’t change anything.
Just to be extra clear what the issue is. When viewed on mobile:
1. first, the margins appear in the correct size
2. after a second or 2, a Read More line appears underneath each summary, thinning the margins to very narrow
3. after scrolling down and up, the margins widen to the desired with.Ideally, all these steps should happen instanly when loading the page (as it does on the desktop version).
September 29, 2025 at 10:58 am in reply to: Margins for masonry grid loading delay on mobile #1489640Hello Mike,
Thank you for your reply.
Your solution makes the margins slihjtly better on mobile, but they still move around after all elements are properly loaded.
Is there a solution available in which the margins are good right away?September 12, 2025 at 2:56 pm in reply to: Margins for masonry grid loading delay on mobile #1489193I just added a third screenshot yo the shared folder.
I changed a post slider to a masonary grid on this page:
The bottom margin of each post preview isn’t loading, see screenshot 3.
Funny thing is, when I click on it with the inspector tool in Chrome, the margins adjust to the correct size.
September 12, 2025 at 11:00 am in reply to: Margins for masonry grid loading delay on mobile #1489187Hi Ismael,
Thanks you for your reply.
The problem only occurs on mobile.September 11, 2025 at 2:12 pm in reply to: Margins for masonry grid loading delay on mobile #1489163Sorry, forgot to check Notify me of follow-up replies via email
Hi Ismael,
Thank you very much for your solution. It works perfectly.Hi Ismael,
Thank you for the updated script. It works fine!
Please mark this topic as resolved.
Hello Ismael,
Thanks for your reply and code!
I have added this code and it works on the excerpt p text, so that’s nice.But my wish is the make the entire area clickable. By this I mean the entire column with the post preview, including the background.
So is CSS that would be the “.avia-content-slider article.slide-entry” area.
Is this also possible?
July 25, 2025 at 11:02 am in reply to: Stretch background image to edge of screen on half column #1487227Hello Guenni and Rikard,
Thank you for your replies!
I was able to created the layout I wanted using @guenni007 Guenni’s solution!
The code I ended up using is:@media only screen and (min-width:768px) { .content-alignment .flex_cell.avia-builder-el-first { padding-left: calc(50% - 655px) !important; } .content-alignment .flex_cell.avia-builder-el-first .flex_cell_inner { padding: 50px 50px !important; } }
The page, under development:
Thanks for the help!
-
This reply was modified 3 months ago by
pelgrimrat.
Hi Rikard,
That’s it!
I feel a bit stupid now :D
Thank you so much!Please mark as resolved.
Hi Rikard,
For instance, on the homepage when you edit the text in the text area under “Hallo en welkom”, the save button in the pop-up text editor is unresponsive.
Also, when you delete the contents in the column next to it (About me) and save the page, the content restores automatically!
Can you please try these two situations?
Hello Rikard,
I just tried with Firefox, but the problem is the same there.
I have included an admin login in the private content.-
This reply was modified 3 months, 2 weeks ago by
pelgrimrat.
It works perfectly, thank you so much!
Eventually, I used this code:
.header-scrolled .logo .subtext > img { opacity: 0; display: none; } #header .logo img, #header.header-scrolled .logo img { transition : opacity 0s ease; }
I think it looks perfect now, thanks again!!
Page:
This topic can be closed.
Hi Ismael,
Thank you very much for your reply!
Your code works perfectly when scrolling down!When I scroll back up, there is still a transition visible which I don’t like: the “scrolled” logo is getting stretched before fading into the “full” logo.
Is that transition also possible to hide with CSS?Thanks in advance.
Hi Mike,
Thank you so much! It worked!
I think I forgot the #top and #mainThis topic can be closed
This topic can be closed
It’s solved!
By itself….. ?Hi Ismael,
Thank you very much for your reply!
I have tried your code and this solved the problem, so thank you!After I added your code, the “default” bullet points were still there. To remove these, I made some changes in my code.
The code now looks like this:/* bullet points */ li::marker { color: transparent; font-size: 28px; } .entry-content-wrapper div li:before { content: ''; width: 9px; height: 9px; display: block; background: #ff9001; border-radius: 100%; float: left; top: 8px; position: relative; margin-right: 14px; margin-left: -24px; }
August 2, 2023 at 4:47 pm in reply to: Advanced Layout Editor keeps loading on 1 specific page #1415267Hi!
Did you fix the issue?
Because it is fixed!August 2, 2023 at 3:31 pm in reply to: Advanced Layout Editor keeps loading on 1 specific page #1415260Hello Yigit,
I updated Enfold to it’s latest version, but the issue persist. I still can’t edit the page “Kontakt” because of this.
I created a temporary admin login and shared the information with you.I look forward to an update!
Best regards,
MaartenAugust 2, 2023 at 3:26 pm in reply to: (get_page_by_title() function has been deprecated scince 6.2.0) #1415259Hi Yigit,
Thank you for your reply.
I updated the theme and the error message is indeed gone.
Thanks againThank you Rikard, for your swift reply.
It would be great if Enfold could offer this in a future release, because I think the forms functionality and looks in Enfold are great.Hi Mike,
Perfect! Thank you so much!
Best regards,
Maarten -
This reply was modified 3 months ago by
-
AuthorPosts