Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1492210

    Dear Sirs,

    I have created a content sllder with client reviews for this website see https://www.alwaystakecare.co.uk/content/ what my client want is to add the background image to give the following effect https://freeimage.host/i/fTpj0Zu I am unsure how to do this and also alter the width of text to fit the image. Can you help please.

    • This topic was modified 4 days, 9 hours ago by condonp.
    • This topic was modified 4 days, 9 hours ago by condonp.
    #1492236

    Hey condonp,

    Thank you for the inquiry.

    This is possible but it will require some custom html and some css modifications. You can start with the following code:

    <div class="av-custom-testimonial">
      <div class="av-testimonial-card">
        
        <div class="av-testimonial-left">
          <h3 class="av-testimonial-heading">What our clients say</h3>
          <div class="av-testimonial-stars"></div>
          <p class="av-testimonial-text">“Your testimonial text goes here.”</p>
          <div class="av-testimonial-client">Client Name</div>
          <div class="av-testimonial-client-meta">Client Title</div>
        </div>
    
        <div class="av-testimonial-right">
          <div class="av-image-wrap">
            <img src="image.jpg" alt="">
          </div>
        </div>
      </div>
    </div>
    
    

    Then add this code in the Quick CSS field:

    .av-custom-testimonial .av-testimonial-card {
      display: grid;
      grid-template-columns: 1fr 220px;
      gap: 24px;
      background: #fff;
      padding: 20px;
      border-radius: 16px;
      box-shadow: 0 6px 20px rgba(16, 24, 40, 0.08);
      max-width: 880px;
      align-items: stretch;
    }
    
    .av-custom-testimonial .av-testimonial-left {
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 6px 0;
    }
    
    .av-custom-testimonial .av-testimonial-heading {
      font-size: 1.25rem;
      line-height: 1.1;
      font-weight: 700;
      color: #0f172a;
      margin: 0 0 10px 0;
      display: inline-block;
      width: 50%;
    }
    
    .av-custom-testimonial .av-testimonial-stars {
      display: inline-flex;
      gap: 6px;
      align-items: center;
      margin-bottom: 12px;
    }
    
    .av-custom-testimonial .av-testimonial-text {
      font-size: 0.98rem;
      color: #6b7280;
      margin-bottom: 14px;
    }
    
    .av-custom-testimonial .av-testimonial-client {
      font-weight: 600;
      font-size: 0.95rem;
      color: #08121a;
    }
    
    .av-custom-testimonial .av-testimonial-client-meta {
      font-size: 0.85rem;
      color: #6b7280;
      margin-top: 4px;
    }
    
    .av-custom-testimonial .av-testimonial-right {
      position: relative;
      min-height: 220px;
      overflow: visible;
    }
    
    .av-custom-testimonial .av-image-wrap {
      position: absolute;
      bottom: 0;
      right: 0;
      width: 160px;
      height: 280px;
      overflow: hidden;
      border-top-left-radius: 140px 72px;
      border-bottom-left-radius: 24px;
      border-bottom-right-radius: 12px;
      border-top-right-radius: 12px;
      background: #f3f4f6;
    }
    
    .av-custom-testimonial .av-image-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    
    @media (max-width: 760px) {
      .av-custom-testimonial .av-testimonial-card {
        grid-template-columns: 1fr;
      }
    
      .av-custom-testimonial .av-image-wrap {
        position: relative;
        width: 100%;
        height: 220px;
        border-top-left-radius: 48px 26px;
      }
    
      .av-custom-testimonial .av-testimonial-right {
        min-height: auto;
      }
    
      .av-custom-testimonial .av-testimonial-heading {
        width: 70%;
      }
    }
    

    Best regards,
    Ismael

    #1492288

    Ismail,

    Thanks for providing this but does not seem to work in parts can you help please see https://www.alwaystakecare.co.uk/content/ many thanks

    Pete

    #1492326

    Hi,

    Thank you for the update.

    We can’t find the corresponding css styles for the layout. Did you add the css code? Please try to toggle or temporarily disable the Enfold > Performance > File Compression settings and provide the login details in the private field so we can check further.

    Best regards,
    Ismael

    #1492343

    Hi Ismail

    On checking the file compression was already disabled. I have placed login details in the private field.

    Many thanks for your help

    Pete

    #1492387

    Hi,

    Thank you for the update.

    We hid the original content slider, added a new one with the updated layout and set it to two columns because it doesn’t look good with three. We also made additional adjustment to the style.css file. Make sure to edit the images, remove the gray background around them and resize them accordingly.

    Best regards,
    Ismael

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