• Resolved RachelR

    (@rrodda75)


    Hi,
    I have generatepress theme and using WP Show Posts in the Sidebar. My problem is that on mobile, the title of the posts sit underneath the image instead of to the right of the image like they do on desktop.

    How can I have the text remain to the right of the image and wrap? I have added the following css already to adjust the font size for the side bar, but is there a way to make it responsive for mobile?

    Thanks,
    Rachel

Viewing 5 replies - 1 through 5 (of 5 total)
  • Leo

    (@leohsiang)

    Hi there,

    Any chance you can link us to the site in question?

    Usually there just isn’t enough room for the image and title to fit in one line as mobile screens are quite narrow.

    Thread Starter RachelR

    (@rrodda75)

    Hi the site is https://creatorsofcoffee.com . Is there a way to specify a smaller font size for mobile only? Shouldn’t it be able to wrap over multiple lines?

    Leo

    (@leohsiang)

    Try this CSS:

    @media (max-width: 767px) {
        .wp-show-posts-image.wpsp-image-left {
            float: left;
            margin-right: 5px;
        }
    }
    Thread Starter RachelR

    (@rrodda75)

    That did the trick, thank you.

    • This reply was modified 6 years ago by RachelR.
    Leo

    (@leohsiang)

    No problem ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WP Show Posts title on mobile’ is closed to new replies.