• sandy1962

    (@sandy1962)


    How can I add two additional blank divs to be populated with whatever information I want on the front page as can be seen on my website? In between ‘Our Services’ and ‘Footer Call Out’ sections.

    https://seacret.co.in/

    I have a been able to insert the divs but must have messed up the in the procedure somewhere. The page is behaving erroneously now.

    Could someone guide me with the correct procedure to achieve this?

    Thank you

Viewing 11 replies - 1 through 11 (of 11 total)
  • weblizar_support

    (@weblizar_support)

    Hi..

    Please send me your code in html file that you want to add on front page in div.

    Thanks.

    Thread Starter sandy1962

    (@sandy1962)

    Hello Support,

    Ideally I would want them to be blank divs so that I can add whatever HTML or CSS in them. However I’ll send a sample HTML soon.

    Thank you and much appreciated.

    Thread Starter sandy1962

    (@sandy1962)

    <style>
    table, th, td {
    border: 1px solid black;
    border-collapse: collapse;
    }
    th, td {
    padding: 5px;
    text-align: left;
    }
    </style>

    <table style=”width:100%”>
    <tr>
    <th>Name</th>
    <th colspan=”2″>Telephone</th>
    </tr>
    <tr>
    <td>Mr. Gomes</td>
    <td>XXX 77 854</td>
    <td>XXX 77 855</td>
    </tr>
    </table>

    weblizar_support

    (@weblizar_support)

    Hi..

    Please create a child theme and create a home-services.php file in that directory.

    Now copy code from LINK and paste into child theme’s home-services.php file.

    Let’s know further assistance.

    Save the changes.

    Thanks.

    Thread Starter sandy1962

    (@sandy1962)

    Hello!

    Thank you for the reply. However, the link seems to be broken. Please verify.

    Thanks

    weblizar_support

    (@weblizar_support)

    Hi..

    The link is working fine. Please follow above suggestion.

    Let’s know further assistance.

    Thanks.

    Thread Starter sandy1962

    (@sandy1962)

    Hello!

    When I click on the link, this is the message I get:

    The URL you requested has been blocked

    The page you have requested has been blocked, because the URL is banned.

    URL = pastebin.com/m8raKktG

    Please advise.
    Thx

    weblizar_support

    (@weblizar_support)

    Hi..

    Please try this LINK

    Thanks.

    Thread Starter sandy1962

    (@sandy1962)

    Hi!

    It’s still not working.

    The message:

    The URL you requested has been blocked
    The page you have requested has been blocked, because the URL is banned.

    URL = pastebin.com/E9J1js4y

    Thank you

    Thread Starter sandy1962

    (@sandy1962)

    Hi!

    It’s still not working.

    The message:

    The URL you requested has been blocked
    The page you have requested has been blocked, because the URL is banned.

    URL = pastebin.com/E9J1js4y

    Thank you

    weblizar_support

    (@weblizar_support)

    Hi..

    It may be server problem.

    Please copy below code and paste into child theme’s home-services.php file.

    <!-- service section -->
    <?php $wl_theme_options = weblizar_get_options(); ?>
    <div class="enigma_service">
    <?php if($wl_theme_options['home_service_heading'] !='') { ?>
    <div class="container">
        <div class="row">
            <div class="col-sm-12">
                <div class="enigma_heading_title">
                    <h3><?php echo esc_attr($wl_theme_options['home_service_heading']); ?></h3>
                </div>
            </div>
        </div>
    </div>
    <?php } ?>
    <div class="container">
            <div class="row isotope" id="isotope-service-container">
                <?php for($i=1; $i<4; $i++ )
                { ?>
                <div class=" col-md-4 service">
                    <div class="enigma_service_area appear-animation bounceIn appear-animation-visible">
                        <?php if($wl_theme_options['service_'.$i.'_icons'] !='')
                                 { ?>
                                    <div class="enigma_service_iocn pull-left"><i class="<?php echo esc_attr($wl_theme_options['service_'.$i.'_icons']); ?>"></i></div>
                                    <?php
                                 } ?>
    
                        <div class="enigma_service_detail media-body">
                            <?php if($wl_theme_options['service_'.$i.'_title'] !='')
                            { ?>
                               <h3><a href="<?php echo esc_url($wl_theme_options['service_'.$i.'_link']); ?>">
                               <?php echo esc_attr($wl_theme_options['service_'.$i.'_title']); ?></a></h3>
                               <?php
                            } ?>
    
                            <?php if($wl_theme_options['service_'.$i.'_text'] !='')
                            { ?>
                                <p><?php echo apply_filters('the_content', $wl_theme_options['service_'.$i.'_text'], true); ?></p>
                                <?php
                            } ?>
    
                        </div>
                    </div>
                </div>
                <?php } ?>
            </div>
        </div>
        <div class="container">
    <style>
    table, th, td {
    border: 1px solid black;
    border-collapse: collapse;
    }
    th, td {
    padding: 5px;
    text-align: left;
    }
    </style>
    
    <table style="width:100%">
    <tr>
    <th>Name</th>
    <th colspan="2">Telephone</th>
    </tr>
    <tr>
    <td>Mr. Gomes</td>
    <td>XXX 77 854</td>
    <td>XXX 77 855</td>
    </tr>
    </table>
    </div>
    
    </div>
    <!-- /Service section -->

    Save the changes.

    Thanks.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Adding additional divs on the front page’ is closed to new replies.