-
AuthorPosts
-
March 2, 2023 at 10:27 am #1399781
On custom templates the footer does not show up the right way. If you compare https://www.vdhurk.nl/ with https://www.vdhurk.nl/bedrijfswagens/bakwagens/ you can see the difference.
I found out the footer is placed outside of #footer-page and outside of #wrap_all. We use a page for the footer.March 2, 2023 at 7:21 pm #1399879Hey bonsaimedia,
I can’t see any difference between the two pages you linked to, could you share a screenshot highlighting the problem please?
Best regards,
RikardMarch 7, 2023 at 9:20 am #1400329Hi Rikard,
When you compare the two footers, you can see the two red triangles are much bigger than they are supposed to be. There is also a border on the top and bottom of the reviews that shouldn’t be there.
March 8, 2023 at 5:33 am #1400427Hi,
Thank you for the inquiry.
Are you using the Page Content element? In the other page, the color section containing the triangle is outside the footer content container and the ID attribute “klantenaanhetwoord” is not applied to the color section, which might be the reason why the styles of the elements are a bit different. Please check the Custom ID Attribute field in the Advanced > Developer Settings panel of the color section.
Best regards,
IsmaelMarch 8, 2023 at 3:24 pm #1400484No, we are not using the Page Content element. We are using a page as footer and include it in the template with get_footer(). The ID “klantenaanhetwoord” is not the problem. The problem is the fact that the whole footer is placed outside of the #footer-page and of #wrap_all on the page with the custom template.
“the color section containing the triangle is outside the footer content container”. Yes, that’s what I wrote. But not just the triangles, the whole footer.March 10, 2023 at 3:10 am #1400618Hi,
What do you mean by “custom template”? Did you create a copy of the template-builder.php file? The elements will not render properly if they are not properly compiled or if they didn’t run through the template-builder.php file.
Best regards,
IsmaelMarch 13, 2023 at 10:22 am #1401000By “custom template” I mean we use an archive template for the custom post type. In this template we include the footer with get_footer().
March 18, 2023 at 4:07 pm #1401607Hi,
Thanks for your patience, it looks like your custom archive template is not built correctly as the footer page content is outside the footer-page div, most likely due to missing closing div’s Please check by replacing your custom archive template with a copy of the default archive template, the structure should be then correct, if so then compare the structure of the two archive templates.Best regards,
MikeMarch 21, 2023 at 5:05 pm #1401927That’s not the case. I’ve removed everything from the template except get_header(); and get_footer(); and it still doesn’t work.
March 22, 2023 at 1:51 am #1401964Hi,
Sorry, that is not what I meant, I assume that your custom archive template is in your child theme, please try replacing your custom archive template with a copy of the default archive template and see if it works then.Best regards,
MikeMarch 22, 2023 at 9:27 am #1401980Yes, I’ve tried that too. But it doesn’t make a difference.
March 22, 2023 at 11:42 am #1401995Hi,
So the footer is correct on standard pages, but not on your CPT, even if you don’t use the custom archive template.
This would point to the error in a different customized file and not in the theme since the standard pages are correct, please include an admin login so we can see what other customizations you have.Best regards,
MikeMarch 23, 2023 at 4:55 pm #1402173Details below:
March 25, 2023 at 3:07 pm #1402462Hi,
Thanks for your patience and the link to your site, I wasn’t able to find a solution for this so I have asked the rest of the team for advice, I will reply back when I get some feedback.Best regards,
MikeMarch 27, 2023 at 3:54 pm #1402651Hey,
Please create a staging copy of your site and send us temporary WP admin and FTP logins privately so we can investigate the issue.
Regards,
YigitMay 4, 2023 at 11:53 am #1406436Hi Yigit,
This is a website of 30GB+ size so i would rather don’t make a duplicate. Could you check/fix the problem in the live website please? Just be careful and it will be fine ;-)
May 4, 2023 at 4:21 pm #1406456just a little question – did you activate the advanced layout builder for your custom post type – via filter: avf_alb_supported_post_types ?
and is it a CPT or do we have here a custom template – based on archive ?May 4, 2023 at 4:28 pm #1406457No, the advanced layout builder was not activated. But no I have activated it it works! Thank you!
May 4, 2023 at 5:04 pm #1406463 -
AuthorPosts
- You must be logged in to reply to this topic.