Standard Theme Author Box "Call to Action" mod


/ Published in: HTML
Save to your folder(s)

Modify the StandardTheme.lib file


Copy this code and paste it in your HTML
  1. <!-- Inside the <div class="author_info"> tags -->
  2.  
  3. <div class="cta-thumb"><img src="<?php bloginfo('url'); ?>/your/cta/image.jpg"></div>
  4. <div class="cta-details">
  5. <p><strong>Something to get your attention</strong</p>
  6. <a href="<?php bloginfo('url'); ?>/subscribe">A call to action</a>
  7. </div>
  8.  
  9. /*Add to your custom.css */
  10.  
  11. .cta-thumb {float: left; border: 1px solid #b0b0b0; margin: 0 10px 10px 0; height: auto; width: auto;}
  12.  
  13. .author_info {height: 122px; position: relative; margin: 0 0 20px 0; padding: 20px 25px 10px; background-color: #fff; }
  14.  
  15. /*adjust author_info height appropriately */

URL: http://www.freshroastcreative.com/blog

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.