Jump to content

donsvenson

Member
  • Posts

    13
  • Joined

  • Last visited

Posts posted by donsvenson

  1. 5 hours ago, Ziggy said:

    I'm not sure this will work, but it looks like you've got a <b> tag on the first item, so we should be able to target that. Try this CSS:

    section[data-section-id="63d8c53f79bdf80b0293a7ec"] {
      .list-item-content__title b {
        color:red !important;
      }
    }

    Let me know if that works for you, and we can go from there.

    Works perfectly, thanks!

  2. Hi Community,

    I'd like to colour (#00a2e0) two words of a list item title to set them apart from the rest of the title. I know how to do this for the list section title using the strong tag but I have not found a solution for an item title since you cannot make words bold and I even tried using html tags inside the title.

    Hope someone has a solution for this.

    Kind regards
    Sven

    Screenshot 2023-02-07 at 10.26.25.png

  3. 1 minute ago, donsvenson said:

    Looks great, but it does not match the width fully. Tried changing it but can't get it to align properly.

    Screenshot 2023-01-28 at 18.36.11.png

    - 3% seems to work for 13" and mobile but I guess on larger screen it might not fit all the way, I'll try later. Do you think there's a solution to make it fit for sure on any screen?

    If it were possible to have it overlaid centred on the top line, it wouldn't need to stretch all the way to both sides. 

    Thanks so much for your help!

  4. 8 hours ago, tuanphan said:

    Add to Design > Custom CSS

    .user-items-list-item-container[data-section-id="63b2df8905dc045b034e7f31"] li:nth-child(2):before {
        content: "Most Popular";
        background-color: orange;
        color: white;
        position: absolute;
        top: 0;
        left: 0;
        width: calc(100% - 10px);
        padding: 5px;
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
        text-align: center;
    }
    .user-items-list-item-container[data-section-id="63b2df8905dc045b034e7f31"] li:nth-child(2) {
        position: relative;
    }

    image.thumb.png.19ba7ae48c1c6fd1339c55c92e407d15.png

    Looks great, but it does not match the width fully. Tried changing it but can't get it to align properly.

    Screenshot 2023-01-28 at 18.36.11.png

  5. 8 hours ago, tuanphan said:

    It looks like you figured it out?

    image.thumb.png.f88f13239f2a5f5d2fe171b792561403.png

    Hi tuanphan,

    For the tagline, yes. I used html in the title of each summary item in combination with some header and footer injection code.

    However, I'd still really like to know, whether there's a possibility of adding a diagonal "Most Popular" banner to the top right corner (or top middle). Do you have any idea on how to achieve this?

    Thanks for your help!

  6. 1 hour ago, Beyondspace said:

    Do you have any sample which you want to achieve?

    Hi Beyondspace,

    Can be a simple indication beyond the title (but description itself needs to stay left bound) as seen in the first picture ("perfect for ..." etc.), could be with pill shaped background if possible.

    And a popular banner as seen in both pictures would also be helpful.

    Thanks for your help!

    img_62c5523b21103.png

    elfsight-pricing-table-pricing.jpg

  7. Hi Squarespace community,

    I'm trying to use custom css codes to style the display of on page videos. However, none of them are working despite being correct and I can't figure out why. I'm talking about codes such as:

    //-- add a border around the video

    .sqs-video-wrapper{border: 1px solid #50bdb8;}

    //-- add a shadow to the video

    .sqs-video-wrapper{box-shadow: 5px 5px 20px rgba(0,0,0,0.2);}

    //-- layered offset background color

    .sqs-video-wrapper{box-shadow: 20px 20px 0px #50bdb8;}

    Other css codes work without problem. Does anyone have an idea why?

    Kind regards

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.