Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Forum: Themes and Templates
    In reply to: Header excerpt
    Thread Starter nissepop

    (@nissepop)

    Oh! Thank you very much!

    Nils

    Forum: Themes and Templates
    In reply to: Header excerpt
    Thread Starter nissepop

    (@nissepop)

    Thank you, but we aint there yet…
    <?php echo substr($post->post_title,19) . “…”; ?> cuts the title from the wrong direction… From the beginning.
    Like this

    Original title:
    “This is a really long post header”
    With yout script:
    “ng post header…”

    ??

    Forum: Themes and Templates
    In reply to: Header excerpt
    Thread Starter nissepop

    (@nissepop)

    I’ve allready done that.
    I want to “shorten” the header (<?php the_title(); ?>).

    ???

    Hi!

    To get the post image above the post header is quite easy to do within the css (style.css). Without using any plugins or having to upload the picture before. Just use the image uploader in the admin panel!

    Like this:
    – set ‘float: left’ on the image
    – set a positive value on ‘margin-top’ to move the ‘<h2>’ downwards
    – set a negative value on ‘margin-top’ to move the image upwards

    With this solution you have to use a fixed height on your pictures.

    Email me if you have questions!

    God night,
    Nils

Viewing 4 replies - 1 through 4 (of 4 total)