Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #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.

    #1399879

    Hey 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,
    Rikard

    #1400329

    Hi 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.

    #1400427

    Hi,

    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,
    Ismael

    #1400484

    No, 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.

    #1400618

    Hi,

    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,
    Ismael

    #1401000

    By “custom template” I mean we use an archive template for the custom post type. In this template we include the footer with get_footer().

    #1401607

    Hi,
    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,
    Mike

    #1401927

    That’s not the case. I’ve removed everything from the template except get_header(); and get_footer(); and it still doesn’t work.

    #1401964

    Hi,
    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,
    Mike

    #1401980

    Yes, I’ve tried that too. But it doesn’t make a difference.

    #1401995

    Hi,
    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,
    Mike

    #1402173

    Details below:

    #1402462

    Hi,
    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,
    Mike

    #1402651

    Hey,

    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,
    Yigit

    #1406436

    Hi 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 ;-)

    #1406456

    just 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 ?

    #1406457

    No, the advanced layout builder was not activated. But no I have activated it it works! Thank you!

    #1406463

    Hi,
    Glad Guenni007 could help, thank you Guenni007.

    Best regards,
    Mike

Viewing 19 posts - 1 through 19 (of 19 total)
  • You must be logged in to reply to this topic.