Okay
  Public Ticket #1810479
image size
Closed

Comments

  •  1
    Wilhelm started the conversation

    Hi Paul,

    I added an additional page called `Preise´and would like to expand the image size to full size (custom size) but the theme doesn´t give permission so far. Doesn´t work the classic way by adjusting the image. How can I adjust the image to the size I want? 

    Thanks,

    Willy 

  •  291
    Paul replied

    Hi Willy!

    By default, only the featured image of a page will be displayed full-width at the top. But any other images that are in the page content will be displayed as wide as the page content area on the front-end.

    It is possible to use custom CSS to adjust the page layout though. Please check out this article for more information: https://uxbarn.ticksy.com/article/10018

    Regards,
    Paul

  •  1
    Wilhelm replied

    Hi Paul,

    I would like to apply those custom CSS. I am just afraid that the additional CSS would mess up the other layouts that I have already done and that I like the way they are. Would the other layouts (pages) get effected or would the CSS just give the possibility to have a wider layout? 

    Thanks, hope that´s it (the service u provide is extraordinary - very good deal :-) )

    Willy

  •  291
    Paul replied

    I see. You understand it correctly that the provided custom CSS applies to every page in the theme.

    To change the layout only for a specific page, please try it like this:

    .page-id-24 .post-image,
    .page-id-24 .post-content,
    .page-id-24 .post-title {
        width: 100%;
    }
    

    Notice the page-id-24 in the code, you will need to change it to your unique page ID which you can find it when inspecting the element with the developer tools on Chrome (screenshot: https://cl.ly/a11ca3dd594a ).

    For more info about the dev tool, please see here:  https://uxbarn.com/inspecting-elements-developer-tools/