Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #882764

    Hello!
    Looking for a little bit of css help to resolve an issue.
    I’m using Fullwidth Easy Slider, with 3 images with “Fade” slideshow transition. The effect I am trying to achieve is to fix the Caption Title in the same position for all 3 slides, but each slide has its own Caption Text. The problem I have is that my Caption Text is of variable length and breaks across a different number of lines, so the Caption Title changes vertical position slightly from slide to slide. I am using “Center Framed” Caption Positioning.
    All I want to do is keep the Caption Title in a fixed vertical position,centred horizontally, relative to the slide (and to keep it responsive!).
    Many thanks in advance
    David

    #882799

    Hey davidsg7,

    Please provide a link to the site/page in question so we can look into this issue further.

    Best regards,
    Jordan Shannon

    #882868

    Thanks for replying.
    I’ve got a coming soon page on there just now as its very early stage of development, but I’ll grant access (in private content area)
    Many Thanks
    David

    #883240

    Hi,

    I’m only seeing one slide on that page. Where are the additional?

    Best regards,
    Jordan Shannon

    #883416

    Hi,
    There are definitely 3 slides in the fullwidth easy slider which is the first element on the page. They are on a 10 second delay with no navigation arrows.
    Many Thanks
    David

    #883550

    Hi,

    It seems only the second one is off correct?

    Best regards,
    Jordan Shannon

    #885029

    Hi Jordan,

    At fullwidth, yes, the 2nd one has longer Caption Text so “pushes” the Caption Title up the slider. This varies as the browser viewport size changes and the caption text breaks at different places.
    Ideally I am looking to fix the Caption Title a certain % from the top of the slider (and maybe use an @media query to reduce this % for smaller screens) and begin the Caption Text a fixed distance from the Caption Title, but my attempts to do that in css have failed so far (I’m a little bit limited in that regard!).

    Many Thanks
    David

    #885164

    Hi,

    This is not easy to achieve as the screen sizes vary so much. It is literally just manipulating the media queries until you find something you can accept :-)

    Best regards,
    Jordan Shannon

    #885541

    Thanks

    I have gone with this very inelegant solution – if there is anything you can suggest to improve this I’d be grateful!

    @media only screen and (max-width: 499px) {
    .slideshow_align_caption {
    position: absolute;
    top: 10%;
    }
    }
    
    @media only screen and (max-width: 639px) and (min-width: 500px) {
    .slideshow_align_caption {
    position: absolute;
    top: 15%;
    }
    }
    
    @media only screen and (max-width: 767px) and (min-width: 640px) {
    .slideshow_align_caption {
    position: absolute;
    top: 20%;
    }
    }
    
    @media only screen and (max-width: 948px) and (min-width: 768px) {
    .slideshow_align_caption {
    position: absolute;
    top: 0;
    }
    }
    
    .slideshow_align_caption {
    position: absolute;
    top: 5%;
    }
    
    .avia-caption-title {
    position absolute;
    top: 20px;
    }
    
    .avia-caption-content {
    margin-top: 5%;
    }
    
    #885810

    Hi,

    What is your concern with the solution? Is the transitions not fluid enough?

    Best regards,
    Jordan Shannon

    #888069

    It seems to be working across multiple screens okay, so its okay to close the topic.
    Many thanks
    David

    #888113

    Hi,

    Great! If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Fullwidth Easy Slider – Title in fixed poisition’ is closed to new replies.