• Resolved luxechandelier

    (@luxechandelier)


    This is what I have on my style.css

    .post {
    	margin: 10px 10px;
    	padding:15px;
    	line-height: 14pt;
    }
    div.stamp {
            background: transparent url() repeat-y 100% 0px;
            color: #e5d395;
            font: normal normal normal 26px/18px Georgia, Palatino, serif;
            padding-left: 15px;
            padding-right: 16px;
            text-align: center;
            width: 25px;
    }
    div.stamp span {
            color: #999;
            display: block;
            font: normal normal normal 13px/normal Arial, Helvetica, sans-serif;
            margin-top: 9px;
            text-transform: uppercase;
    }
    
    div.heading {
            padding-left: 12px;
            width: 516px;
    }

    and on my index.php

    <?php get_header(); ?>
    <?php include(TEMPLATEPATH."/left.php");?>
    
    <div id="content">
      <?php if (have_posts()) : ?>
      <?php while (have_posts()) : the_post(); ?>
    
      <div class="post" id="post-<?php the_ID(); ?>">
    <div class="stamp alignleft"><?php the_time(__('d','ndesignthemes')) ?></span><br><span class="month"><?php the_time(__('M','ndesignthemes')) ?></span> </div>
    <div class="heading alignleft"><h2 class="post-title"><a href="<?php the_permalink() ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2></div>
    
        <div class="clear"></div>
         <div class="entry">
          <?php the_content('Continue reading &raquo;'); ?>
         </div>

    Link to see it: https://yellowsavvydesign.com/designinwork/

    I’m trying to get the post title to stay on the same line as the date stamp instead of under it. Am I doing something wrong here? Please let me know and thanks in advance!

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Custom Date Stamp… to stay on left.’ is closed to new replies.