Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter bloggingbeats

    (@amitgargjind)

    Hi

    I want to add a text widget below every post.

    How to do it?

    Thread Starter bloggingbeats

    (@amitgargjind)

    How can I create a landing page?

    Hi there,

    1. Try this CSS:

    .post-image img {
        max-width: 300px;
    }

    2. Is this below the content of the Single Post? Or between each post on the blog page.

    3. Sorry that is to vague and out of our scope to answer.

    Thread Starter bloggingbeats

    (@amitgargjind)

    Point 2

    Below every individual post above the comment section.

    Thanks

    Thread Starter bloggingbeats

    (@amitgargjind)

    Point no 1

    CSS reducing the size correctly.

    But the post text should shift right to the image accordingly.

    Thread Starter bloggingbeats

    (@amitgargjind)

    Is there any way to show 3 posts horizontally, so that I can manage to show the top 6 posts with a little bit scrolling only.

    1. This CSS to float the image left:

    .post-image img {
        max-width: 300px;
        float: left;
        margin-right: 1em;;
    }

    2. You could use a PHP Snippet to hook in your content eg.

    add_action( 'generate_before_comments_container' , 'custom_single_post_content' );
    
    function custom_single_post_content() {
        echo '<div class="after-post-content">Your Text content goes here</div>';
    }

    https://docs.generatepress.com/article/using-hooks/

    • This reply was modified 4 years, 4 months ago by David.
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Thumbnail size’ is closed to new replies.