Welcome Text on Homepage

Discussion in 'Compass WordPress Theme' started by heydenbluth, Dec 11, 2014.

Thread Status:
Not open for further replies.
  1. heydenbluth

    heydenbluth New Member

    Joined:
    Mar 13, 2012
    Messages:
    2
    Likes Received:
    0
    Hello, what is the easiest way to insert a Welcome-Text on the Homepage in the Compass-Theme? I attached a layout image to give an example. thanks!
     

    Attached Files:

  2. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello,
    You have to follow some steps.

    Step 1:
    Put given code in front-page.php as i putted shown in image.
    PHP:
    ?>
    <div class="extra-content-welcome">
      <h2>Mention multiple e-mail ids here to receive</h2>
      <p>
      E-mail Address- Mention multiple e-mail ids here to receive mails from lead capture form. Add comma and space to separate two email ids. For eg:- [email protected][email protected] Address- Mention multiple e-mail ids here to receive mails from lead capture form. Add comma and space to separate two email ids.
      </p>
      </div>
    <?php
    compass-welcome-11-dec.png



    step 2:
    Use this CSS code in custom CSS box
    (Appearance -> Theme Options -> Styling Options -> Custom CSS) of your dashboard.
    Code:
    .extra-content-welcome p,.extra-content-welcome h2 {
    width: 80%;
    text-align: center;
    margin: auto;
    }
    .extra-content-welcome{
    border-bottom: 1px dashed #d3d3d3;
    padding-bottom:20px;
    margin-bottom:20px;
    }
    Thanks & Regards
    Pramod
     
  3. heydenbluth

    heydenbluth New Member

    Joined:
    Mar 13, 2012
    Messages:
    2
    Likes Received:
    0
    Thank you!
     
Thread Status:
Not open for further replies.

Share This Page