• Resolved rolandpoort

    (@rolandpoort)


    Hi GavickPro,

    Question, the proportions of the featured images are different on the mobile site. They go to Square iso rectangle on the desktop versions. Is there a way to adjust this as i made the featured images look good (proportional) on the desktop but on the mobile site they are cropped.

    Thanks once again,

    Roland

Viewing 8 replies - 1 through 8 (of 8 total)
  • Theme Author GavickPro

    (@gavickpro)

    Hello,

    Currently the only way is edit the mobile CSS code. We will consider how to solve this issue in the v.1.5.0.

    Thread Starter rolandpoort

    (@rolandpoort)

    That’s ok, its always in development, I understand.
    I cant find where the square proportions are specified.
    It refers to a size-medium or size-thumbnail. But when I alter these setting in WP’s media settings nothing changes on the mobile site.

    Can you please explain how I maintain the rectangle proportions and where to update the css?

    Theme Author GavickPro

    (@gavickpro)

    You have to change the height for two CSS selectors:

    .site-content.archive article

    and:

    .article-helper

    You can achieve it by adding in example the following code at the end of your style.css:

    @media (max-width: 600px) {
    .site-content.archive article {
    height: 310px;
    }
    .article-helper {
    height: 294px;
    }
    }

    As you can see above – there is always a 16px gap between heights of these elements.

    Thread Starter rolandpoort

    (@rolandpoort)

    Thank you so much.
    Unfortunately by adding the code to the style.css visually nothing gets updated.
    Even if i adjust the heights to extremes.

    Theme Author GavickPro

    (@gavickpro)

    Could you provide an URL to your website?

    Thread Starter rolandpoort

    (@rolandpoort)

    hi there, thats this link
    Please note i’ve tried various size settings, right now i’ve got:

    /* Fix for the mobile image size */
    @media (max-width: 600px) {
    .site-content.archive article {
    height: 396px;
    }
    .article-helper {
    height: 380px;
    }
    }

    Thanks

    Theme Author GavickPro

    (@gavickpro)

    Please change your code to:

    /* Fix for the mobile image size */
    @media (max-width: 600px) {
    .site-content.archive article {
    height: 396px!important;
    }
    .article-helper {
    height: 380px!important;
    }
    }

    It will help.

    Thread Starter rolandpoort

    (@rolandpoort)

    The !important; did it.
    Thanks mate.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Mobile site featured image proportions’ is closed to new replies.