• Hello

    I’m new to WordPress and have a few problems with customising a theme. If you head over to my weblog, you can see what I mean. (http://www.abdulrehman.co.uk/)

    First problem is with the header. How do I remove the URL of my blog from within the header?

    Another problem is in the ‘Image Test 2’ post. How do I get the image so that it floats right and has the text wrapped around it? I’ve tried following the steps I found on a link I found whilst I searched the forums on the WordPress codex page or something, but I still can’t the image floating to the right or left in that case with the text wrapped around it.

    I want to install the ‘pull-a-quote’ shown here on this page (http://www.adampolselli.com/archives/2003/07/08/pullaquote.php) too, but I don’t know which page to insert the code in and further, how would I use the feature when writing a post?

    Also, on the pages (colophon, port.. etc), the left margin knocks in quite a bit. How do I get it so it stays in place as it does on the home [weblog] page?

    Any help with these problems would be much appreciated. Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘A Few Problems’ is closed to new replies.