• Resolved Dibyendu

    (@whereangelsfeartotrade)


    How to make a row division before the Featured pages? Actually I want to put Mailchimp subscription bar.

Viewing 15 replies - 1 through 15 (of 29 total)
  • add_filter( 'tc_slider_display', 'my_extras_after_slider' );
    function my_extras_after_slider($html) {
        $myextrahtml = '<h4>This is an extra heading</h4><p>This is some extra text</p>';
        return $html . $myextrahtml;
    }

    in your functions.php. Change $myextrahtml to be what you want.

    Thread Starter Dibyendu

    (@whereangelsfeartotrade)

    Parse error: syntax error, unexpected T_CLASS in /home/rdo69150/public_html/wp-content/themes/customizr-child/functions.php on line 7

    It shows this error

    I did:

    <?php
    /**
    * This is where you can copy and paste your functions !
    */
    
    $myextrahtml
    <div class="row-2">
            <div class="container">
            	<h3>We make your world a beautiful place.</h3>
                <h3>Signup for our Newsletter to be updated !</h3>
    	  <!-- Begin MailChimp Signup Form -->
    <form action="https://rhododendron.us3.list-manage.com/subscribe/post?u=48143a9a0332f71bfc1e2bc3e&id=7f56733d8a" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
    	<input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="[email protected]" required>
        <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
    	<div class="clear">
    	<input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button">
    	</input>
    	</div>
    </form>
    </div>
    
    <!--End mc_embed_signup-->
            </div>

    You didn’t insert my code, and then ask why it didn’t work?

    There’s a line in my code above that says:
    $myextrahtml = ' .... ';

    You need to put your html inside those quotes.

    Thread Starter Dibyendu

    (@whereangelsfeartotrade)

    This one worked absolutely correct. Thanks so much. But there is a prob if you check the url https://www.rhododendron.in there is no division after the extra HTML thingy.

    How to divide it and I want to keep a different bg color for this subscription row to make it look better.

    Thread Starter Dibyendu

    (@whereangelsfeartotrade)

    This is what I have right now

    <?php
    /**
    * This is where you can copy and paste your functions !
    */
    
    add_filter( 'tc_slider_display', 'my_extras_after_slider' );
    function my_extras_after_slider($html) {
        $myextrahtml = '<div class="row-2">
            <div class="container">
            	<h3 style="text-align: center;">We make your world a beautiful place.</h3>
                <h3 style="text-align: center;">Signup for our Newsletter to be updated !</h3>
    	  <!-- Begin MailChimp Signup Form -->
    <form action="https://rhododendron.us3.list-manage.com/subscribe/post?u=48143a9a0332f71bfc1e2bc3e&id=7f56733d8a" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate style="text-align: center;">
    	<input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="[email protected]" required>
        <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
    	<div class="clear">
    	<input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button"style="text-align: center;">
    	</input>
    	</div>
    </form>
    </div>
    
    <!--End mc_embed_signup-->
            </div>';
        return $html . $myextrahtml;
    }

    Well done. It’s working! Could you explain what you mean by “there is no division after the extra HTML thingy”?

    Thread Starter Dibyendu

    (@whereangelsfeartotrade)

    There should should be a thick line between the featured page row and mailchimp subscription to make it took separate and the back back ground for particularly this part is looking a bit weird. Can I change the Background for only this row?

    I hope I could explain it better now.

    Thread Starter Dibyendu

    (@whereangelsfeartotrade)

    @electricfeet

    Any suggestion?

    Thread Starter Dibyendu

    (@whereangelsfeartotrade)

    @redelconsulting

    Can you please help me out to figure out how to change the bg color of the particular row I am pointing to. https://www.rhododendron.in

    Thread Starter Dibyendu

    (@whereangelsfeartotrade)

    @electricfeet

    If you get time please check on my last query here.

    Hi Yj9S8f1Z)HS2,

    Your website looks like pretty good,below my site

    https://rzngi.uphero.com/

    from where exactly (css) i can able to change the hider to be like your website. ALL(orange)

    – You notes when switch to Arabic the home slider is not working,
    Could you please help me out in this matter?

    Regards,
    Ahmed.

    @helwan, please start a new Topic for your problem.

    @whereangelsfeartotrade, don’t see any Mailchimp anywhere. Can you post a screenshot at postimg.org please?

    Thread Starter Dibyendu

    (@whereangelsfeartotrade)

    Try:

    #main-wrapper {
      border-top: 2px solid #FFFFFF;
      margin-bottom: 20px;
      margin-top: 20px;
    }

    Thread Starter Dibyendu

    (@whereangelsfeartotrade)

    This I need to add in function.php right? or style.css

Viewing 15 replies - 1 through 15 (of 29 total)
  • The topic ‘How to make a row division before the Featured pages’ is closed to new replies.