New Landing How can we help? Cardinal Fancy Heading Pictures zoom in too much

Viewing 14 posts - 16 through 29 (of 29 total)
  • Posted in: Cardinal
  • #178823
    lilialaminae
    Member
    Post count: 36

    I want the images displayed in their original state instead of being zoomed in and cut out. The writing can stay big, but it really looks nicer if everything is proportional to each other. The same thing happens in the Swift Sliders, as well. Why can’t the images be displayed in full size and resize according to the screen type? And, just out of curiosity, why is the RevSlider not ideal?

    Thank you for your time. Can I donate somewhere?

    #178828
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Because it will be too small, look: http://d.pr/i/15b3S/4FvCAG4n that’s when I set your background to always show the full image, it’s not big enough to cover the section

    – Kyle

    #178956
    lilialaminae
    Member
    Post count: 36

    Hello Kyle,

    thank you for explaining. And it isn’t possible to change the height into a maximum height, so the background can dynamically grow and shrink with the width of the screen? I tried to figure it out myself, without success…

    #179003
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Not sure what you mean set a maximum height? It already keeps the same height

    – Kyle

    #179011
    lilialaminae
    Member
    Post count: 36

    Well, I just want the thing to behave like the RevSlider. Always display the whole image but shrink/grow it proportionally in width and height. Yes, I could use a RevSlider instead, but I like the general style of the fancy heading and that the headlines are already formatted as h1 and h2. If it’s not possible, never mind. I will have to go through the effort and not use your acutally very useful feature but do everything with sliders.

    #179015
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Try this:

    .page-heading.fancy-heading {
      background-position: center top !important;
      background-repeat: no-repeat;
      background-size: 100% auto;
      height: auto !important;
    }
    

    Like I said, it doesn’t work well, but that’s what you’re asking for

    – Kyle

    #179016
    lilialaminae
    Member
    Post count: 36

    Thank you. I tried it and now it looks like the screenshot. 🙂

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

    Change to:

    @media only screen and (max-width: 1023px) { 
    .page-heading.fancy-heading {
      background-position: center top !important;
      background-repeat: no-repeat;
      background-size: 100% auto;
      height: auto !important;
    }
    }

    – Kyle

    #179020
    lilialaminae
    Member
    Post count: 36

    See the screenshots.

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

    Yeah that’s the issue, the purpose of backgrounds are to cover the content area, which is some cases means some of the background isn’t shown. This is what happens when you set it to show all the time, it doesn’t fill the content area.

    Is it because you want the subject on the right of the image to always be shown? Because I can provide different css for that

    – Kyle

    #179056
    lilialaminae
    Member
    Post count: 36

    Okay, let’s try that!

    #179067
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Remove the previous css and just add this:

    .page-heading.fancy-heading {
      background-position: right center !important;
    }

    – Kyle

    #179115
    lilialaminae
    Member
    Post count: 36

    Alright. What I did now is take your code and adapt it to three screen sizes:

    .page-heading.fancy-heading {
      background-position: right center !important;
    }
    
    @media only screen and (max-width: 767px) { 
    .page-heading.fancy-heading {
      background-position: top center !important;
      height: auto !important;
    }
    }
    
    @media only screen and (max-width: 479px) { 
    .page-heading.fancy-heading {
      background-position: left center !important;
      height: auto !important;
    }
    }

    It now looks okay on mobile portrait and laptop screens. The landscape view on my phone still isn’t ideal, neither is it on a tablet, but I’m gonna have to live with this now. I guess this just means that I can’t use pictures like this on this heading.

    Thank you very much for your support, once again! I have learned a lot.

    #179121
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem

Viewing 14 posts - 16 through 29 (of 29 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