• Hi, I’ve got my site

    https://www.oldboysgamingnetwork.co.uk

    And I’ve made some mods to display a ‘currently playing’ custom key and value fine.

    Trouble is I just want it to lie left justified like the heading of the post, could somebody point me in the direction of what to edit to change this?

    I know the PHP creates a list tag to display the custom fields, is this what is causing the indent?

    Hope somebody can help.

    p.s. come on England!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Well, England might be busy. But I can help. Looking at your source I found this:
    <li><span class="post-meta-key">Currently Playing:</span> Donkey Konga 2 (Gamecube)</li>

    This means you can create a new CSS class named “.post-meta-key” and style it how you would want.

    By the way, your site looks really nice. Is it your own custom theme, or did you alter another?

    Thread Starter matharding

    (@matharding)

    Hi, thanks for the reply, turns out England were busy but with good reason. I have used the template ChaoticSoul 1.0 by Bryan Veloso, with minor mods, it is indeed a nice theme.

    I had already found the .post-meta-key class in my stylesheet, but since the meta php function creates the

    • tag no matter what I put in the my stylesheet it still creates an indent – I’m so close but so far!
    • Ahh you see it take effect above! I repeat..

      creates the <li > tag no matter what I put in the my stylesheet it still creates an indent – I’m so close but so far! < /li>

    I understand. Then this means to need to write a css rule to style that pesky <ul> element exactly how you want it. An example would be (this will take out the indent):

    .post-meta {
    list-style: none;
    margin: 0;
    padding: 0;
    }

    Good luck. And thanks for the theme info.

    Thread Starter matharding

    (@matharding)

    Great, works sweet now. Cheers ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Got my custom fields rocking, but not the format!’ is closed to new replies.