Jump to content

Summary Block Styling

Go to solution Solved by derricksrandomviews,

Recommended Posts

Site URL: https://www.slowmaterial.org/

Hello! I am building a summary block and found this code to style the titles, but I keep getting a syntax error on the font family line. Does anyone have any insight into whaat is going wrong? Thanks much.

 https://www.slowmaterial.org/summary-library

// *summary block header changes* //
.SQS-BLOCK-SUMMARY-V2 {
.SUMMARY-TITLE,
.SUMMARY-HEADING {
FONT-FAMILY Proxima Nova;
FONT-WEIGHT 400;
FONT-SIZE 14PX !IMPORTANT;
COLOR #003D4C;
TEXT-TRANSFORM CAPITALIZE;
FONT-STYLE NONE;
} }

Link to comment

Your code missing a lot of : symbol

// *summary block header changes* //
.SQS-BLOCK-SUMMARY-V2 {
.SUMMARY-TITLE,
.SUMMARY-HEADING {
  font-family: proxima-nova;
  font-weight: 400;
  font-size: 14px !important;
  color: #003d4c;
  text-transform: capitalize;
  font-style: none;
} }

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • Solution

Just for you to examine, here is the code I use for my 7.0 blog summary blocks (should work with 7.1 without any other summary block code of course) The border radius of the summary block item can be adjusted for just about any shape. The read more button has a gradient color which can also be changed easily. Title font and size is also easy to adjust. You can see my summary items here:   

  https://myrandomviews.com/blogsummary

 

// DB Summary Block Design //

img.summary-thumbnail-image.loaded:hover {
 opacity: 0.5;
 }

.summary-title-link {
    font-family: proxima-nova, serif;
    font-size: 18px;
}
.summary-excerpt p {
  font-size: 14px !important;
}
.sqs-block-summary-v2 .summary-item {
  background-color: #ffffff;
  border-radius: 70px 15px 70px 15px;
  -webkit-box-shadow: 0px 0px 15px rgba(100, 100, 100, 100.1) !important;
  -moz-box-shadow: 0px 0px 15px rgba(100, 100, 100, 100.1) !important;
  box-shadow: 6px 5px 15px rgba(100, 100, 100, 100.1) !important;
}

// DB Summary Content Padding //

.sqs-block-summary-v2 .summary-item .summary-content {
    padding: 20px 40px 20px 40px;
}

// DB Summary Block Button //

.sqs-block-summary-v2 .summary-item-record-type-text .summary-read-more-link {
  display: inline-block;
  margin-top: 10px;
  background: linear-gradient(to right, #F07C63, #E45372);
  color: white;
  border: 0px solid white;
  border-radius: 50px;
  padding: 10px 20px;
 filter: drop-shadow(8px 8px 8px #666666);
}

Edited by derricksrandomviews
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.