Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

Line spacing of FAQ page titles in mobile view


Go to solution Solved by bangank36,

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
  • Solution
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

Greeting, it's BaNgan from BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Portfolio hover Replace Link Style
If you find my answer fit your need, 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.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

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