Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1472797

    Hi team,
    I’ve an issue when :

    • I create an alb_custom_layout for my pages with a section color. I would set a dynamic background with the featured image of my pages.
    • I set correctly the image background with a default img and I write {wp_custom_field:_thumbnail_id} for the dynamic value
    • For the content of my section, I add in special_heading block a dynamic title ({wp_post_title} in heading and {wp_post_excerpt} in sub-heading field)
    • For testing, I’ve add too a dynamic image in my section color content (same dynamic field :{wp_custom_field:_thumbnail_id} )
    • I call my alb_custom_layout on my pages and I set the featured image on each pages (page A, page B, page C…)
    • In front, when I go on page A, I’ve the correct background image (the featured image of page A) , I’ve the correct title, subtitle and my image content is the featured image of page A too
    • BUT, when I go on page B, C or D, I’ve the featured image of page A for the background of my section color, the good title, subtitle and the image content work correctly !

    What’s wrong with the dynamic call of the background image of my section color?

    Thanks for your help, I put in private the access of my site.

    Marc

    • This topic was modified 2 weeks, 2 days ago by Octopus4444.
    #1474133

    Hey Octopus4444,
    Thank you for your patience, but the example links that you posted all lead to a 404, when I check a few of your pages the color section background image with wp_custom_field:_thumbnail_id} seem to work correctly when I check. For example on /modules-specifiques/ you have this
    Screen Shot 2024 12 22 at 7.28.48 AM
    pointing to this thumbnail
    Screen Shot 2024 12 22 at 7.31.33 AM
    and on the frontend it shows correctly
    Screen Shot 2024 12 22 at 7.32.46 AM
    perhaps you have already sorted this out?

    Best regards,
    Mike

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