Jump to content

Line spacing of FAQ page titles in mobile view

Recommended Posts

Site URL: https://www.herbolea.com/faq

Hello everyone,

we are adding a new page dedicated to FAQs on our website.

The page was created correctly following an online guide but the titles of the "questions" in the mobile view have a spacing line too short.


(mobile guide: https://www.holdspacecreative.com/blog-list/how-to-create-an-faq-dropdown-menu-on-your-squarespace-therapy-website) 

1052241110_WhatsAppImage2021-03-09at11_46_24.thumb.jpeg.bdac30ecd41b45a8b0cd56c6d8a696eb.jpeg

In the browser version, on the other hand, it looks good.


We tried to insert various codes in the custom CSS section found in similar posts on the forum without unfortunately being able to change the situation.
Maybe it would be enough to reduce the font size of the title? Or is there some code we can use to increase the spacing?

Thanks for your attention.
Lorenzo

Link to comment
  • Replies 3
  • Views 791
  • Created
  • Last Reply
1 hour ago, lorenzovdg said:

Site URL: https://www.herbolea.com/faq

Hello everyone,

we are adding a new page dedicated to FAQs on our website.

The page was created correctly following an online guide but the titles of the "questions" in the mobile view have a spacing line too short.


(mobile guide: https://www.holdspacecreative.com/blog-list/how-to-create-an-faq-dropdown-menu-on-your-squarespace-therapy-website) 

1052241110_WhatsAppImage2021-03-09at11_46_24.thumb.jpeg.bdac30ecd41b45a8b0cd56c6d8a696eb.jpeg

In the browser version, on the other hand, it looks good.


We tried to insert various codes in the custom CSS section found in similar posts on the forum without unfortunately being able to change the situation.
Maybe it would be enough to reduce the font size of the title? Or is there some code we can use to increase the spacing?

Thanks for your attention.
Lorenzo

try

#block-yui_3_17_2_1_1615280959461_8042 h3 {
  line-height: inherit;
}

image.png.3809d67451b3b5550387dd000058531b.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
On 3/9/2021 at 11:18 PM, lorenzovdg said:

Hi Bangank36, it worked perfectly!

Thanks so much for the support, have a nice day!

Lorenzo

I see on mobile, logo is left-aligned. You can add this to Design > Custom CSS to center it.

/* center footer logo */
@media screen and (max-width:640px) {
#footer .image-block-wrapper img {
    margin: 0 auto;
}
}

image.thumb.png.ec3e533eea45145c4674edd39b13e9f9.png

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.