New Landing How can we help? Atelier Overlay Button to Image Element on Page

Viewing 12 posts - 1 through 12 (of 12 total)
  • Posted in: Atelier
  • #247918
    racheldeters
    Member
    Post count: 45

    Hello,

    I have created my front page with a variety of themed images and I would love to be able to overlay buttons saying “Shop Now” on each image. Is there any custom CSS to use with the Button element or any other solutions?

    Thanks!
    Rachel

    Attachments:
    You must be logged in to view attached files.
    #247948
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    If you use the image banner asset you can add a caption, therefore you can just add the button shortcode to the caption

    – Kyle

    #247988
    racheldeters
    Member
    Post count: 45

    Figured it out. Thanks!

    #247989
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem

    #248148
    racheldeters
    Member
    Post count: 45

    Is there an easier way to position a button than adjusting the padding? I’ve found that once I do that when I load my page it shows the button positioned incorrectly for a second and then it goes the correct position.

    Thanks!
    Rachel

    #248154
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Try this:

    .image-banner-content.content-right {
        width: 100%;
    }
    .spb_image_banner.home1 {
        position: relative;
    }
    .home1 a.sf-button {
        position: absolute;
        right: 50px;
        bottom: 50px;
    }

    You will need to add the extra class ‘home1’ to the image banner

    – Kyle

    #248174
    racheldeters
    Member
    Post count: 45

    So it moved the button to the right, but not down (see attached screenshot). Is there a portion of the code that control the downward positioning?

    Thanks!
    Rachel

    Attachments:
    You must be logged in to view attached files.
    #248176
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    In the Image Banner Options you have the content position set to centre, set it to bottom

    – Kyle

    #248191
    racheldeters
    Member
    Post count: 45

    I only have the option to choose left, right, or center. There is no bottom option.

    #248194
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Try adding this to your custom css:

    .image-banner-content.sf-animation.sf-animate[data-animation="none"] {
      bottom: 0 !important;
    }

    – Kyle

    #248197
    racheldeters
    Member
    Post count: 45

    The position is now correct, but it still does that loading in the wrong position then shifts down to the correct position.

    If you load http://www.etsycurated.com you’ll see what I mean. Not sure if this is solvable?

    Thanks!
    Rachel

    #248199
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hmm yeah unfortunately not, it’s because the initial position is set inline, and then when the css is loaded is changes position.

    Sorry about that

    – Kyle

Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register