Support » Theme: Spun » Solution for printing title of post over images in homepage

  • Resolved new013


    Hello everyone,

    I posted a question about how to have the title of the posts display over the images in the circle on the homepage. Andrew Nevins was kind enough to help me with a solution so I thought I would share it here in case other people have the same issue.

    I still have to play around with it to see if I can get it to only display on hover but I am very happy to finally have something that’s working to show the title!

    Here’s the link to the previous post.

    If anyone has any other suggestions feel free to add them here!


Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello new013.
    Thanx you for your posts!
    I try to have the titles of my posts on the circles like in your site.
    I managed to have the posts titles by following your discussion. But they are under the circles.
    Is it possible that you show me excatly the code you entered in your child theme for having the title over the image?
    I’m not a code specialist so these things are a little bit hard for me.
    Have a nice day.

    Hi lacigaleoulafourmi,

    I’m happy to try to help although please note that I am very new to wordpress and PHP and thus can’t guarantee that this will be the correct way to do something!

    I don’t think you’re supposed to post long chunks of code on this forum so I’ve linked to the pastebin for the code…

    For my site, first I created a child theme. Then within created the “content-home.php” for my child theme with this code

    and then for my “style.css” file in my child theme I used this code

    There is more code on my style sheet to do other things (change the opacity and color of the text in the header etc.) that I removed so as not to confuse things but let me know if you need that as well.

    I hope this helps! Let me know if there is anything else that you need.

    Hi New013

    thanks for being help, i spend days and nights to try to solve the problem you encounter before.

    I am very happy that i find the topic here

    But the child theme code and style.css you provided is missing. any chance that you can provide it again

    this is a very value-able infos, really thank to you for sharing it!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Solution for printing title of post over images in homepage’ is closed to new replies.