1. Edit header.php or files in the theme which contain that have the header id and remove the <a>
code from it.
2. For image 2, you need to add style="float:left"
as an attribute of the img
tag
3. Put the code of pull-quote in style.css of your theme
4. Reduce the margin /padding of #content
in style.css to get your optimum value
I normally don’t care for it when this answer is given, but with that number of very basic questions, you really need to start here:
http://codex.wordpress.org/Getting_Started_with_WordPress
1. You’ll need to edit the Header template file. This can be done from the Dashboard Presentation tab under Theme Editor
2. The best way to do that is to create an image class and subclasses in the stylesheet and then in the <img>
tag add “class=alignright” or “class=center” etc.
3. You need to add that whereever you want it. Want it in the header? Then it needs to go in the Header template file. Want it in the Sidebar, then add it to the sidebar template file. If you want to add it to a post, you’ll need a plugin, as you can’t run PHP code within a post.
4. That’s going to depend on your stylesheet and your templates. You need the content to be styled the same as on the homepage, so the key is going to be to assign the content on those pages the same class or id as the post content on the main page. (Specifically, your posts are in a <div class="entry">
and the content of the subpages are not. It seems kind of odd to me that the entry style moves the margin out instead of in, but that’s why it does what it does. You might want to just add that same class around the content of those pages.)
1: Do you have a header.php file in your theme? Look for something like "><?php bloginfo('name'); ?>
2: I have something like .entry img {
float: left;
padding: 0px;
border: thin solid #ccc;
margin: 5px 5px 5px 0px;
}
in my CSS.
Thread Starter
350z
(@350z)
Here’s an update.
Problem 1, 2 and 3 are solved, but I’m still stuck with 4, and need a little help with 3 still.
The pullquote works fine, but there’s too much of a gap between the bottom of it and the text. How do I make that gap shorter so that it looks like the text is wrapping around the pullquote? Also, how do I get rid of the indent it’s created?
Also, does anyone know how to get the pages aligned the same way as the weblog page on the Blix theme? Class I see you’ve got it working, how did you do it? Please share.
Thanks.
350z, in my CSS I have:
.entry blockquote p {
border-left-width: 5px;
border-left-style: solid;
border-left-color: #CCCCCC;
margin: -15px 0px 5px;
padding: 0px 0px 0px 3px;
}
That takes care of mine, although it’s not finished (see where the border disappears when it’s next to a picture : http://timmi.pointclark.net/archives/41).
Look at the source for the page you want to change, like on my http://timmi.pointclark.net/om/ , there is a <div id="container" class="singlecol">
, check if it has margin or padding left.
Thread Starter
350z
(@350z)
Update, all fixed. Thanks everyone.