Jump to content

Text Field Structure Spacing

Go to solution Solved by tuanphan,

Recommended Posts

  • Replies 12
  • Created
  • Last Reply

Top Posters In This Topic

Try adding to Design > Custom CSS

@media screen and (min-width:768px) {
div#block-117987cac4fb9d9629f7 span {
    float: left;
    min-width: 130px;
}
div#block-117987cac4fb9d9629f7 em {
    font-style: normal;
}}

 

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
58 minutes ago, hello_studiofrey said:

Hello @tuanphan 

Thank you very much for the code. 
It works like a charm in a desktop view but in a mobile view the text is the same like before in italic. 

Any ideas how to fix that?

Thank you very much!
Natasa

 

Use this new code

div#block-117987cac4fb9d9629f7 em {
    font-style: normal;
}
@media screen and (min-width:768px) {
div#block-117987cac4fb9d9629f7 span {
    float: left;
    min-width: 130px;
}
}

 

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
Posted (edited)

Hello @tuanphan

I have one more question - would it be possible, that the description text which goes over two lines always starts at same point like the first line? Please see the screenshot attached. I marked the starting point with the red line.

Thank you very much for your help!

Natasa

Screenshot 2023-06-29 at 09.04.14.jpg

Edited by hello_studiofrey
adding image
Link to comment

Hello @tuanphan 

I have one more question - would it be possible, that the description text which goes over two lines always starts at same point like the first line? Please see the screenshot attached. I marked the starting point with the red line.

Thank you very much for your help!

Natasa

Screenshot 2023-06-29 at 09.04.14.jpg

Link to comment

Did you use Shift Enter when enter new line? Because you used that, so difficult to solve problem.

See this video

  • You can recreate the text, and use Enter to break the line
  • Then make first text bold - next italic
  • Then let me know, we will check & give the new code

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
  • Solution
21 hours ago, hello_studiofrey said:

Hello @tuanphan

I just did all the adjustments you asked for.
 

Thank you again for you help!

Natasa

Use this new CSS code

@media screen and (min-width:768px) {
   div#block-117987cac4fb9d9629f7 p:not(:first-child) {
    margin-top: 5px;
    margin-bottom: 5px;
    display: flex;
}
div#block-117987cac4fb9d9629f7 p:not(:first-child) em {
    font-style: normal !important;
} 
}

image.thumb.png.c058bf4ece3dc7e8716e00a139f72869.png

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.