WordPress.org

Ready to get started?Download WordPress

Forums

Spun
[resolved] I want some text under all of the circles (5 posts)

  1. dennisvdb
    Member
    Posted 8 months ago #

    Hey,

    I want some text under all of the circles.
    Just something about myself. But i dont know how to fix it?

    Greatz Dennis

  2. emtwse
    Member
    Posted 8 months ago #

    I'll second that, I was looking for a way to do this too, on all pages with circles (e.g. category pages), as well as the home page?
    Thanks!

  3. ShaiRoelud
    Member
    Posted 8 months ago #

    Try this (and make sure you're working in a child theme):

    In the content-home.php file, add this at the bottom:

    <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(); ?> -->

    Then use the style.css file in your child theme to position the title. I used the info in this thread to center the text over the circles, so that solution should theoretically also work for positioning the text under the circles.

  4. ShaiRoelud
    Member
    Posted 8 months ago #

    The info in this thread might also help.

  5. dennisvdb
    Member
    Posted 8 months ago #

    I just went to the "Main Index Template" and typed my text straight in there.

    </div><!-- #content .site-content -->
    		</div><!-- #primary .content-area -->
    
    My text here
    
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    so for me it's solved

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.