• I’m using the category images plugin from C2C.

    On the front page it displays the image with a large indent:

    https://www.sekhu.net/wp/

    Whereas here it doesn’t:

    https://sekhu.net/wp/category/book

    1) What do I need to change to make it look like the second link and not the first in terms of alignment?

    2) I’m trying to place two floats on top of two floats, everytime I try this the floats align, left or right but at the far end of each other. I need to have them arnaged like this:

    1 2
    3 4

    https://sekhu.net/wp/the-reviews. Do I make another container container all four boxes and then align the floats within that? Not sure.

    Cheers

Viewing 4 replies - 1 through 4 (of 4 total)
  • just try to use the same divs that you’re using in the second link. In looking at the source code for both pages, you’ve got a few different divs being used which can cause the differences between the location of the image.

    Thread Starter jinsan

    (@jinsan)

    I just realised that I’m not using the category plugin in the second link – I was going to, but now I remember that the reason I didn’t was to show the difference with and without the plugin. So, if I can get the cat images on the main page aligned as with the image without the plugin then I can apply it throughout.

    Any suggestions on that?

    EDIT: 1) fixed 2) still need help with

    Something like:

    [div]
    [div floatleft][/div]
    [div floatleft][/div]
    [div floatclear][/div]
    [div floatleft][/div]
    [div floatleft][/div]
    [/div]

    Thread Starter jinsan

    (@jinsan)

    thanks david that put me on the right track – now that the alignment is correct.

    obviously it’s not implemented right though, as I’ve got further probs:

    1) there is a problem with the background in it’s not extending it
    2) the content which is now below the image needs to be on the right hand side of the image if that makes sense
    3) the title (Books or whatever) needs to be above the image

    Thanks in advance

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘category image alignment’ is closed to new replies.