Home › Support Forums › Theme Support › Pinboard › Having page title with pages css instead of Currently Browsing › Reply To: Having page title with pages css instead of Currently Browsing
Jay
Participant
Really? I just got it to work… It may not be the best approach (and a slight bit messy) but here is what I did:
1. I added the code below right after the pinboard current location’s endif and right before the initial div in template-portfolio.php.
<div id="container">
<section id="content" <?php pinboard_content_class(); ?>>
<?php if( have_posts() ) : the_post(); ?>
<article <?php post_class(); ?> id="post-<?php the_ID(); ?>">
<div class="entryJT">
<header class="entry-header">
<<?php pinboard_title_tag( 'post' ); ?> class="entry-titleJT"><?php the_title(); ?></<?php pinboard_title_tag( 'post' ); ?>>
</header><!-- .entry-header -->
<div class="entry-content">
<?php the_content(); ?>
<div class="clear"></div>
</div><!-- .entry-content -->
</div><!-- .entry -->
</article><!-- .post -->
<?php endif; ?>
</section><!-- #content -->
<div class="clear"></div>
</div><!-- #container JT-->
2. Then I added this css to theme options custom css:
.page .entryJT{
margin:1.7%;
background:#fff;
border-bottom:#DDD 1px solid;
border-bottom:rgba(0, 0, 0, .13) 1px solid;
box-shadow:0 0 5px rgba(0, 0, 0, .1);
margin-bottom: 0% !important;
padding: 20px;
}
.entry-titleJT{
margin:0 0 18px 0;
font-size:36px;
line-height:1.62em;
}
You can see it working on my portfolio page: Portfolio