Jump to content

Customize Squarespace Universal Filter

Go to solution Solved by tuanphan,

Recommended Posts

Hello

I am trying to customize the Universal Filter. I am currently using the 'buttons-inline' but I want to add title to the filter. The title should be above the filter in center or in the left side next to the filter, in bold. This does not appear on this type of style. I would like to add title to the two filters, I am currently using - "Category" and "Tags".

I hope someone can help!

pw thankyou

Link to comment

Can you share your website URL and this page?

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

Try this:

.custom-filter-container:nth-child(1) .customFiltersWrapper .sqs-block:before {
  content:"Categories";
}
.custom-filter-container:nth-child(2) .customFiltersWrapper .sqs-block:before {
  content:"Tags";
}

 

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment
On 4/8/2024 at 3:26 PM, WebShark said:

Thank you! It looks good however Categories seem to be added three places. Do you know what to change?

Custom.JPG

Try this new CSS code

.custom-filter-container .customFiltersWrapper .customFiltersContainer:before {
    content: "Kategori";
    display: block;
    font-size: 17px;
    margin-top: 20px;
}

 

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
On 4/10/2024 at 11:10 AM, tuanphan said:

Try this new CSS code

.custom-filter-container .customFiltersWrapper .customFiltersContainer:before {
    content: "Kategori";
    display: block;
    font-size: 17px;
    margin-top: 20px;
}

 

Thank you @tuanphan!  It did work! I would also like to have a title for the filter under, where I have marked with a red cross. It should say 'Lokation'. Is this possible? 

 

image.png

Link to comment
  • Solution
On 4/13/2024 at 2:59 PM, WebShark said:

 

image.png

Use this CSS code under

[data-filter="lokation"].sqs-block:before {
    content: "Lokation";
    display: block;
    font-size: 17px;
    margin-top: 20px;
    font-weight: bold;
}

 

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

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.