• Resolved Krdm

    (@krdm)


    Hi,

    So I’ve been looking for a way to add a 100% width fading image on every different page. Sort of like a big slider, but without the switching/moving part and using only 1 image.

    I’m new to WordPress so I would really appreciate the help!

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • There are plugins that will allow you to chose which header-image will show.

    You could use a plugin like:

    ‘Custom Header Extended’
    ‘WP Random Header’
    ‘Custom Header Images’
    etc…
    Alternatively:

    <!-- add variabele headerimage -->
    <img src='<?php echo get_post_meta($post->ID, 'banner', true); ?>' />
    <!-- END add variabele headerimage -->

    Place the above code in header.php, above the navigation.
    This creates an extra field-option in the dashboard-editor-page.
    add field: banner
    value: [‘path to the image’] (make sure the entered path is CORRECT!)

    Thread Starter Krdm

    (@krdm)

    Thank you!

    Please don’t forget to mark the thread as ‘resolved’ [in the right sidebar]

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

The topic ‘100% width single image on top of a page’ is closed to new replies.