Forum

Thread tagged as: Question

MasterPage Changes Not reflecting in pages

Hi all ,

When i try to make some changes on my master page , i need those changes to be reflected on the pages created using the master page .

As of now this is not happening .

My Masterpage :

<?php if (!defined('PERCH_RUNWAY')) include($_SERVER['DOCUMENT_ROOT'].'/missan/perch/runtime.php'); ?>
<!DOCTYPE html>
<html>
<!-- ============================ Header ============================ -->
<?php
perch_layout('global/header', array(
));
?>
<!-- ============================ Header ============================ -->
<body style="overflow-x:hidden">


    <!-- Preloader 
    <div class="preloader"></div>
    -->
    <!-- Main Header-->
    <?php
perch_layout('global/navigation-main', array(
));
?>
    <!--End Main Header -->

    <!--Main Slider-->
     <?php perch_content('1xSection'); ?>

    <!--End Offer Section Two-->
    <section class="case-section">
        <div class="auto-container">
            <!--Sec Title-->
            <div class="sec-title centered">
                <h2> Recent Case Studies</h2>
                <div class="title-text">Have a quick look at few of our client case studies</div>
            </div>
        </div>
        <div class="four-item-carousel owl-carousel owl-theme">
            <?php
perch_blog_custom(array(
          'sort'=>'postDateTime',
        'sort-order'=>'DESC',
        'template'=>'blog/posts/_case-study-main.html',
));
?>
        </div>
    </section>

    <!--Call To Action Section-->

    <!--End Call To Action Section-->
    <!--End Consulting Section-->

    <!--News Section Two-->
    <!--End News Section Two-->

    <!--Call To Action Section-->
    <div class="call-to-action-section">
        <div class="outer-container">
            <div class="clearfix">

                <!--Left Column-->
                <div class="left-column clearfix">
                    <div class="image-layer" style="background-image: url(images/background/1.jpg)"></div>
                    <div class="inner-column">
                        <h2>We help you to unlock & unleash the power <br> within your large scale Business</h2>
                    </div>
                </div>

                <!--Right Column-->
                <div class="right-column">
                    <div class="inner-column">
                        <a href="#" class="theme-btn btn-style-four">Book a Consultation</a>
                    </div>
                </div>

            </div>
        </div>
    </div>
    <!--End Call To Action Section-->

 <?php
perch_layout('global/footer', array(
));
?>
</div>
</body>
</html>

When i try to change the html in this page , it doesnt get reflected on the pages created using it . Do let me know how can it be made possible .

Titus Saju

Titus Saju 0 points

  • 1 week ago
Drew McLellan

Drew McLellan 2624 points
Perch Support

Were the pages created by copying the master page, or by referencing it?

If the former, the won't update. If the latter, they will.

Best way to download https://duoforpc.website on windows