Site logo

[Resolved] Move post excerpt below title

Home Forums Support [Resolved] Move post excerpt below title

Home Forums Support Move post excerpt below title

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #2425752
    Roger

    How to move post excerpt below title (in single post)?

    I’m using GP Social Share.
    I am using this code (hook) to show excerpt

    <?php the_excerpt(); ?>

    #2425757
    Leo
    Staff
    Customer Support

    Hi there,

    Which hook are you using?

    Let me know 🙂

    #2425813
    Roger

    Hi Leo,

    you can see in the link

    #2425857
    Leo
    Staff
    Customer Support
    #2425877
    Roger

    It worked!

    Text customization has stopped working. I’m using this code to customize the text.

    .single .entry-header .entry-meta + p {
        font-size: 18px;
    	  line-height: 1.4em;
        color: #333;
        font-weight: 400;
    	  font-style: italic;
    		margin-top:  10px;
    }
    #2426012
    Leo
    Staff
    Customer Support

    Not sure if I fully understand.

    Can you link me to a post so I can see the issue?

    A little more explanation of what exactly isn’t working might be helpful too.

    #2426035
    Roger

    The position of the abstract is correct (it is below the title).

    I would just like to style it so that it looks different from the post text.

    Attached link.

    Thanks!

    #2426046
    Leo
    Staff
    Customer Support

    Change your content to this:

    <div class="single-excerpt">
        <?php the_excerpt(); ?>
    </div>

    Then you can style it with this CSS selector:

    .single .single-excerpt {
    
    }
    #2427535
    Roger

    Thank you!

    #2427709
    Leo
    Staff
    Customer Support

    No problem 🙂

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.