[Resolved] Featured image size on the home page for different devices like in GP Marketer

Home Forums Support Featured image size on the home page for different devices like in GP Marketer

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1102297
    David

    Hi,

    I am trying to replicate the behavior of the GP marketer demo site’s home page, i.e., a smaller left-aligned featured image with text to the right on the home / archive pages.
    On tablet and mobile the image should appear in full width as on the GP marketer site.

    However, when I change the image-size for the home page from auto to for example 320 px (height auto) and left-align it, I only get this small image on a tablet as well (but centered), not a full-width image as in the marketer demo site.
    I might be overlooking a configuration option.
    How can I achieve the same behavior as on the marketer demo site?

    Many thanks for taking the time.

    #1102331
    David
    Staff
    Customer Support

    Hi there,

    Marketer uses a little CSS to do that:

    @media (min-width: 769px) {
    	.post-image-aligned-left .post-image img {
    		max-width: 300px;
    	}
    }

    Just leave your featured image sizes set to Auto.

    #1102335
    David

    Hi David,
    this works like a charm.
    Thanks a lot for your help.
    Have a great day.

    #1102343
    David
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.