• Hi!

    Is it possible to overlay the title on the featured image in the posts? I think it would be great. Text should be in white.

    Thanks (and sorry for my poor English)

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey there fermunoz,

    How are you doing today?

    This should be possible with some custom CSS and by absolutely positioning title element on on single post pages.

    To do this please try adding the following CSS code in the style.css file of your child theme or if your theme doesn’t have custom CSS tab add it in your site using the following plugin:

    http://wordpress.org/plugins/simple-custom-css

    .single-post .entry {
        position: relative;
    }
    
    .single-post .entry-header {
        position: absolute;
        top: 0;
        width: 100%;
        color: #fff;
    }

    If the code doesn’t work or there are any issues please keep it added and post link to one of your single post pages where I can see this so I can take a look 🙂

    Cheers,
    Bojan

    Thread Starter fermunoz

    (@fermunoz)

    Hi!

    Thanks for your answer.

    There are some issues. The title should be centered and color white. Also, the gap between the image and the text should be reduced.

    http://fermunoz.com/como-iniciarse-inbound-marketing/

    Thanks a lot!

    Hey again fermunoz,

    I am a bit confused to be honest, I’ve checked your site and I can’t see the code added there, also by inspecting one of your single post pages I can see that you have featured images hidden with CSS so I’m not sure in which way you’re looking to move the title over an image?

    Can you please advise?

    Cheers,
    Bojan

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

The topic ‘Overlay title post’ is closed to new replies.