Posted By

bnotess on 11/02/10


Tagged

standard box theme mod author


Versions (?)

Standard Theme Author Box "Call to Action" mod


 / Published in: HTML
 

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

Modify the StandardTheme.lib file

  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 */

Report this snippet  

You need to login to post a comment.