• Resolved Bob

    (@orionlearn)


    My theme is set to 1920px. I have an image on my homepage that is set to 1920px. It shows perfectly in the classic editor. When it displays on the web, the cetral image is reduced to about 1000px, but the rest of the page is 1920px. Large image size in media settings is set to 1920px. I cannot figure out what is causing the main image to shrink.

    Bob

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator James Huff

    (@macmanx)

    Since that is a commercial theme, we ask that you please go to their official support channel, so you can get support from the people who know it best: https://wp-royal-themes.com/premium-members-area/

    Forum volunteers do not have access to commercial products, so they would not know why it is not working correctly. Other community members who may have faced your issue might be able to help you, but your best bet is your product’s developer. We encourage you to use the official support venues, as it allows the developers to be aware of issues with their code and gives back to the community in a more robust way.

    Hello @orionlearn,

    It seems the image size is automatically set to 960px – https://prnt.sc/dReRGisbAmqS – I see that image size is set to “full”, but I guess it can’t show you image size of 1920px because image itself is not 1920px but smaller than that.

    However, you can set the image size to 1920px by adding this code to Customizer – Additional CSS area:

    a img.aligncenter { width: 1920px; }

    Image size is then 1920px at wider screens and it shrinks down properly on smaller screens -> https://prnt.sc/Bq-LYJpYLxUa

    I hope you find this answer helpful, kind regards.

    Thread Starter Bob

    (@orionlearn)

    Thanks for this code.

    Interesting that the image in the media library is 1920px. The theme must be reducing it for some reason. Curious.

    I did reach out to the theme creator and have not heard back yet.

    I did find something interesting. When I used the block editor to insert the image, it was much larger and had edit controls that would let me override the theme. My guess is that there is something similar to your code as a variable feature. I am old school, but guess I am going to have to use the block editor more.

    Thanks Again.

    Bob

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