How To Change Post Title Position?
-
I’m trying to change the position of the post title and the postmeta (positioned right below the title) so that it is in the middle of my video box that is in the posts. I want to make it so that no matter how big the title is, it still stays in the middle and if it takes part of the title to a new line that’s fine. So where would I go to code this and what would I enter? Thanks for any help!
Here is a link to one of my posts:
http://videorapture.com/VideoGallery/interesting/bowling-ball-juggler-hits-kid/im thinking it has something to do with this block of code in the css but I havnt had any luck…
.posttitle { margin: 0 0 0.6em 0; width: 100%; color: #000000; font-size: 1.5em; font-weight: bold; overflow: auto; } .posttitle a { float: left; padding: 0; } .posttitle a:link, .posttitle a:visited { color: #546371; } .posttitle a:hover, .posttitle a:active { color: #000033; }and in single.php i found this code but also no luck with any of the stuff I tried…
<center><h1 class="posttitle"><?php the_title() ?></h1></center>
The topic ‘How To Change Post Title Position?’ is closed to new replies.