• Creator
    Topic
  • #8278

    Paul Jabas
    Spectator
    Been thanked: 0 times

    Hi Roman,

    I made a child theme from alora and am using a background image (height: 360px, no-repeat) for main content area and the page content top padding value of 370px, so the other (e.g. text) content starts directly below the image. Everything works fine except in pages with template: contact. Here the google maps area places directly in the range where usually the background image resides and the image and padding is below google maps and contact form.

    Please advise what code to modify and where in contact.php or header.php.

    Thanks, Paul

Viewing 3 replies - 1 through 3 (of 3 total)
Replies
  • Roman
    Keymaster
    Post count: 2538
    Been thanked: 29 times
    #9158 |

    might I see the website?

    Paul Jabas
    Spectator
    Post count: 11
    Been thanked: 0 times
    #9162 |

    Hi Roman,

    as mentioned in other post, the side is currently under development and only local. Here is the code I changed meanwile in contact.php:
    On line 574 I added the phrase: && !is_page_template(‘contact.php’, true) to avoid the background image of main content to be shown

    <?php if($data[‘content_bg_image’] && !get_post_meta($c_pageID, ‘pyre_wide_page_bg_color’, true) && !is_page_template(‘contact.php’, true)): ?>

    I hope this is only happening with contact template and not with others where portfolio or sliders are concerned.

    Thanks, anyway. Paul

    Roman
    Keymaster
    Post count: 2538
    Been thanked: 29 times
    #9164 |

    I have not tested it so I cannot confirm that…

Viewing 3 replies - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.