Squarespace Banner Slideshow CSS Hacks | Part 4

Поделиться
HTML-код
  • Опубликовано: 11 дек 2024
  • Check out these guides and CSS tricks to help implement and customize the Squarespace Banner Slideshow. Let's break it down into four videos:
    1. General implementation and styling insights
    • Implementing & Styling...
    2. Creating a Hero slider (2 styles!)
    • Creating a Hero Slider...
    3. Creating a testimonial slider
    • Creating a Testimonial...
    4. CSS Hacks:
    • Squarespace Banner Sli...
    You can make this process even easier by grabbing our Section Template:
    ajmexperience.com/squarespace-section-templates
    ------
    Original post:
    ajmexperience....
    For more tips to enhance your website designs, check out the rest of the learn series:
    ajmexperience....
    Get our free CSS Selector Cheat Sheet:
    www.ajmexperie...
    Get our full CSS Library:
    www.ajmexperie...
    Check out our favorite banner slideshow plugins to make it easier: elfsight.com/?...
    ------
    HERE'S THE CODE:
    BANNER SLIDESHOW PHOTO OVERLAY
    If you chose not to have a card behind your text, the text probably isn’t very legible over the background images. Let’s add a photo overlay to the entire slideshow:
    Tip! Adjust the background color as needed.
    // banner slideshow overlay //
    .slide-media-container:after {
    content: "";
    background-color: rgba(0,0,0,0.15);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9099;
    }
    .slide-content.list-item-card-background {
    z-index: 99999999999999;
    }
    BANNER SLIDESHOW FONT SIZE ON MOBILE
    Most of the time, the font ends up being WAY too big on mobile. Especially if you’re using both a title and a description. This CSS will help you change the font size ONLY for mobile.
    Tip! Adjust the font size + replace the section ID. Here’s how to find it →
    // banner slideshow mobile title //
    @media screen and (max-width: 740px) {
    SECTION-ID {
    h2.list-item-content__title {
    font-size: 20px !important; }}}
    // banner slideshow mobile description //
    @media screen and (max-width: 740px) {
    SECTION-ID {
    .list-item-content__description {
    font-size: 12px !important; }}}
    ------
    AJM EXPERIENCE
    🖥 A marketplace for graphic designers, Squarespace lovers, & CSS nerds: www.ajmexperie...
    ☕️ Buy me a coffee: www.buymeacoff...
    Thanks for watching and hope you learned something. My name is Amanda Jones McNay and I am a Squarespace web designer and CSS nerd. I have designed well over 100 different Squarespace sites for clients and have used custom CSS code in every one of them. My site is dedicated to helping all CSS designers to perfect their craft and create cool sh!t.
    ------
    This article contains affiliate links. Whenever you buy something through one of these, I get a small commission, without any extra cost to you :)

Комментарии • 3

  • @emajohnson6303
    @emajohnson6303 Год назад

    Thank you. This was excellent. Overlay is just right

    • @ajmexperience
      @ajmexperience  Год назад +1

      So happy it helped!

    • @emajohnson6303
      @emajohnson6303 11 месяцев назад

      love your wee bit of banter in between
      @@ajmexperience