Retro-Fitted Theme – Modification to Catagory Text
-
I want to enclose the categories section of the post in a container like the one in the attached picture below
The problem is that the code for that is too complex to edit(I am a beginner), here is the code.
<?php echo apply_atomic_shortcode( ‘entry_meta’, ‘<div class=”entry-meta”>’ . __( ‘[entry-terms taxonomy=”category” before=”Posted in “] [entry-comments-link before=” | “]’, ‘<font color=darkred>retro-fitted</font>’ ) . ‘</div>’ ); ?>
And here is the css for entry.meta
.entry-meta {
clear: both;
margin: 0 0 20px 0;
font: normal normal normal 12px/25px Arial, Verdana, sans-serif;
color: #999;
}I have added this code to Css to try to make this work.
.entry-meta {
margin:2em 0;
}.entry-meta .entry-under {
background:#fc0;
padding:5px 10px;
line-height:20px;
color:#000;
}.entry-links .entry-list {
background:url(library/images/cat-list.png) no-repeat #000;
padding:5px 10px 5px 20px;
margin-left:-1em;
}But I am unable to find where to replace or use this code in order to achieve my result.
Sorry if it is still confusing.
The topic ‘Retro-Fitted Theme – Modification to Catagory Text’ is closed to new replies.