Jump to content

How do I put blog categories in a drop down menu on mobile only?

Go to solution Solved by tuanphan,

Recommended Posts

You can consider using Accordion Block

Adding an Accordion Block under Text Block, and we can give you code to show text on desktop (hide accordion) and show accordion on mobile (hide Text Block)

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
8 hours ago, tuanphan said:

You can consider using Accordion Block

Adding an Accordion Block under Text Block, and we can give you code to show text on desktop (hide accordion) and show accordion on mobile (hide Text Block)

okay, I did that, thank you!

I figured out how to hide on mobile and desktop.

Can you tell me how to make the arrow closer to the categories text.

And center the categories?

I really appreciate your help!

 

image.png.588b1ce41172df547485f2ac38708f20.png

Link to comment
  • Solution

Add to Design > Custom CSS

body.homepage .accordion-item__description {
    max-width: 100% !important;
    text-align: center !important;
}
body.homepage .accordion-icon-container {
    position: relative;
    left: -50px;
}

 

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.