Support » Theme: Spun » how to get images and text on circles

Viewing 15 replies - 1 through 15 (of 34 total)
  • Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    I found out how to add images to the circles, under post > featured image, but how do I also show the post title on top of the photo?

    sorry I am totally confused. I just installed a child theme, but where do I go from there? I have only one file in my child theme folder. style.css.

    I know it is time consuming to explain every detail, but I need help. thanks.

    PS. If I want to edit a page in child theme how do I do it, if no files are in the child folder except style.css and it is not even a full style file?

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    Please read “Note for other readers”.
    Also these forums are for support. If you cannot support someone with their issue, it’s best not to post in their thread.

    Hi my friend, I am trying to edit the child theme. but I am not sure which files, what to do… I am totally stuck banging my head on the keyboard.

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    Copy over the file you want to change (content-home.php) into your Child Theme directory. You can then modify that.

    I’m not sure what you’re asking that can’t be answered in the other thread.

    Hi I understand this, but what do I add or edit to the content-home.php ??? I am trying everything and I can’t get the title post to appear over the circle image.

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    Replace:

    <article id="post-<?php the_ID(); ?>" <?php post_class( $postclass ); ?>>
    	<a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php echo $thumb; ?></a>
    </article><!-- #post-<?php the_ID(); ?> -->

    With:

    <article id="post-<?php the_ID(); ?>" <?php post_class( $postclass ); ?>>
    	<a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark">
                  <?php echo $thumb; ?>
                  <span class="hometitle">
                        <?php the_title(); ?>
                  </span>
             </a>
    </article><!-- #post-<?php the_ID(); ?> -->

    I tried that and it put the text under the circle to the left.
    you can see what it has done. http://www.veganspringexpo.com

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    Please follow the other steps in the other thread…
    All I did is just repeat myself.

    and the other circles have the post title written twice. strange

    I tried so many things. I did what was said… boy I must be a pro. hehe

    I’m having the same issue actually. Text is displaying but not overlaid on the image. Child theme created, content-home.php and style.css all created per your specs. No luck. Even modified the style.css grossly to see if I could get the title of the home page to change at all per tracyselena2’s actual page with no luck. Seems like the text with image code in my css isn’t being interpreted correctly…I’ll dig some more but any obvious suggestions about the css file itself would be welcome as I could just be doing something silly this late at night.

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    In your Child Theme style.css file add this:

    .blog .hentry span.hometitle {
     position: absolute;
     top: 73px;
     width: 100%;
    }
    
    .blog .hentry {
     position: relative;
    }

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    @jszkil can you create your own thread to discuss that?

    same result. I tried this, already before as well. 🙁

Viewing 15 replies - 1 through 15 (of 34 total)
  • The topic ‘how to get images and text on circles’ is closed to new replies.