Jump to content

Category tag - Pellet background mobile

Recommended Posts

  • Replies 3
  • Views 672
  • Created
  • Last Reply
On 2/25/2021 at 10:10 PM, LesMarchands said:

Site URL: https://www.lesweekendeurs.ca/fr/creer-ma-boite

Hey guys!

Is anybody has a code or knows a way to create pellet color background around category tag on mobile?

I did this:IMG_4722.thumb.jpg.d55b4c0811902e0aec0a19218915f461.jpg

 

But i'm looking for something like this:

1214440047_WhatsAppImage2021-02-24at09_44_43.jpeg.971686d2a92208d2d4b243b285bb0ff5.jpeg

 

Thanks Y'all!

 

Add to Design > Custom CSS

/* Category nav */
@media screen and (max-width:767px) {
ul.nested-category-children {
    background: none !important;
    border: none !important;
}
ul.nested-category-children a {
    background: gray;
    color: white;
    padding: 5px;
    border-radius: 10px;
    margin-bottom: 5px !important;
}
span.breadcrumb-separator {
    display: none;
}
ul.nested-category-children {
    flex-wrap: wrap !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
}

 

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 3/5/2021 at 9:12 PM, LesMarchands said:

Amazing! Thanks Tuanphan!

The pellet looks is exactly what i was looking for the only thing is they're stacking instead of sliding like it used to.

IMG_4765.thumb.PNG.df7ee39f48cc5ebf3ceec134b9ffabe6.PNG

Remove this line

flex-wrap: wrap !important;

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

Archived

This topic is now archived and is closed to further replies.


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