• Resolved dapis72

    (@dapis72)


    Hi

    I am trying to make custom template, and the problem that comes out is difference when i have default image and when theme get it from Media library.

    Here is the code:

    [code moderated per forum rules - please read http://codex.wordpress.org/Forum_Welcome#Posting_Code for marking and posting code]

    I would like to have after else again class "kategorija-thumbnail". when i remove <div> and </div> it works, but the result is somehow different from first state of IF.

    Thank you for your help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • the css class .kategorija-thumbnail is possibly output twice in the ‘else’ case – once from your div, and also from the thumbnail.

    can you post a link to your site, to a post with one of the cases each?

    Thread Starter dapis72

    (@dapis72)

    Hey

    Well I am studying this on localhost, so when it is gonna be published i will send you link.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Help with id and else, 2 div’ is closed to new replies.