Site logo

[Support request] How do I get the photo to focus on the exact area I want?

Home Forums Support [Support request] How do I get the photo to focus on the exact area I want?

Home Forums Support How do I get the photo to focus on the exact area I want?

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #2092378
    Heath

    I am trying to make my home page similar to another site and am wanting to know how I get the image to show the exact spot?

    I am using center center right now and then trying to get it a little a lower but with no luck. Any suggestions?

    #2092392
    Ying
    Staff
    Customer Support

    Hi Heath,

    Instead ofcenter center, try using values,eg. 50% 50%.

    The 2 values are presenting the position of X direction and Y direction.

    If you want to move the image down, try a higher value for the 2nd value, eg. 50% 70%.

    #2092399
    Heath

    Ok. And then is there a way to make the whole image a clickable link?

    #2092401
    Heath

    I’m lost on the whole image and box size. I am trying to create something to the same effect of the homepage in the private info box. What size images are listed under the category tab?

    #2092406
    Ying
    Staff
    Customer Support

    Can you show me what you’ve done already? So I can provide suggestions based on that 🙂

    #2092408
    Elvin
    Staff
    Customer Support

    Hi Heath,

    Ok. And then is there a way to make the whole image a clickable link?

    Making the whole image clickable w/ the current card layout of your site will require you to set a Dynamic link to the Container block w/ the background image.

    I’m lost on the whole image and box size. I am trying to create something to the same effect of the homepage in the private info box. What size images are listed under the category tab?

    For this one, the site is taking a different approach to what your site currently has.

    This reference site basically has:

    Container Element
    >> Image element

    The container element holding the image is set to this CSS:

    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    padding-bottom: 41.6667%;

    While the image it contains is set to have this CSS:

    left: 0px;
        top: -20.4965px;
        width: 363px;
        height: 191.993px;
        position: absolute;

    For you to be able to replicate this, you first will need to copy how it’s laid out.

    In your case, you can place a dynamic image element inside a Container block and let us have a look at it for further custom CSS styling. 😀

    #2092437
    Heath

    What are the steps for a dynamic image again?

    #2092443
    Elvin
    Staff
    Customer Support

    What are the steps for a dynamic image again?

    For a dynamic image as a block, you can use the dynamic image block and set it to featured image as shown here –
    https://share.getcloudapp.com/d5uN6xBp

    The arrangement for the image would be something like this –
    https://share.getcloudapp.com/kpu46EBo

    Add the CSS class featured-image-wrapper to the container block’s additonal CSS field so we can use it for styling the container specifically for the featured image. 😀

    #2092449
    Heath

    Why am I not seeing the dynamic image block?

    #2092454
    Heath

    Nevermind. This is too difficult. Thanks.

    #2092461
    Elvin
    Staff
    Customer Support

    Why am I not seeing the dynamic image block?

    It should be showing up if you’re on a Block Element. The dynamic image block is an addition for the Block Element’s dynamic features added on GP Premium 2.0.

    Nevermind. This is too difficult. Thanks.

    Let me know if you wish to tackle this again. Anyone from the team should be able to do the CSS write-up. 😉

    #2093448
    Heath

    Not sure this option will work because with the featured image….it isn’t allowing me to select the image.

    #2093850
    Elvin
    Staff
    Customer Support

    Not sure this option will work because with the featured image….it isn’t allowing me to select the image.

    Not sure what you mean by this.

    To clarify: Do you mean to be able to specify an image to be displayed? If that’s the case then you can use a normal image block.

    The dynamic featured image block was recommended since this was for post thumbnail’s layout and “focus area”. 🙂

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