Ionic
(Difference between revisions)
(Added "Adding date below post titles on Posts page") |
(Added "Changing the width of each block on the Posts page") |
||
| Line 80: | Line 80: | ||
File:adding-dates-to-ionic-after.png | File:adding-dates-to-ionic-after.png | ||
</gallery> | </gallery> | ||
| + | |||
| + | ==Changing the width of each block on the Posts page== | ||
| + | |||
| + | Add the following at the end of your theme's style.css: | ||
| + | |||
| + | <pre class="brush:css;"> | ||
| + | .builder-module-content .magazine-post { | ||
| + | width: 280px !important; | ||
| + | } | ||
| + | </pre> | ||
| + | |||
| + | Change 280px in the above to your desired value. | ||
Revision as of 02:14, January 24, 2011
Edit the theme's style.css.
Change
.builder-module-navigation {
font-size: 1em;
background: transparent url('images/nav-bg.png') bottom;
display: block;
width: 99%;
margin: 0em auto;
}
to
.builder-module-navigation {
font-size: 1em;
background: transparent url('images/nav-bg.png') bottom;
display: block;
width: 100%;
margin: 0em auto;
}
and
.builder-module-navigation ul {
float: left;
display: block;
background: url('images/nav-top-shadow.png') repeat-x;
margin: 0;
padding: 0;
width: 99%;
}
to
.builder-module-navigation ul {
float: left;
display: block;
background: url('images/nav-top-shadow.png') repeat-x;
margin: 0;
padding: 0;
width: 100%;
}
Thanks to Dana.
Adding date below post titles on Posts page
Edit index.php under wp-content/themes/BuilderChild-Ionic
Change
<h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3> <!--post text with the read more link -->
to
<h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3> <div class="date"> <span class="weekday"><?php the_time( 'l' ); ?><span class="weekday-comma">,</span></span> <span class="month"><?php the_time( 'F' ); ?></span> <span class="day"><?php the_time( 'j' ); ?><span class="day-suffix"><?php the_time( 'S' ); ?></span><span class="day-comma">,</span></span> <span class="year"><?php the_time( 'Y' ); ?></span> </div> <!--post text with the read more link -->
- Before and After
Changing the width of each block on the Posts page
Add the following at the end of your theme's style.css:
.builder-module-content .magazine-post {
width: 280px !important;
}
Change 280px in the above to your desired value.